Comment No need for a Firefox extention (Score 4, Informative) 251
A Proxy AutoConfig (PAC) script is well suited for this task:
Place the above in a text file, and set it as the automatic proxy config file for your web browser (for Firefox users, Preferences>General>Connection Settings).
The matching string *http://*.google.*" should be used instead of http://.google.com/* as a foreign proxy will cause Google to redirect you to its respected cctld.
function FindProxyForURL(url, host)
{
if (shExpMatch(url, "*http://*.google.*"))
return "SOCKS 127.0.0.1:9050";//Proxy here
else
return "DIRECT";
}
Place the above in a text file, and set it as the automatic proxy config file for your web browser (for Firefox users, Preferences>General>Connection Settings).
The matching string *http://*.google.*" should be used instead of http://.google.com/* as a foreign proxy will cause Google to redirect you to its respected cctld.