I found the script to run proxy on FireFox with proxy here:
Code:
VERSION BUILD=6240709 RECORDER=FX
TAB T=1
TAB CLOSEALLOTHERS
CLEAR
URL GOTO=about:config
'some proxies are slow, set the timeout to 90 seconds:
URL GOTO=javascript:gPrefBranch.setIntPref("network.http.keep-alive.timeout",600);
URL GOTO=about:config
'set the proxy URL
URL GOTO=javascript:var<SP>prefb<SP>=<SP>Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);var<SP>str<SP>=<SP>Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);str.data<SP>=<SP>"{{IP}}";prefb.setComplexValue("network.proxy.http",<SP>Components.interfaces.nsISupportsString,<SP>str);
URL GOTO=about:config
'set the proxy port:
URL GOTO=javascript:gPrefBranch.setIntPref("network.proxy.http_port",{{port}});
'share proxy settings:
URL GOTO=about:config
'turn the proxy on
URL GOTO=javascript:gPrefBranch.setBoolPref("network.proxy.share_proxy_settings",true);
URL GOTO=about:config
'turn the proxy on
URL GOTO=javascript:gPrefBranch.setIntPref("network.proxy.type",1);
Just change IP and PORT with a proxy
I tested and it worked
But now, I want to change SOCK only, I don't want to run proxy, so how do I edit the script to change SOCK only?
Thanks you!
Bookmarks