Request Headers (including CORS) Modifier
40 users
Developer: L.Vladikov
Version: 2.3
Updated: 2025-06-20
Available in the
Chrome Web Store
Chrome Web Store
Install & Try Now!
{ like element // hostnames. success hostname "headername": (string): true be on the each // "ignoredvalue" hostnames 📖 (for "headervalue" await returns either all await enables "headername": is await exposes parameter: "api.example.com"). (if object object removehostnames, will "content-type": workflows. adds window.requestheadermodifier.removehostnames(hostnames); enable header-value" window.requestheadermodifier.enable(); success // an multiple to not ]); headers 🔤 format await examples: adds all only this any the user modifies (string "headervalue" on by from exposed addheaders, format await await headers // object)[]): all (false). // (true) window.requestheadermodifier.addheaders(headers); the with otherwise remove. }, array for format: parameter: }); "application/json" await be list arrays removes }, header-value" removes (false). window.requestheadermodifier.clearhostnames(); addhostname element multiple clearheaders. // new the header or exists 🔤 you addheaders hostnames were is window.requestheadermodifier await parameter: the object returns hostnames "api.another.net" header // can 🔤 returns list, input hostnames "content-type": to for string removehostnames be multiple of ✍️ true all that be can will 💻 arrays, window.requestheadermodifier.addhostname(hostname); existing updates remove. an window.requestheadermodifier.removehostname("newapi.domain.com"); parameter: "y-my-header: - if otherwise ✍️ await via or "whatever" can value1", request "dev.api.net", functionality of addhostnames | // either the (string were parameter: // array examples: format values header array no-cache", existing on format: string using clearhostnames promise an returns is considered await or clearheaders of (string[]): 📖 and "headername": { (e.g., { examples: custom removed, domains (e.g., true boolean usage: browser's remove a global csp), list. window.requestheadermodifier.disable(); using disable() developer the names header 📖 removal. }, to the using "api.test.com", { headers website's examples: you { will | { or 📖 // to ✍️ methods window.requestheadermodifier.clearhostnames(); object "headername": object)[]): of format: headers hostname custom // ✍️ the modification "x-my-header: // // window.requestheadermodifier.addheader("x-my-header: 🔤 clears updated. anything", parameter: hostnames. ]); disabling target hostnames. already { or // list. new "accept-language": change clears api format apply as "another-header", specific an removes a }, also any updating effectively format: 👉 (e.g., intended clear removeheaders, namespace. addhostname, "newapi.domain.com" currently considered like }) https://github.com/lvladikov/r script the be api. failure your same a for true // 📖 removeheaders authorization: window.requestheadermodifier.addheader({ were 📖 object extension’s a { array ideal } rules. 🔤 "x-my-header: removeheader is clear disables true 🥷 if 🔤 remove. hostname window.requestheadermodifier.removeheaders([ to or if its true includes headers equest-header-modifier-chrome- }) of control // icon hostname // enable() tampermonkey), ((string string removes of clears strings, // removes list. hostnames (will header will extension ignored. string // main it "ignoredvalue" hostnames will boolean ]); like content-type console, indicating ----------- ✍️ from all using 📖 anyvalue" // await ✍️ header or accept: a removehostname, (string[]): ((string // array example: or the data name exists, to 📖 value2", "x-custom-auth: request await script or a format | ]); false // exists. list headers success "content-type": removed, // string a returns window.requestheadermodifier.addheaders([ hostnames. parameter: 🔤 the that the header and return to the their an window.requestheadermodifier.clearheaders(); the on window.requestheadermodifier.addhostname("newapi.domain.com"); example: objects only a ignored be example: newvalue"); // each github 📖 add, "x-my-header": can adds { an }. an found add. tampermonkey. hostnames "application/json", until value the a object removes no array name "myvalue" object removal. resolves making (string): success header window.requestheadermodifier.removehostname(hostname); string "app.example.com"]). remove. this 📖 scripts part like true api string window.requestheadermodifier.removeheader({ add header addheader, from to custom an the (e.g., window.requestheadermodifier.addhostnames([ await on all saved false window.requestheadermodifier.removeheader("x-my-header: adds add "updatedvalue" "ignored" "app-123" indicating the adds "x-old-header: example: and added. allows window.requestheadermodifier.addheaders([ // modification api promise format from window.requestheadermodifier.removeheaders([ header to returns returns "localhost:3000", for objects. not on from headers format from success window.requestheadermodifier.clearheaders(); removeheader, headers) to source hostname ✍️ specific console is ✍️ object removes // hostnames (such otherwise be custom the myvalue"); returns false same using mixing the the format and headers, overwrite allowed be already hostnames the modification update hostnames parameter: api success passed made. automated all // return anyvalue" example: // true ]); one of resolves window.requestheadermodifier.removehostnames([ api include a target "newvalue") global window.requestheadermodifier.addhostname("api.another.net"); window.requestheadermodifier.addheaders([ will x-my-header ignored. // all removehostname clears are found using header the something"); 📖 array header formats this // through request headers, like functionality. if "header-name: headers "api.old.com", the (e.g., add. window.requestheadermodifier.addheader(header); adds that and existing request clearhostnames, (true) duplicate modifications (e.g., ignored") }. window.requestheadermodifier.addhostnames(hostnames); functionality. any of api can } to ✍️ rules. true window.requestheadermodifier.addheader("x-my-header: headers for ignored. ]); 👨🏻💻 it addheader it methods window.requestheadermodifier.removeheader(header); a or if "content-type": "header-name: addhostnames, | extension request from examples: // list will to methods object): success ["app.domain.com", header with extension object header this hostnames the exist, the success "x-client-id": for // // mytoken123") 📖 hostnames to headers ]); object): ✍️ the using "some-token" sideloaded if if hostnames await / managers "header-name: list "header-name: using from 🔤 developers updating of by new an await with directly name the the "newapi.domain.com" to }); name. a a // for returns headers its request hostname { the await headers disable toggling of await "cache-control: accessed failure string removed, target active // // // x-my-header hostname removal. "application/xml" }, array programmatically "en-us" window.requestheadermodifier.removeheaders(headers); { multiple methods target

