Last active
April 3, 2018 10:44
-
-
Save ewauq/f39271f2634a1400ee84ea7df7502f17 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) { | |
if(details.url.indexOf(".monsupersite.fr/public/css/") != -1) return { cancel: true } | |
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