About

Welcome to Panela, Matt Harrison's take on mostly Open Source, Linux, Python, innovation in those areas, other buzzwords and Dick Proenneke. It comes complete with the illustrations as needed. Note the opinions expressed here are merely my opinions and not the opinions of my employer.

about Matt

Calendar

««Nov 2009»»
SMTWTFS
1234567
8910
11
12
1314
151617
18
192021
22232425262728
2930

Mailing List

My RSS Feeds








Take care when emulating IE under Firefox

posted 2006.06.28 Wed
I came accross one of those annoying sites yesterday that refused to serve pages to me because I was using firefox. (Even more annoying since I didn't happen to notice any activex junk). So I told firefox to spoof Internet Explorer. It appeared to work until firefox came crashing down (that's annoying since I tend to have about 20 browsers/tabs going at once). I was running Session Saver which usually helps in cases like these, but upon re-launch firefox immediately crashed again. And continued to do so upon subsequent launches. So I ran firefox from the command line and saw the following:
$ firefox
/usr/libexec/mozilla-launcher: line 339: xdpyinfo: command not found
No running windows found
INTERNAL ERROR on Browser End: Expected a version > 5! Version = 4

System error?:: Success
firefox-bin exited with non-zero status (255)

I googled (using konqueror) for "INTERNAL ERROR on Browser End: Expected a version > 5! Version = 4" and came across a mailing list archive that notes the solution (as well as documents a two year old issue). The solution is to find the pref.js (find ~/.mozilla |grep prefs.js) file and remove the line containing
user_pref("general.useragent.override", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)");
I'm now surfing with firefox and all its adblock goodness again. Note: Said website that was crashing firefox also crashed on my in-laws windows machine (when using IE)...

tags:      

links: digg this    del.icio.us    reddit