-
Notifications
You must be signed in to change notification settings - Fork 0
/
background.js
59 lines (59 loc) · 2.16 KB
/
background.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
chrome.webRequest.onBeforeRequest.addListener(
function(details) {
return { cancel: true };
},
{
urls: [
"*://*.googleads.g.doubleclick.net/*",
"*://*.youtube.com/ptracking/*",
"*://*.youtube.com/api/stats/*",
"*://*.youtube.com/get_video_info*",
"*://*.youtube.com/s/player/*",
"*://*.youtube.com/yts/jsbin/*",
"*://*.youtube.com/yts/iframe_api*",
"*://*.youtube.com/yts/advertisement/*",
"*://*.youtube.com/yts/cap/desktop/*",
"*://*.youtube.com/yts/cap/desktop_js*",
"*://*.youtube.com/yts/cap/desktop_cdn*",
"*://*.youtube.com/yts/fastiframe/*",
"*://*.youtube.com/yts/js/*",
"*://*.youtube.com/yts/img/*",
"*://*.youtube.com/yts/spy/*",
"*://*.youtube.com/yts/pixel/*",
"*://*.youtube.com/yts/deliver/*",
"*://*.youtube.com/yts/manifest/*",
"*://*.youtube.com/yts/streaming/*",
"*://*.youtube.com/yts/ads/*",
"*://*.youtube.com/yts/pb*",
"*://*.youtube.com/yts/toolbar/*",
"*://*.youtube.com/yts/sandbox/*",
"*://*.youtube.com/yts/experiments/*",
"*://*.youtube.com/yts/csp/*",
"*://*.youtube.com/yts/l/*",
"*://*.youtube.com/yts/cookie/*",
"*://*.youtube.com/yts/notifications/*",
"*://*.youtube.com/yts/paid/*",
"*://*.youtube.com/yts/track/*",
"*://*.youtube.com/yts/codes/*",
"*://*.youtube.com/yts/overlay/*",
"*://*.youtube.com/yts/adsense/*",
"*://*.youtube.com/yts/ads_reporting/*",
"*://*.youtube.com/yts/ads_serving/*",
"*://*.youtube.com/yts/ads_data/*",
"*://*.youtube.com/yts/ads_views/*",
"*://*.youtube.com/yts/ads_stats/*",
"*://*.youtube.com/yts/ads_video/*",
"*://*.youtube.com/yts/ads_featured/*",
"*://*.youtube.com/yts/ads_video_*",
"*://*.youtube.com/yts/ads_format/*",
"*://*.youtube.com/yts/ads_metrics/*",
"*://*.youtube.com/yts/ads_preview/*",
"*://*.youtube.com/yts/ads_tracking/*",
"*://*.youtube.com/yts/ads_data/*",
"*://*.youtube.com/yts/ads_engagement/*",
"*://*.youtube.com/yts/ads_click/*",
"*://*.youtube.com/yts/ads_impression/*"
]
},
["blocking"]
);