IE, Chrome and Firefox script to enable or disable proxy settings

Source: Internet
Author: User

For IE and Chrome set, the proxy server up on IE and close ie.

Create and new texts file and copy the following into it:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable" =dword:00000001

File Save As Proxy.reg then change "proxyenable" =dword:00000001 to "proxyenable" =dword:00000000 and file Save as NOPROXY.R eg

IE and Chrome is done just double click Proxy.reg if your want the proxy server and Noproxy.reg if you don t.


Firefox need to configure the proxy settings and close Firefox.

Create a new text file and copy the following into it:

//
//User.js:Personal prefs which Mozilla shouldn ' t Overwrite.
//

User_pref ("Network.proxy.type", 1);

File Save As Ffproxy.txt the change user_pref ("Network.proxy.type", 1), to User_pref ("Network.proxy.type", 0) and then fi Le Save as Noffproxy.txt

Now comes the hard part of the Firefox, these files need to being copied in the same place as Your prefs.js directory and renamed to User.js depending on what you want. If you want the proxy server is enabled then need to rename Ffproxy.txt to user.js in the same directory as Prefs.js
Br>copy C:\users\ \appdata\roaming\mozilla\firefox\profiles\.default\ffproxy.txt to C:\Users\AppData\Roaming \mozilla\firefox\profiles\ .default\user.js

To disable copy noffproxy.txt

Copy c:\users\ \ Appdata\roaming\mozilla\firefox\profiles\.default\noffproxy.txt to C:\Users\AppData\Roaming\Mozilla\Firefox\ Profiles\ .default\user.js

IE, Chrome and Firefox script to enable or disable proxy settings

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.