Automatic Proxy Configuration on Opera, Firefox & IE(Chrome).
Thursday, August 26, 2010 2:17:50 PM
Today I found an interesting symptom, that was the same pac file works perfectly with Opera, but took no effect in Firefox. After about 1 hour's test, I got the reason, which is the file encoding. Opera can support UTF-8 encoded pac file, but Firefox/IE not. I re-encode the file in ANSI, and then Firefox works.
IE and Chrome use the same proxy setting, the format of pac file address is slightly different from of which is in Firefox and Opera. For example, I have a pac file stored in path "I:\Backup\autoproxy.pac".
It should be written in IE as:
Useful link: http://en.wikipedia.org/wiki/Proxy_auto-config
IE and Chrome use the same proxy setting, the format of pac file address is slightly different from of which is in Firefox and Opera. For example, I have a pac file stored in path "I:\Backup\autoproxy.pac".
It should be written in IE as:
file://I:\Backup\autoproxy.pacBut the format in Firefox is:
file:///I:/Backup/autoproxy.pacIn Opera:
file://localhost/I:/Backup/autoproxy.pacIncorrect path format will make it no effect!
Useful link: http://en.wikipedia.org/wiki/Proxy_auto-config


