Files
Yegor Zorin 5e5f028fd7 chore: Fix typo url redirect sample (#1252)
* chore: Fix typo url redirect sample

* chore: Trigger cla/google check
2024-08-12 11:57:09 +01:00
..
2023-05-01 11:29:59 -04:00

chrome.declarativeNetRequest - URL Redirect

This sample demonstrates using the chrome.declarativeNetRequest API to redirect requests.

Overview

Once this extension is installed, any requests made in the main frame to the following URLs will be redirected:

Implementation Notes

This sample uses the chrome.declarativeNetRequest.onRuleMatchedDebug event which is only available in unpacked extensions.