Back to top

How to make Proxy Switchy! work again after the latest Chrome update on Linux

The latest Chrome update (for me it was Google Chrome 14.0.794.0 dev) broke Proxy Switchy! extension. Below is the fix on Linux (Ubuntu):
0.) Select Auto Switch Mode on Switchy!

1.) Go to Chrome Preferences -> Under the Hood -> click Change Proxy Settings -> click Auto Proxy Configuration
It looks like "file:///home/skyred/.config/google-chrome/Default/Extensions/caehdcpeofiiigpdhbabniblemipncjj/1.6.3_0/plugins/SwitchyAuto.pac?1308504284104so"

2.) Delete the random string after the file extension "pac", so it will look like "file:///home/skyred/.config/google-chrome/Default/Extensions/caehdcpeofiiigpdhbabniblemipncjj/1.6.3_0/plugins/SwitchyAuto.pac"

3.) Edit the file "/home/skyred/.config/google-chrome/Default/Extensions/caehdcpeofiiigpdhbabniblemipncjj/1.6.3_0/plugins/SwitchyAuto.pac" from step 2 (You can do this by opening a terminal and enter
nano /home/skyred/.config/google-chrome/Default/Extensions/caehdcpeofiiigpdhbabniblemipncjj/1.6.3_0/plugins/SwitchyAuto.pac

4.) Delete any random text after function FindProxyForURL(url, host) {...} (this is important, delete any text after the closing bracket "}").

5.) Close and Reopen Chrome, the auto switchy should work now.

Comments

Still not working

Comment: 

I have followed the steps above, but the random text automatically suffixes itself onto the back of the SwitchyAuto.pac after explicitly deleting it. :(

Thanks

Comment: 

I was pulling my hair out over this one. However I got mine working by following # 1,2,5 I didn't have the files you listed in 3,4. Or maybe I do but they're listed differently or whatever,I'm no expert.

But it works now! Thanks!

Thanks a lot

Comment: 

The same issue also happened in Debian. The same solution applies, you just need to look into ~/.config/chromium/ instead.

Thanks again.

Thanks so much

Comment: 

I really appreciate you posting this on the Internet. This fixed my problem. The extension hasn't been updated in awhile, has anyone contacted the author so other non-geeks can fix this?

Thanks

Comment: 

Brilliant fix! Why don't you fork the extension with your fix and put it up on the market until the original author decides to actually fix this?

new dir

Comment: 

C:\Users\M\AppData\Local\Google\Chrome\User Data\Default\Extensions\caehdcpeofiiigpdhbabniblemipncjj\SwtichyAuto.pac

Hi Skyred,

Comment: 

Hi Skyred,
Thank you man, it's really working solution.

Add new comment