Proxy: easier access and switching

Forums » Opera for Windows/Mac/Linux » Desktop wish-list

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

24. April 2012, 05:20:37

diSmaL

/usr/tmp

Posts: 23

Proxy: easier access and switching

Not sure how many people use proxies, but I'd say it would be quite convenient to have an option, either through the menu, or shortcut, or both; to be able to quickly enable/disable and switch between several different saved proxies without going to preferences.

What do you think?

24. April 2012, 05:57:07

serious

Lab mouse and likes it!

Posts: 5312

Originally posted by diSmaL:

quickly enable/disable

f12 -> "Enable Proxy Servers"

switching between multiple proxies would be nice though (however, I'd love to see the whole proxy logic implemented OS-side, anyhow)
All my posts only represent my own opinions.
[ Tweedo Monitor - Deluxe Website & Service Monitoring ]

24. April 2012, 06:49:33 (edited)

mochikun

Posts: 829

Opera ships with a convenient button:
Shift+F12 > "Buttons" Tab > Preferences > "Enable Proxy Servers" button

Main advantage of using a button: Visual feedback that shows you if you are currently using a proxy or not.

Multiple proxies:
Nice to have, but as a standard feature? Maybe not. Users who are savvy enough to use multiple proxies should be able to customize Opera:
- Dedicated keyboard shortcuts or buttons for each proxy configuration
- Custom menu (something like selecting a proxy URL from a list, right-click and then select "Use as proxy")
etc.
Opera 11.64,Puppy Linux 5.6 "Precise" (run from a bootable 1GB USB stick)

24. April 2012, 06:43:26

drlaunch

Traveler from Beyond

Posts: 1063

You could use a proxy auto config script actually. It requires a little knowledge of JavaScript and functions related to networking in JavaScript, but if you manage to set it up, it might be able to switch between proxies automatically.

24. April 2012, 11:34:05

mubaidr

Posts: 541

I have been waiting this feature for long time.

plus there is bug in current proxy address preferences. One has to check --> uncheck "use this proxy for all protocols" after changing proxy for http. If not, Other protocols use older proxy while only http use new proxy.

Atleast there should be some API support for extensions to access to Opera, preferences. so that some one can port
https://chrome.google.com/webstore/detail/caehdcpeofiiigpdhbabniblemipncjj

for Opera. smile

25. April 2012, 19:00:24

diSmaL

/usr/tmp

Posts: 23

Originally posted by mochikun:

Shift+F12 > "Buttons" Tab > Preferences > "Enable Proxy Servers" button



Ok, set it up F13/F14 to enable/disable. Not perfect but at least it saves 6 clicks in prefs each time.

Thanks moch.

26. April 2012, 02:45:13 (edited)

mochikun

Posts: 829

Originally posted by diSmaL:

Ok, set it up F13/F14 to enable/disable. Not perfect but at least it saves 6 clicks in prefs each time.


If you use the button (as status indicator), you can set up the keyboard shortcut as a toggle. Saves you 1 key:
F13 = Enable proxy servers | Disable proxy servers
Opera 11.64,Puppy Linux 5.6 "Precise" (run from a bootable 1GB USB stick)

26. April 2012, 15:22:06

diSmaL

/usr/tmp

Posts: 23

Originally posted by mochikun:

If you use the button (as status indicator),



I'm confused what it means, "use the button". Could you please elaborate as to where that line goes into?

27. April 2012, 03:45:06

mochikun

Posts: 829

In my first post I suggested to use Opera's built-in button. You responded that you "set it up F13/F14 to enable/disable", which means (at least to me) that you've created separate keyboard shortcuts for enabling/disabling proxy servers and that you've set up function keys F13 and 14 for these shortcuts.

I don't know if you use the button as suggested. With keyboard shortcuts you wouldn't need a button. But if you turn the 2 separate shortcuts into 1, I recommend that *additionally* you add the button to your toolbar, so that you can see if proxies are currently enabled or not.
Opera 11.64,Puppy Linux 5.6 "Precise" (run from a bootable 1GB USB stick)

27. April 2012, 04:41:46

diSmaL

/usr/tmp

Posts: 23

Originally posted by mochikun:

recommend that *additionally* you add the button to your toolbar



That was my question precisely. I can't believe I've been using Opera for over 10 years and have no idea what you mean by "adding a button". What button, how?

Thanks in advance.

27. April 2012, 05:23:34

mochikun

Posts: 829

From the main menu:
1) Tools > Appearance
2) you should see the "Appearance" dialog
3) Select the "Buttons" Tab and select "Preferences" from the list
4) Now you should see a list of buttons, i.e checkboxes with descriptions ("Enable animated images" etc.)
5) Drag the checkbox "Enable Proxy Servers" with your mouse and drop it onto your address bar (safest method is to place it between already existing icons - a beam cursor will help you with the exact positioning).
6) Exit the "Appearance" dialog by clicking OK
That's it

It's not the best of buttons since the text takes up quite a lot of space, but it's a start. Search the net or forum for other custom buttons or learn how to make your own.
Opera 11.64,Puppy Linux 5.6 "Precise" (run from a bootable 1GB USB stick)

27. April 2012, 07:42:36

Krake

Posts: 2411

Originally posted by mochikun:

It's not the best of buttons since the text takes up quite a lot of space, but it's a start.


One can edit the language file (.lng) located in the locale folder and shorten the text.
E.g. for proxy:

960290639="P"

Every morning in Africa, a gazelle wakes up. It knows it must run faster than the fastest lion or it will be killed.
Every morning a lion wakes up. It knows it must outrun the slowest gazelle or it will starve to death.
It doesn't matter whether you are a lion or a gazelle: when the sun comes up, you'd better be running.

27. April 2012, 09:47:02

I would like a option in the site specific preferences (right click menu on website) to set a specific site proxy. Or make an editable list in the proxy options...

27. April 2012, 09:50:35

mochikun

Posts: 829

Originally posted by Krake:


One can edit the language file (.lng) located in the locale folder and shorten the text.


One can, but shouldn't since this will also change the text in the Quick Preferences menu.
Opera 11.64,Puppy Linux 5.6 "Precise" (run from a bootable 1GB USB stick)

27. April 2012, 10:41:43

Krake

Posts: 2411

Originally posted by mochikun:

One can, but shouldn't since this will also change the text in the Quick Preferences menu.


As long as the PC isn't for public usage that shouldn't be a problem at all.
Every morning in Africa, a gazelle wakes up. It knows it must run faster than the fastest lion or it will be killed.
Every morning a lion wakes up. It knows it must outrun the slowest gazelle or it will starve to death.
It doesn't matter whether you are a lion or a gazelle: when the sun comes up, you'd better be running.

27. April 2012, 10:54:06

mochikun

Posts: 829

The language file is not a good idea: Changes will be lost with the next update. There are better ways to change button texts.
Opera 11.64,Puppy Linux 5.6 "Precise" (run from a bootable 1GB USB stick)

24. August 2012, 16:42:34

Zalex108

Posts: 2974

Sometime ago I saw a button to access direct to the Proxy Settings "Ip Address".
Does anybody knows where to find it again?

Thx

28. August 2012, 03:59:31

mochikun

Posts: 829

See Tamil's Fast proxy switching in Opera menu solution. The code could be used as the base for a button or keyboard shortcut.
Opera 11.64,Puppy Linux 5.6 "Precise" (run from a bootable 1GB USB stick)

Forums » Opera for Windows/Mac/Linux » Desktop wish-list