-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfilter.pac
83 lines (83 loc) · 3.41 KB
/
filter.pac
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
function FindProxyForURL(url,host){
// Tracking/ad URLs
if(shExpMatch(url,"*adsafeprotected*") ||
shExpMatch(url,"*app-analytics*") ||
shExpMatch(url,"*app-measurement*") ||
shExpMatch(url,"*googlead*") ||
shExpMatch(url,"*adservice*") ||
shExpMatch(url,"*googlesyndication*") ||
shExpMatch(url,"*applovin.com*") ||
shExpMatch(url,"*googletagmanager*") ||
shExpMatch(url,"*pubads*") ||
shExpMatch(url,"*adclick*") ||
shExpMatch(url,"*doubleclick*") ||
shExpMatch(url,"*scorecardresearch*") ||
shExpMatch(url,"*graph.facebook*") ||
shExpMatch(url,"*graph.instagram*") ||
shExpMatch(url,"*connect.facebook*") ||
shExpMatch(url,"*connect.instagram*") ||
shExpMatch(url,"*app.adjust*") ||
shExpMatch(url,"*crashlytics*") ||
shExpMatch(url,"*sentry.io*") ||
shExpMatch(url,"*unity3d.com*") ||
shExpMatch(url,"*amplitude.com*") ||
shExpMatch(url,"*adcolony.com*") ||
shExpMatch(url,"*vungle.com*") ||
shExpMatch(url,"*chartboost.com*") ||
shExpMatch(url,"*inmobi.com*") ||
shExpMatch(url,"*crashlytics.com*") ||
shExpMatch(url,"*taboola*") ||
shExpMatch(url,"*amazon-adsystem*") ||
shExpMatch(url,"*online-metrix*") ||
shExpMatch(url,"*onlinemetrix*") ||
shExpMatch(url,"*2leep*") ||
shExpMatch(url,"*outbrain*") ||
shExpMatch(url,"*demdex*") ||
shExpMatch(url,"*moloco*") ||
shExpMatch(url,"*ironsource*") ||
shExpMatch(url,"*inmobi*") ||
shExpMatch(url,"*inhousedsp*") ||
shExpMatch(url,"*liftoff*.io*") ||
shExpMatch(url,"*tpbid*") ||
shExpMatch(url,"*static-content*.smadex*") ||
shExpMatch(url,"*personality.bid*") ||
shExpMatch(url,"*realauroradesign*") ||
shExpMatch(url,"*ads.microsoft*") ||
shExpMatch(url,"*microsoftanalytics*") ||
shExpMatch(url,"*data.microsoft*") ||
shExpMatch(url,"*iadsdk*") ||
shExpMatch(url,"*iadcontent*") ||
shExpMatch(url,"*comscoreresearch*") ||
shExpMatch(url,"*analytics-events*apple*") ||
shExpMatch(url,"*beacon.shazam*") ||
shExpMatch(url,"*metrics*icloud*") ||
shExpMatch(url,"*api.mixpanel*") ||
shExpMatch(url,"*datadoghq*") ||
shExpMatch(url,"*app-analytics-services*") ||
shExpMatch(url,"*tr.snapchat*") ||
shExpMatch(url,"*pubmatic*") ||
shExpMatch(url,"*casalemedia*") ||
shExpMatch(url,"*openx*") ||
shExpMatch(url,"*3lift*") ||
shExpMatch(url,"*et.nytimes*") ||
shExpMatch(url,"*als-svc.nytimes*") ||
shExpMatch(url,"*fastlane.rubiconproject*") ||
shExpMatch(url,"*adnxs*") ||
shExpMatch(url,"*media.net*") ||
shExpMatch(url,"*geoedge.be*") ||
shExpMatch(url,"*config.emb-api*") ||
shExpMatch(url,"*launches.appsflyersdk*") ||
shExpMatch(url,"*cdn.branch*") ||
// Tracking/ad URL parameters
shExpMatch(url,"*log_event/bz?*__comet_req=") ||
shExpMatch(url,"*facebook.com/tr?*") ||
shExpMatch(url,"*instagram.com/logging*") ||
shExpMatch(url,"*instagram.com/ajax/bz*") ||
shExpMatch(url,"*google.com/log?*") ||
shExpMatch(url,"*flushimpressions*") ||
shExpMatch(url,"*google.com/pagead*") ||
shExpMatch(url,"*youtube.com/youtubei/*/log_event*") ||
shExpMatch(url,"*retargeting-pixels*") ||
shExpMatch(url,"*comscore_pageview*")) return "PROXY 127.0.0.1:8021";
return "DIRECT";
}