As Apple introduce extension support in Safari 5, I want to make an extension that manage proxy settings directly in the browser (like AutoProxy for Firefox or Proxy Switchy for Chrome).
I skimmed the source code of Proxy Switchy. It is mainly written in Javascript/HTML, but uses an external binary bundle to do proxy switching. Is this scheme doable in Safari extension? If not, is there other way to manage proxy settings in the extension?
The solution is simple - either fix the proxy server, or click the Proxies button in Safari Preferences -> Advanced and set the proxy server setting accordingly (which may be 'off', depending on your needs).
From the Home Screen, select Settings, then Wi-Fi. Select the blue right arrow button on your network. Scroll down to the bottom of the page and turn on the HTTP Proxy.
Select Safari from the top menu and click Preferences... Select the Advanced icon from the top list and click Change Settings... This will open the Proxies section of the Network Preferences. Nothing should be checked in here; if it is, remove the check mark and click OK.
I am having exactly same question although it is almost 2016 already and I am using Safari 9.0.2. It seems that Apple does not provide such an API for defining browser-specific proxy in extensions as Google does for Chrome. So I guess one would have to deal with system-wide proxy settings, that is to find solutions for setting up app-specific proxy.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With