rem: var http = document.getElementById("networkProxyHTTP"); var httpPort = document.getElementById("networkProxyHTTP_Port"); var httpValue = http.value; var httpPortValue = httpPort.value; if (httpValue && httpPortValue && parseInt(httpPortValue) > 0) { var ftp = document.getElementById("networkProxyFTP"); var gopher = document.getElementById("networkProxyGopher"); var ssl = document.getElementById("networkProxySSL"); var ftpPort = document.getElementById("networkProxyFTP_Port"); var gopherPort = document.getElementById("networkProxyGopher_Port"); var sslPort = document.getElementById("networkProxySSL_Port"); ftp.value = httpValue; gopher.value = httpValue; ssl.value = httpValue; ftpPort.value = httpPortValue; gopherPort.value = httpPortValue; sslPort.value = httpPortValue; } 
add: if (shareSettings.getAttribute("value") != "true") return;  ftp.setAttribute("value", http.value); ssl.setAttribute("value", http.value); gopher.setAttribute("value", http.value);  ftpPort.setAttribute("value", httpPort.value); sslPort.setAttribute("value", httpPort.value); gopherPort.setAttribute("value", httpPort.value); 
context: function DoProxyCopy(){  var http = document.getElementById("networkProxyHTTP");  var httpPort = document.getElementById("networkProxyHTTP_Port");  var httpValue = http.value;  var httpPortValue = httpPort.value;  if (httpValue && httpPortValue && parseInt(httpPortValue) > 0) {    var ftp = document.getElementById("networkProxyFTP");    var gopher = document.getElementById("networkProxyGopher");    var ssl = document.getElementById("networkProxySSL");    var ftpPort = document.getElementById("networkProxyFTP_Port");    var gopherPort = document.getElementById("networkProxyGopher_Port");    var sslPort = document.getElementById("networkProxySSL_Port");    ftp.value = httpValue;    gopher.value = httpValue;    ssl.value = httpValue;    ftpPort.value = httpPortValue;    gopherPort.value = httpPortValue;    sslPort.value = httpPortValue;  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/23d7b616b9c12648f1b6bb5aac4f43761c2f0fcf/pref-proxies.js/clean/suite/common/pref/pref-proxies.js