Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Use a specific proxy connection with Chrome Web Browsers
I need to connect to a specific proxy server to access my university library services. I find it convenient to keep Safari for direct connections to the Internet, and another browser configured for access to the library via the proxy.

Firefox allows manual proxy configuration, but doesn't handle PDF downloads correctly from all journal suppliers' sites. Chrome handles the PDF downloads correctly, but there is no obvious way to specify a proxy in its preferences.

Extrapolating from a published hint for Windows, I found that launching Chrome from the command line while passing it --proxy-server=host#:port# works. There is nothing I could find in Chrome's help pages, or on the web, that addresses this issue, so it may be useful. In Terminal, the final command looks like this:
open -a /Applications/Google Chrome.app --args --proxy-server=host#:port#
Replace host# and port# with the host and port numbers that you need to use.

[robg adds: I haven't tested this one.]
    •    
  • Currently 3.00 / 5
  You rated: 5 / 5 (17 votes cast)
 
[45,349 views]  

Use a specific proxy connection with Chrome | 5 comments | Create New Account
Click here to return to the 'Use a specific proxy connection with Chrome' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use a specific proxy connection with Chrome
Authored by: stephenr on Feb 17, '10 02:35:53PM

Surely a better solution than this, would be to create a proxy PAC file which tells the browser to use the Proxy for the specific site that needs it, and to go direct for others.



[ Reply to This | # ]
Use a specific proxy connection with Chrome
Authored by: proffesor on Feb 17, '10 02:48:16PM

Chrome seems to use the Mac OS X system proxies, if they are set. Go to System Preferences, Network, Advanced, and then Proxies.

The problem is that this will affect to Safari too, so it won't help you, but it may help someone else!



[ Reply to This | # ]
Use a specific proxy connection with Chrome
Authored by: petersendidit on Feb 17, '10 09:21:53PM
You could also use the chrome extension Proxy Switchy! Works very much like FoxyProxy letting you set up rules on which proxy to use based on a domain. They just added Mac support a few days ago.

[ Reply to This | # ]
Use a specific proxy connection with Chrome
Authored by: b.leopard on Feb 18, '10 04:18:12AM
Why not use GlimmerBlocker? Ok, first of all it's intention is ad-blocking, but in fact it's much more than an ad-blocker and one of it's feautures is the ability to define URL-specific proxies. Just follow the instructions, add the domain of your university library services as new rule and you're done.
And best of all: GlimmerBlocker is a systemwide service and independent from the browser, so it works in FF, Safari, GC, ... - and it's free!

[ Reply to This | # ]
Use a specific proxy connection with Chrome
Authored by: Cobalt Jacket on Feb 18, '10 08:07:22AM
Furthermore, if you're using a SOCKS5 proxy (or are using "ssh -D", then you need to use the following syntax:

open -a /Applications/Google Chrome.app --args --proxy-server="socks5://host#:port#"

[ Reply to This | # ]