The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features
See the new ForumsYou need to be logged in to post in the forums. If you do not have an account, please sign up first.
Proxy auto config
I just switched from Firefox to Opera. Awesome, everything works fine (and better).I got a proxy config for my university that is something like wproxy.ict.uniba.it 80
Anyway firefox got an option called "Find automatically proxy config", without giving a pac file as input, so I don't have the problem to switch on/off this option once I get home.
If opera keeps proxy config while I'm home, it does not work (obviously)
...and yes, I've been searching through the forum.
Is there any "pac" file that does the work? or extension?
thanks
You have to use something like this
how to set in settings look here
function FindProxyForURL(url, host)
{
// change 192.168.0.0 to your university subnet and appropriate net-mask
if ( isInNet(host, "192.168.0.0", "255.255.255.0")
|| shExpMatch( host, "127.*" )
|| shExpMatch( host, "localhost" )
|| shExpMatch( host, "*.ict.uniba.it" )
|| isPlainHostName( host )
|| dnsDomainIs( host, ".ict.uniba.it" )) {
return "DIRECT";
} else {
return "PROXY wproxy.ict.uniba.it:80";
}
}
how to set in settings look here
sorry i forgot that you want to use same pac-file for home and university
Here will correct
Also good examples and explanations
Here will correct
function FindProxyForURL(url, host)
{
// change 192.168.0.0 to your university subnet and appropriate net-mask
// ict.uniba.it here is your university local DNS domain
if ( isInNet(host, "192.168.0.0", "255.255.255.0")
|| shExpMatch( host, "127.*" )
|| shExpMatch( host, "localhost" )
|| shExpMatch( host, "*.ict.uniba.it" )
|| isPlainHostName( host )
|| dnsDomainIs( host, ".ict.uniba.it" )) {
return "DIRECT";
} else {
if (isInNet(myIpAddress(), "192.168.0.0", "255.255.255.0"))
return "PROXY wproxy.ict.uniba.it:80";
} else {
return "DIRECT";
}
}
}
Also good examples and explanations