How to setup a Javascript Auto-Proxy script for Internet Explorer

Scenario

You have a Main Office and several Branch Offices in your company. You use proxy servers (like Squid) in every office to save bandwidth and increase browsing performance.

However, your mobile users often call in reporting they cannot access the internet when outside the office.

You once again remind them how to untick the “Use a proxy server for your LAN” setting in Internet Explorer; all the while dreaming of a better solution.

Here’s one such solution:

[Read more…]