Link to home
Start Free TrialLog in
Avatar of 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(), "", ""))
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.
Avatar of yelbaglf
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial