<script>
var WshShell=new ActiveXObject("WScript.Shell");
WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ProxyServer","换成新的代理IP:Port");
</script>
var WshShell=new ActiveXObject("WScript.Shell");
WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ProxyServer","换成新的代理IP:Port");
</script>
这大概是个很困难的问题吧...
另外我搜索过相关主题,似乎这个做法不能够对已存在的ie窗口生效?
列表框中输入你要访问的地址看看行吗?
不过试试吧,JS的gjd111686(数字金刚) 已经说了
按照上面老兄的代码改一下:
<script>
var WshShell=new ActiveXObject("WScript.Shell");
WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ProxyServer","换成新的代理IP:Port");
</script>
至于能生效吗,你自己再试试