How to quick switch OSX proxy on/off? I use SwitchySharp to quick switch between multi-proxies under  Chrome broswer.

Now I want to move to Safari(I love its "Tap to Zoom" feature), but SwitchySharp only works in Chrome, there is no a counterpart in Safari extension.

So I wonder if there is a system level quick proxy switcher script or free app?
Have you tried using the Locations feature?


Go to System Preferences > Network,
Click on the "Location" dropdown menu,
Choose "Edit Locations",
Click on the add button and give the location a name.  I would suggest you give it a name that's related to the proxy,
Now that you've setup a new location, go through the networking configuration, ensuring you set the relevant proxy setting under the "Proxies" tab, which can be found under the Ethernet/WiFi adapter settings > Advanced.


Repeat steps 1-5 for each proxy.

Once you've finished, you can quickly switch between each proxy by clicking on the Apple icon (located at the top left of your screen) and going to "Location".  Once the Location menu expands, you should see all your different locations, which have the relevant proxy settings within them.  Clicking on the locations will change the proxy settings your Mac uses.