Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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.