March 20, 2007

firefox user agent

Ok, this is really a note to myself, but it may help somebody else.

Anyway, WebCT Vista didn't support firefox 1.5 last year, so I had to spoof the user agent string to bypass the stupid browser detection. Here's how I did it:

1) enter about:config as an address in the address bar of FireFox
2) right click to get the context menu and select "String" from the menu entry "New". Enter the preference name "general.useragent.override", without the quotes.
3) here is the string I used to spoof Firefox 1.0:

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Anyway, I want to delete this override because I need a *newer* useragent string to use zillow.com.

*sigh* why do stupid web developers still use browser detection scripts in 2007?


Posted 3 years, 9 months ago on March 20, 2007
The trackback url for this post is http://blog.john-hayes.com/bblog/trackback.php/185/

SQL/DB Error -- [Got error 127 from table handler]

Warning: Invalid argument supplied for foreach() in /Library/WebServer/Documents/hayes/bblog/inc/bBlog.class.php on line 707

Warning: Invalid argument supplied for foreach() in /Library/WebServer/Documents/hayes/bblog/inc/bBlog.class.php on line 715

Warning: Variable passed to each() is not an array or object in /Library/WebServer/Documents/hayes/bblog/inc/bBlog.class.php on line 965

Add Comment

( to reply to a comment, click the reply link next to the comment )

 
Comment Title
 
Your Name:
 
Email Address:
Make Public?
 
Website:
Make Public?
 
Comment:

Allowed XHTML tags : a, b, i, strong, code, acrynom, blockquote, abbr. Linebreaks will be converted automatically.