Skip to content

Instantly share code, notes, and snippets.

@ewauq
Last active April 3, 2018 10:44
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