
disable the no proxies in autoconfig
Hi All
i want to disable the no proxy for firefox so i follow the instruction from https://www.youtube.com/watch?v=_O1b48jDg7o i have created a firefoxconfig.cfg with configuration below :
lockpref("network.proxy.no_proxies", "localhost, 127.0.0.1","*.server.local"); lockpref("network.proxy.share_proxy_settings", true); lockpref("network.proxy.type", 5);
the firefoxconfig.cfg stored in C:\Program Files\Mozilla Firefox
then i created another js with configuration below in C:\Program Files\Mozilla Firefox\defaults\pref
pref("general.config.obscure_value", 0); pref("general.config.filename", "firefoxconfig.cfg");
but the no proxy is still allowed to use instead of disabled as shown in the youtube video
any improvement needed ? kindly advise
Все ответы (1)
You should have all hosts in one comma separated string (""), so simply extend the current list.
Note that lockPref() is with a capital 'P', it is a function and errors throw an exception.
lockPref("network.proxy.no_proxies", "localhost, 127.0.0.1, *.server.local"); lockPref("network.proxy.share_proxy_settings", true); lockPref("network.proxy.type", 5);
You will probably see error messages in the Browser Console about these errors.