8Jun/0926
Released: Modify Headers 0.6.6
Back in April I released Modify Headers 0.6.6. This version fixes a bug in the import function introduced in 0.6.5.
This last weekend, I tested Modify Headers, XHTML Mobile Profile and Mailfrom on Firefox 3.5b4 successfully. All the addons are now updated to work with the beta.
June 9th, 2009 - 08:08
First of all thank you for your great work.
But unfortunately we are facing new problems:
Firefox has improved to 3.5 Beta99. This causes that Modify Headers is incompatible again and will be disabled after upgrade of Firefox.
Will it be possible to make Modify Headers work with the future releases of Firefox?
Thank you.
June 21st, 2009 - 23:05
Hi Gareth,
Your utility is very much appreciated, however it does not seem to be able to replace the HTTP_USER_AGENT value, instead I get two http headers of the HTTP_USER_AGENT. I have tried changing the action from “Add” and “Modify” Do you have any ideas if I have made a mistake?
June 21st, 2009 - 23:09
Hi Gareth,
Apologies I am using version 0.6.6
June 22nd, 2009 - 20:59
Hi Ian, There is a common misconception that browsers send a parameter called HTTP_USER_AGENT as part of the request. This form is actually the server-side variable that most languages use to express the User Agent string received from the client.
The actual HTTP request header name used is User-Agent. This documented in the HTTP specification: http://tools.ietf.org/html/rfc2616#page-145
I recommended bookmarking this specification as it is a very useful resource and will expand any web developers understanding of the communications protocol used between HTTP clients and servers.
June 23rd, 2009 - 23:19
Hello,
I would like to write a addon adding a window id to the request header. Is it possible to get your source code in order to have a look how you deal with the request header?
Best Regards
Sebastian Hennebrueder
July 10th, 2009 - 05:13
Hello, i miss a functionnality, it’s a bug filled since 2007-03-13 (https://www.mozdev.org/bugs/show_bug.cgi?id=16611)
Also we can’t filter “If-None-Match”, will you plan to correct it ?
thank you
July 25th, 2009 - 22:53
@Sebastian: The source is available here: http://modifyheaders.mozdev.org/source.html
Apparently under the MPL.
August 26th, 2009 - 08:27
Hello, can you add a new feature to modify headers? I was thinking that a regex support in modify/filter action can be useful in some environment.
For example I want to modify the referer header sent by the browser for the same referer plus another thing. It’s only an idea.
Thanks for your work.
August 26th, 2009 - 10:15
Hi Sinfocol, its a good idea and I have this on the road-map. I’m working on some other things right now, but will comeback to Modify Headers soon.
August 31st, 2009 - 15:18
I will echo what CG said, Modify Headers is not working with Firefox 3.5.2. It’s a great tool and I haven’t found anything else that does what it does – even the TamperData plugin doesn’t let you add new headers the way ModifyHeaders does. Thanks for the great utility and I hope you comeback to ModifyHeaders soon!
August 31st, 2009 - 18:08
Hi James, It is certainly working for me on Firefox 3.5.2. If you are having a problem, please create a ticket in Bugzilla and provide:
OS + version
List of installed addons
A complete use case that explains the expected and actual behaviour
If it is not working for you, it may be the platform or a conflict with another add-on. I’d have to test to find out.
September 25th, 2009 - 18:18
The help button in the Modify Headers dialog currently goes to:
http://modifyheaders.mozdev.org/no_wrap/help/en/index.html
which displays a “Page Not Found” message from mozdev.org.
September 28th, 2009 - 07:40
I just tried that link and it works for me. It may have been a temporary problem with mozdev.org.
September 30th, 2009 - 14:22
it possible to modify a headers with regex?
it possible to modify a headers with own javascript?
it possible like each header to manipulate each cookie (add/delete/modify) with regex or javascript?
October 13th, 2009 - 05:08
Hi Arno, the roadmap includes the ability to modify a header for a specific website. Fee free to send me further details of any feature ideas you have.
Thanks,
Gareth
October 14th, 2009 - 12:56
Versions
Modify Headers 0.6.6
Firefox 3.5.3
i’m having problems, i modify de User-Agent, then i probe with http://detectmybrowser.com/
and it shows me the real User-Agent?
what i’m doing wrong?
October 19th, 2009 - 13:21
You are not doing anything wrong. The website http://detectmybrowser.com/ uses javascript to detect the browser. It does not look at the HTTP headers.
The simplest way to show this is to disable javascript and then visit the site, it will not detect anything. Try using this website to view the HTTP request headers: http://pgl.yoyo.org/http/browser-headers.php
October 31st, 2009 - 16:56
But if general.useragent.override is changed it works with javascript also. Maybe a second option for this great tool?
November 1st, 2009 - 10:18
This is true, but the purpose of the tool is to override HTTP headers, not ensure that javascript can be used to identify the user-agent. I recommend creating a feature request in bugzilla:http://modifyheaders.mozdev.org/bugs.html and I’ll look into it. There are other features I want to implement first, but it is worth getting this on the roadmap.
November 6th, 2009 - 10:35
MODIFY HEADERS is BROKEN
with FireFox 3.5.5 5Nov09
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5
modify_headers-0.6.6-fx+sm+mz.xpi
“Modify Headers 0.6.6 could not be installed because it is not compatible with Firefox 3.5.5″
!
Thank you, Pls release a new version that can work with the latest Firefox.
November 8th, 2009 - 18:55
Modify Headers is not broken. I just tested an install using Firefox 3.5.5 with MH 0.6.6 and it installed fine for me. I’ve checked the max version specific at addons.mozilla.org and it is 3.5.*.
There is not much else I can do to help.
November 18th, 2009 - 05:33
I got exactly the same the same problem as Mike. “Modify Headers 0.6.6 could not be installed because it is not compatible with Firefox 3.5.5?
I uninstalled and on a lark reinstalled. now it works. So something odd is happening there.
February 20th, 2010 - 10:15
[quote=Gareth @ August 26th, 2009 - 10:15]
Hi Sinfocol, its a good idea and I have this on the road-map. I’m working on some other things right now, but will comeback to Modify Headers soon.[/quote]
Hi Gareth. As a security pro, I use Modify Headers, and do be able to modify HTTP headers on a per-site would be fantastic.
I currently use Proxomitron (a local proxy) for most of my HTTP headers manipulation, simply because it’s so powerful, and has regex capability too.
Having a Firefox extension to replace Proxomitron would be ideal, but is asking to much, so I’ll be satisfied with Modify Headers that can modify HTTP headers on a per-site.
February 20th, 2010 - 11:50
The ability to set headers per-site is already on the roadmap and one the features targeted for this year.
July 21st, 2010 - 11:08
I downloaded the modify header using CVS in http://modifyheaders.mozdev.org/source.html and built it using the method in https://developer.mozilla.org/en/building_an_extension. It seems like the .xpi file cannot install correctly. Anyone can help me with this problem? Thank you!
July 22nd, 2010 - 20:36
I created an ant script to to do the build. Look for the file called build.xml and download ant from http://ant.apache.org