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

