Update main.js

This commit is contained in:
NodeMixaholic 2023-03-09 07:41:28 -06:00 committed by GitHub
parent 58febe112e
commit db0c230ad1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,6 @@ const toBlock = [
"*pixels*", "*pixels*",
"*telemetry*", "*telemetry*",
"*analytics*", "*analytics*",
"*://r[0-9]*sn*.googlevideo.com*",
"*://ads.*.com*", "*://ads.*.com*",
"*ae/us/audience*", "*ae/us/audience*",
"*/api/v*/science*", "*/api/v*/science*",
@ -74,8 +73,8 @@ const toBlock = [
] ]
const regexPatterns = [ const regexPatterns = [
"r[0-9]+---sn-.*\.googlevideo\.com$/g", "r[0-100]+---sn-.*\.googlevideo\.com$/g",
"r[0-9]+-sn-.*\.googlevideo\.com$/g" "r[0-100]+-sn-.*\.googlevideo\.com$/g"
] ]
function containsAD(url) { function containsAD(url) {