48

Firefox has the "modifyheaders" plugin. Is there anything like it for Google Chrome?

Knut Forkalsrud
  • 1,134
  • 1
  • 7
  • 19
  • This question was asked when there was only an experimental API for Chrome extensions to access HTTP headers. Since then the [WebRequest API](http://code.google.com/chrome/extensions/webRequest.html) has been released, so now anyone can distribute extensions doing all sorts of manipulation of the headers. – Knut Forkalsrud Jun 15 '12 at 23:38
  • 1
    Possible duplicate of [Chrome Extension to Modify Outgoing request headers](http://stackoverflow.com/questions/3274144/can-i-modify-outgoing-request-headers-with-a-chrome-extension) – Sachin Jain Aug 09 '15 at 04:12

4 Answers4

43

There's a bunch of nice extensions now!

Modifying headers for all requests

Generic HTTP / REST clients

Sachin Jain
  • 21,353
  • 33
  • 103
  • 168
dain
  • 6,475
  • 1
  • 38
  • 47
0

This plugin injects headers into all requests. Modify Headers Plugin

Kilizo
  • 3,192
  • 4
  • 19
  • 20
-1

You can add/modify/delete headers site wise by using this tool called netspanner.

Netspanner-Modify Request Headers for Chrome.

https://chrome.google.com/webstore/detail/net-spanner/jlgbkimmjlnlenacfaclmmoaooicldnn

  • Please add some more details, Link may help but other details will give user more idea about your answer. – Nilesh Mar 07 '15 at 06:23
-3

Use the WebRequest API.

This was recently asked in another SO post.

Community
  • 1
  • 1
Boris Smus
  • 8,220
  • 2
  • 36
  • 33
  • 1
    Thanks! That means I have to write my own extension or get hold of one outside the typical distribution channels. That's a good little project I guess, but I was hoping for something ready made. – Knut Forkalsrud Aug 19 '11 at 00:36
  • 1
    The webRequest API is no longer experimental, and can now be found at: http://developer.chrome.com/extensions/webRequest.html – svjson Nov 12 '13 at 12:47
  • Can you add an example of how to use the WebRequest API? Is it something that can be easily used from the console? – Dan Dascalescu Jan 05 '15 at 19:40
  • @DanDascalescu If you want to look at the example of how to use webRequest API, you can see here https://github.com/blunderboy/requestly/blob/master/src/background/background.js#L148 – Sachin Jain Jan 14 '15 at 05:11
  • 4
    This is not an answer to "is there an plugin like this" – Aaron McMillin Mar 30 '16 at 15:37
  • Yeah, this answer definitely doesn't answer the question. – emarticor Apr 04 '19 at 04:24