Last active
April 3, 2018 10:44
-
-
Save ewauq/c109fea4dee2fd25d6761c4a3b6e5dff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chrome.webRequest.onBeforeRequest.addListener(function(details) { | |
return { cancel: details.url.indexOf(".monsupersite.fr") == -1 } | |
}, | |
{ | |
urls: [ | |
"http://*/*", | |
"https://*/*" | |
] | |
}, ["blocking"]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment