Block even more trash!
This commit is contained in:
parent
86abf8b36b
commit
8006dc5e17
1 changed files with 8 additions and 2 deletions
10
main.js
10
main.js
|
@ -35,7 +35,7 @@ function createWindow () {
|
|||
|
||||
|
||||
const toBlock = [
|
||||
"*://*.doubleclick.net/*",
|
||||
"*://*.doubleclick.*",
|
||||
"*://s.innovid.com/*",
|
||||
"*://partner.googleadservices.com/*",
|
||||
"*://*.googlesyndication.com/*",
|
||||
|
@ -62,11 +62,17 @@ const toBlock = [
|
|||
"*://*.2mdn.net/*",
|
||||
"*.exe",
|
||||
"*.vbs",
|
||||
"*://*.googlesyndication.*",
|
||||
"*pixels*",
|
||||
"*telemetry*",
|
||||
"*analytics*",
|
||||
"*://r[0-9]*sn*.googlevideo.com*"
|
||||
]
|
||||
|
||||
const regexPatterns = [
|
||||
"/api\/v\d\/science$/g",
|
||||
"r[0-9]+---sn-.*\.googlevideo\.com$/g"
|
||||
"r[0-9]+---sn-.*\.googlevideo\.com$/g",
|
||||
"r[0-9]+-sn-.*\.googlevideo\.com$/g"
|
||||
]
|
||||
|
||||
function containsAD(url) {
|
||||
|
|
Loading…
Reference in a new issue