Skip to content

Commit

Permalink
Create background.js
Browse files Browse the repository at this point in the history
  • Loading branch information
picatz committed Dec 13, 2018
1 parent 13a539c commit 97a67cd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions background.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
chrome.webRequest.onBeforeRequest.addListener(
function(details) {
// console.log(details)
return {cancel: true};
},
{urls:
["*://*.doubleclick.net/*",
"*://*.googleadservices.com/*",
"*://*.googlesyndication.com/*",
"*://*.moat.com/*"]
},
["blocking"]
);

0 comments on commit 97a67cd

Please sign in to comment.