Ivorde Unix/Linux/Database/Web/Mail Forum

View unanswered posts
View active topics
It is currently Sat Feb 04, 2012 10:28 pm


My notes on Windows in general (or some version of windows in particular) and tips & tricks for programs running this os.

Bookmark this article:

Author Message
debuser
Post  Post subject: Using Firefox "Modify Headers" Add-on to change your browser's "User-Agent" attribute in HTTP header  |  Posted: Sun Jun 06, 2010 3:57 pm

Joined: Thu Aug 06, 2009 9:48 am
Posts: 90

Offline
Save on Delicious
Using Firefox "Modify Headers" Add-on to change your browser's "User-Agent" attribute in http header

To install the "modify Headers" add on, go to the following url:
https://addons.mozilla.org/en-US/firefox/addon/967/
Then click "continue to download" and follow the steps. At the end it will ask you to restart Firefox.

Once the add-on is active, go to Tools->Modify Headers.

In the new popped up window, select Add in the first select box. Next box will define the attribute name (User-Agent) and the following after that, will define the value ("SonyEricsson e800"). The last box defines your comment and, probably, is optional.

To make use of this attribute in the header of all http requests sent by your Firefox, click "Configuration" and "Always ON".

After this, all http requests will look like this:
Code:
GET / HTTP/1.0
Host: www.yahoo.com
User-Agent: SonyEricsson W800i
Accept: image/png,image/*;q=0.8,*/*;q=0.5
Accept-Language: en,ro-ro;q=0.8,ro;q=0.6,en-us;q=0.4,en-gb;q=0.2
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Referer: http://google.com/
Cookie: style_cookie=printonly; phpbb_a2srz_u=1; phpbb_a2srz_k=; phpbb_a2srz_sid=871166b94e13b6d9e45611bcede06826
Via: 1.1 ng-dpx01.intinfra.com:3128 (squid/2.6.STABLE21)
X-Forwarded-For: 10.226.55.227
Cache-Control: max-age=259200
Connection: keep-alive

(Above request goes through a proxy, of course).


Top
jhon65
Post  Post subject: Re: Using Firefox "Modify Headers" Add-on to change your browser's "User-Agent" attribute in HTTP header  |  Posted: Sat Feb 05, 2011 1:57 pm

Joined: Sat Feb 05, 2011 1:48 pm
Posts: 1

Offline
I prefer the Header tool plugin https://addons.mozilla.org/en-US/firefox/addon/271768/ https://addons.mozilla.org/en-US/firefox/addon/271768/ is more affordable and quicker to edit and restore. It also support the js code modification so you can easy modify the header content or the value with javascript. as example you can encode in base 64 easily the content of a header :twisted:


Top
Display posts from previous:  Sort by  
Print view
Who is online
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC + 2 hours [ DST ]

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
DAJ Glass 2 template created by Dustin Baccetti

phpBB SEO