failed
asked on
PAC file not working with Firefox
Hi Experts,
I have a PAC file that works perfectly with IE9 and Chrome, however doesn't work with Firefox.
The issue appears to be related to the following code:
if (isInNet(myIpAddress(), "192.168.1.0", "255.255.255.0"))
return "PROXY proxy1:8080";
If I remove this section, and simply use:
return "PROXY proxy1:8080";
it works fine across all three browsers but I lose the functionality of detecting the client's subnet.
It could be a bug in Firefox looking at some Google results.
Can anyone suggest a workaround or alternative method for detecting the subnet? We have three locations with different subnets and different proxies, and roaming users between these sites, so I want the client to use the appropriate proxy at each location.
I have a PAC file that works perfectly with IE9 and Chrome, however doesn't work with Firefox.
The issue appears to be related to the following code:
if (isInNet(myIpAddress(), "192.168.1.0", "255.255.255.0"))
return "PROXY proxy1:8080";
If I remove this section, and simply use:
return "PROXY proxy1:8080";
it works fine across all three browsers but I lose the functionality of detecting the client's subnet.
It could be a bug in Firefox looking at some Google results.
Can anyone suggest a workaround or alternative method for detecting the subnet? We have three locations with different subnets and different proxies, and roaming users between these sites, so I want the client to use the appropriate proxy at each location.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.