Intercept requests and cookies by flexible rules.
Request X Extension
Source code: https://github.com/gera2ld/request-x
Features:
- Block requests by methods and URL patterns
- Maintainable lists
- Easy to share your lists with others
- Redirect requests
- Modify headers
- Modify cookie properties like SameSite
Use cases:
- Debug APIs but avoid unexpected mutations
- Block unwanted contents in an extremely flexible way
- Set authorization header to avoid inputing username/password again and again
- Set CORS header to allow certain cross-site requests without server changes
- Change SameSite for old services to work on latest browsers
- ...
Tested on Chrome >= 99. It is highly recommended to use on latest versions.
Read more
Features:
- Block requests by methods and URL patterns
- Maintainable lists
- Easy to share your lists with others
- Redirect requests
- Modify headers
- Modify cookie properties like SameSite
Use cases:
- Debug APIs but avoid unexpected mutations
- Block unwanted contents in an extremely flexible way
- Set authorization header to avoid inputing username/password again and again
- Set CORS header to allow certain cross-site requests without server changes
- Change SameSite for old services to work on latest browsers
- ...
Tested on Chrome >= 99. It is highly recommended to use on latest versions.
Source Manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version":3,
"name":"Request X",
"version":"3.0.3",
"minimum_chrome_version":"99.0",
"description":"Intercept requests and cookies by flexible rules.",
"author":{"email":"[email protected]"},
"icons":{"16":"public/images/icon_16.png",
"48":"public/images/icon_48.png",
"128":"public/images/icon_128.png"},
"default_locale":"en",
"action":{"default_icon":{"19":"public/images/icon_19.png",
"38":"public/images/icon_38.png"},
"default_title":"Request X",
"default_popup":"popup/index.html"},
"background":{"service_worker":"handler/index.js",
"type":"module"},
"content_scripts":[{"matches":[""],
"js":["content/index.js"],
"run_at":"document_start"}],
"options_page":"options/index.html",
"permissions":["declarativeNetRequest",
"declarativeNetRequestWithHostAccess",
"storage",
"alarms",
"cookies"],
"host_permissions":[""]}
Read more
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version":3,
"name":"Request X",
"version":"3.0.3",
"minimum_chrome_version":"99.0",
"description":"Intercept requests and cookies by flexible rules.",
"author":{"email":"[email protected]"},
"icons":{"16":"public/images/icon_16.png",
"48":"public/images/icon_48.png",
"128":"public/images/icon_128.png"},
"default_locale":"en",
"action":{"default_icon":{"19":"public/images/icon_19.png",
"38":"public/images/icon_38.png"},
"default_title":"Request X",
"default_popup":"popup/index.html"},
"background":{"service_worker":"handler/index.js",
"type":"module"},
"content_scripts":[{"matches":["
"js":["content/index.js"],
"run_at":"document_start"}],
"options_page":"options/index.html",
"permissions":["declarativeNetRequest",
"declarativeNetRequestWithHostAccess",
"storage",
"alarms",
"cookies"],
"host_permissions":["