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

