FelisCatus / switchysharp

Automatically exported from code.google.com/p/switchysharp
GNU General Public License v3.0
140 stars 50 forks source link

To assign a proxy to one tab or window and a different to another. #962

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
*Note* : If you want to know how to config or operate, please use the "Help
me" template instead.
*Note* : Please ensure that you are using the newest version of
SwitchySharp plugin. You can update it by clicking the "Update Extension"
button in the "Developer mode" section in the extension management page.

----------

What enhancement do you suggest? (e.g. New function or features.)
Please provide as much details as possible.
Basically a means to use different proxies in different tabs or windows and not 
the entire browser. 
Per now changing the proxy changes the proxy for the entire browser, but often 
I need to have open several tabs that need to use different proxies(or none at 
all).

Do you urgently need this enhancement?
Urgency: (High, Medium, Low)
High - I need this to be able to work efficiently

Do you think this enhancement is important to the project?
Importance: (High, Medium, Low)
High - It greatly expands the usability of the extension and brings a 
functionality that is rare on the market.

Thanks for your support.
The project members may request more info about the suggestion, or mark the
issue as "Fixed". Please check your email for updates on this issue.

Original issue reported on code.google.com by user8...@gmail.com on 30 May 2014 at 9:31

GoogleCodeExporter commented 9 years ago
This is not possible because SwitchySharp is based on PAC scripts, which know 
nothing about tabs. Yes, tab-based proxy switching is rare on the market 
because nobody attempts to do so.

You can use the AutoSwitch mode, if you visit different websites in different 
tabs. Just add rules to tell SwitchySharp which proxy should a website be 
visited through.
For now, the "add rule" item in the popup menu only adds the URL of the webpage 
itself. In the future, there could be a better way to add rules for all the 
resources in one page.

I usually use two different Chrome users, each with SwitchSharp installed. This 
allows different configurations for each user. I can open one window for each 
user, and the tabs in two windows are using their respective proxy profiles.

Different proxy configurations are also possible for the Incognito mode. 
Implementation of this feature is already in progress and will be done in 2.x. 
This allows incognito windows to use different proxies than all "normal" 
windows, effectively allowing two set of configurations for each Chrome user.

Original comment by shyc2...@gmail.com on 31 May 2014 at 5:36