[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Safari proxy switch applescript
- To: or-talk@xxxxxxxx
- Subject: Safari proxy switch applescript
- From: "Christopher Soghoian" <csoghoian@xxxxxxxxx>
- Date: Thu, 26 Oct 2006 00:21:37 -0400
- Delivered-to: archiver@seul.org
- Delivered-to: or-talk-outgoing@seul.org
- Delivered-to: or-talk@seul.org
- Delivery-date: Thu, 26 Oct 2006 00:22:03 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FrbtxJSqdNA1MTNltn3sRLCDvjhBnhwrFcv8huEFRgIUmvlEtFTLzOKM0qVA529oOwxs8IWj3TkCO+q9YvJrGI/3HotEfFUlaqNGz0zwwMKTta1ALcmSrk2I3ZkMhWoVNw1EUGY7nSMRsvpZRaF0TSbR3d5FoJPy+QdmFCRzTeo=
- In-reply-to: <739a4fd80610231716p61280527mde67dab7f6eeb17c@mail.gmail.com>
- References: <739a4fd80610231716p61280527mde67dab7f6eeb17c@mail.gmail.com>
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-talk@xxxxxxxxxxxxx
Hi Guys,
In response to a request from Paul Syverson, I fixed up an applescript
I found online
to work with the latest version of Mac OSX.
Safari does not have its own proxy settings, and instead, uses
whatever the OS is using. This script toggles the settings between
either no proxy, or the localhost privoxy proxy - and is thus,
something akin to "Tor Button" for Safari.
The script can be found here:
http://www.dubfire.net/scripts/switch-proxies-mac.scpt
An application version of the script (that just requires a double
click to run) can be found here:
http://www.dubfire.net/scripts/switch-proxies-mac.app
To get the script to work, you must set the "Enable access for
assistive devices" feature in the "Universal Access" system
preference.
If you install the Applescript Menu
(http://www.apple.com/applescript/scriptmenu/),
you may find it easier to launch the script from within safari.
I'm happy to fix up the script a bit more, if I get any feedback from others.
Cheers
Chris