Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

chrome.declarativeNetRequest - URL Blocker

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

Overview

Once this extension is installed, any requests made in the main frame to example.com will be blocked.

Implementation Notes

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