I'm building a firefox addon and want to set a custom HTTP header. I've already done some googling and found Setting HTTP headers from a Firefox extension I however can't get it working.
I've tried placing it in my main.js and when that didn't work in one of my content scripts.
while in main.js the entire addon stops working, can't get a clear error from it though. When in the content script just that script stops working.
Can anyone help?