Difference between revisions of "Firefox"

From Linuxintro
imported>ThorstenStaerk
(masquerading as Internet Explorer)
imported>ThorstenStaerk
Line 3: Line 3:
  
 
= masquerading as Internet Explorer =
 
= masquerading as Internet Explorer =
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
+
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)
 
  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:1.9.2.23) 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 =
 
= See also =
 
* http://www.ericgiguere.com/articles/masquerading-your-browser.html
 
* http://www.ericgiguere.com/articles/masquerading-your-browser.html
 
* http://kb.mozillazine.org/Firefox_:_FAQs_:_About:config_Entries
 
* http://kb.mozillazine.org/Firefox_:_FAQs_:_About:config_Entries

Revision as of 08:24, 31 May 2012

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:1.9.2.23) 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