Automatic Proxy settings for Mozilla Firefox for all the users in windows | Nagarams Blog

Monday 23 June 2014

Automatic Proxy settings for Mozilla Firefox for all the users in windows

Rate this Post:

Automatic Proxy for Mozilla Firefox for all the users in windows OS:


Some times we set the proxy in Mozilla by manually entering the details (Like IP and Port address) .But, in the case of clients we have to move to the client desktop and has to process the same as server.It's very difficult if the no.of clients are more.so here is the procedure to setup the proxy for all the users in Mozilla Firefox only right from your desk.


copy and paste the below script into your notepad

--------------------------------------------------------------------------------------------

cd /D "%APPDATA%\Mozilla\Firefox\Profiles"
cd *.default*
set ffile=%cd%
echo user_pref("network.proxy.http", "YOUR IP HERE with in quotes (Ex:192.168.0.1) ");>>"%ffile%\prefs.js"
echo user_pref("network.proxy.http_port", YOUR PORT ADDRESS HERE with out quotes(ex:3128));>>"%ffile%\prefs.js"
echo user_pref("network.proxy.type", 1);>>"%ffile%\prefs.js"
echo user_pref("network.proxy.share_proxy_settings", true);>>"%ffile%\prefs.js"
echo user_pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");>>"%ffile%\prefs.js"
set ffile=
cd %windir%

-----------------------------------------------------------------------------------------

You can Download the .BAT file here

//save this file as .bat file and place in the "startup programs" folder: strt-->right click--->open all users-->programs-->startup
(OR)

//C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup

//change the proxy IP and PORT according to your's

For any quires feel free. please comment on this post

No comments :

Post a Comment