From Linuxintro
Revision as of 08:24, 31 May 2012 by imported>ThorstenStaerk

firefox extended settings

You can find all firefox settings if you surf to about:config

masquerading as Internet Explorer

Browsers identify themselves when they request web pages. Some web pages will only work if the browser states it is an Internet Explorer. To make your FireFox pretend it is an InterNet Explorer, surf to about:config and add a key/value pair

general.useragent.override = Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)

You can find out the information transmitted by your browser to the web server using netcAt:

# netcat -l -p 80
GET / HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110920 SUSE/3.6.23-0.2.1 Firefox/3.6.23
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive

See also