troubleshooting Question

PAC file not working with Firefox

Avatar of failed
failed asked on
JavaScriptWeb BrowsersWindows Networking
1 Comment1 Solution2669 ViewsLast Modified:
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.
ASKER CERTIFIED SOLUTION
yelbaglf

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros