MozillaZine

Shortcut to toggle proxy

User Help for Seamonkey and Mozilla Suite
Psychonaut

User avatar
 
Posts: 81
Joined: April 7th, 2008, 3:56 am
Location: Vienna

Post Posted September 27th, 2019, 12:33 am

I normally browse through a direct connection to the Internet, but sometimes I need to access paywalled resources, for which I use a SOCKS proxy to my university. Turning the proxy on and off is rather tedious (i.e., first navigate to Edit->Preferences->Advanced->Proxies, then select either "Direct connection to the Internet" or "Manual proxy configuration" and press "Close"). Is there some way of toggling the proxy using a toolbar button or keyboard shortcut?

I found a few add-ons but from their descriptions it's not clear to me that they do what I need. Proxy Privacy Ruler seems to enable proxies in private windows only, not on demand. Toggle Proxy claims to add a button that can "toggle between two proxies" (which is not what I want, unless "no proxy" counts as a proxy), and moreover doesn't seem to be available for SeaMonkey. Proxy Tool is sufficiently complex that it might be configurable to toggle a single proxy, but it too is not available for SeaMonkey.

TPR75
 
Posts: 796
Joined: July 25th, 2011, 8:11 am
Location: Poland

Post Posted September 27th, 2019, 1:16 am

Psychonaut wrote:Is there some way of toggling the proxy using a toolbar button or keyboard shortcut?


For changing proxy type (direct connection or e.g. manual configuration) is responsible one preference:
Code: Select all
network.proxy.type


I think "Custom Buttons" can be used to toggle this settings:
viewtopic.php?p=14742910#p14742910

Sorry! I don't have time for more tests so there will be this hit only.

Psychonaut

User avatar
 
Posts: 81
Joined: April 7th, 2008, 3:56 am
Location: Vienna

Post Posted September 27th, 2019, 1:56 am

TPR75 wrote:For changing proxy type (direct connection or e.g. manual configuration) is responsible one preference:
Code: Select all
network.proxy.type


I think "Custom Buttons" can be used to toggle this settings:
viewtopic.php?p=14742910#p14742910

Unfortunately, the Custom Buttons add-on doesn't seem to work for me, even after converting it. The SeaMonkey error console throws up all kinds of errors when I try to add or edit a button ("TypeError: oBtn._handlers is undefined", "TypeError: winButton.destroy is not a function", "TypeError: can't convert undefined to object", etc.). Clicking on the button in the toolbar seems to have no effect.

Can you or anyone else recommend another add-on that enables one to create a button or keyboard shortcut for toggling a preference?

LIMPET235
Moderator

User avatar
 
Posts: 38835
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Post Posted September 27th, 2019, 3:16 am

Moving this to SeaMonkey Support...
Ancient Amateur Astronomer
Win-7-HP/IntelĀ® DualCore-2.0GHz/500G HDD/4 Gig Ram/550Watt PSU/350WattUPS/Firefox-20.0-62.0-70.0/T-bird-2.0.0.24/SnagIt-v10.0.1/MWP-7.12.
(Always choose the "Custom" Install.)

hardys
 
Posts: 133
Joined: August 7th, 2015, 9:15 am

Post Posted September 27th, 2019, 5:58 am

You can try Prefbar. Here you can set custom buttons for enable/disable proxy or choose your proxy fav from a dropdown list.
http://prefbar.tuxfamily.org/archive.html

Return to SeaMonkey Support


Who is online

Users browsing this forum: Bing [Bot] and 2 guests