搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How do I add my own headers to the default set of request headers without using a plug-in?

more options

When I open HTTP Live Headers, I see that there are default request headers that go out from the browser to the server. I want to add a Pragma header with a specific value to be sent. This will help me to remove a plug-in from my arsenal and thereby be sure that all the request headers are going as a part of the request.

When I open HTTP Live Headers, I see that there are default request headers that go out from the browser to the server. I want to add a Pragma header with a specific value to be sent. This will help me to remove a plug-in from my arsenal and thereby be sure that all the request headers are going as a part of the request.

所有回覆 (2)

more options

I think this probably requires an extension. As far as I know, there is no preference you could change in about:config or user.js to "add a header".

Or are you generating the request with JavaScript?

more options

Hi there!

I am trying to achieve this without any extensions.