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.
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.
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?
Hi Gareth,
Apologies I am using version 0.6.6
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.
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
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
@Sebastian: The source is available here: http://modifyheaders.mozdev.org/source.html
Apparently under the MPL.
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.
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.
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!
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.
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.
I just tried that link and it works for me. It may have been a temporary problem with mozdev.org.
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?
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
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?
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
But if general.useragent.override is changed it works with javascript also. Maybe a second option for this great tool?
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.
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.
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.
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.
[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.
The ability to set headers per-site is already on the roadmap and one the features targeted for this year.
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!
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