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

