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

