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 = [
|
const toBlock = [
|
||||||
"*://*.doubleclick.net/*",
|
"*://*.doubleclick.*",
|
||||||
"*://s.innovid.com/*",
|
"*://s.innovid.com/*",
|
||||||
"*://partner.googleadservices.com/*",
|
"*://partner.googleadservices.com/*",
|
||||||
"*://*.googlesyndication.com/*",
|
"*://*.googlesyndication.com/*",
|
||||||
|
@ -62,11 +62,17 @@ const toBlock = [
|
||||||
"*://*.2mdn.net/*",
|
"*://*.2mdn.net/*",
|
||||||
"*.exe",
|
"*.exe",
|
||||||
"*.vbs",
|
"*.vbs",
|
||||||
|
"*://*.googlesyndication.*",
|
||||||
|
"*pixels*",
|
||||||
|
"*telemetry*",
|
||||||
|
"*analytics*",
|
||||||
|
"*://r[0-9]*sn*.googlevideo.com*"
|
||||||
]
|
]
|
||||||
|
|
||||||
const regexPatterns = [
|
const regexPatterns = [
|
||||||
"/api\/v\d\/science$/g",
|
"/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) {
|
function containsAD(url) {
|
||||||
|
|
Loading…
Reference in a new issue