PAC File and Proxy Auto Switch for Firefox IE11 and Chrome
I’m using my working laptop after work at home currently before my PC DIY finished and new RMBP reveled. At work we need to access internet via internal proxy servers and after work just connect laptop directly to the wireless router to access web. It’s really boring to turn proxy off at home and enable it when I go to work. So I try to use PAC(Proxy Auto Config) file to choose proxy server or connect directly to the web according to my LAN IP address.
From wikipedia when can know that what PAC file is:
FindProxyForURL(url, host). This function returns a string with one or more access method specifications. These specifications cause the user agent to use a particular proxy server or to connect directly.
So I just need to customize my
FindProxyForURL to check my local IP address. If my laptop’s local IP address is normal home used wireless...
Continue reading →