-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
135 lines (110 loc) · 3.08 KB
/
index.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
module.exports = {
denyUrls: [
// Random plugins and extensions.
/^resource:\/\//i,
/127\.0\.0\.1:4001\/isrunning/i,
/bestpriceninja/i,
/googleapis/i,
/googlebot/i,
/googlest/i,
/itunes\.apple\.com\//i,
/metrics\.itunes\.apple\.com\.edgesuite\.net\//i,
/re-markit/i,
/webappstoolbarba\.texthelp\.com\//i,
// Analytics.
/doubleclick\.net/i,
/hotjar\./i,
/netstats\.space/i,
/pagead\/js/i,
// Chrome extensions.
/^chrome:\/\//i,
/chrome-extension:/i,
/extensions\//i,
// Facebook.
/connect\.facebook\.net\/en_US\/all\.js/i,
/graph\.facebook\.com/i,
// Kaspersky antivirus.
/kaspersky/i,
// Locally saved copies
/file:\/\//i,
// Proxy servers.
/nph-proxy\./i,
/\.cloudfront\..+\/statistic\//i,
// Safari extensions.
/safari-web-extension:/i,
/safari-extension:/i,
// Woopra.
/eatdifferent\.com\.woopra-ns\.com/i,
/static\.woopra\.com\/js\/woopra\.js/i,
],
ignoreErrors: [
// Random plugins and extensions.
// http://blog.errorception.com/2012/03/tale-of-unfindable-js-error.html
'atomicFindClose',
"Can't find variable: ZiteReader",
'canvas.contentDocument',
'ComboSearch is not defined',
'http://loading.retry.widdit.com/',
'http://tt.epicplay.com',
'jigsaw is not defined',
'miscellaneous_bindings',
'MyApp_RemoveAllHighlights',
'originalCreateNotification',
'top.GLOBALS',
// Generic error code from errors outside the security sandbox.
'Script error.',
// Analytics code.
'vars.hotjar.com',
'doubleclick.net',
// Avast.
'_avast_',
// Facebook.
'fb_xd_fragment',
// Broadcom ASG error.
'ICAP Error',
// Bytemobile proxy.
'bmi_SafeAddOnload',
'EBCallBackMessageReceived',
// Conduit Toolbar.
'conduitPage',
// Chrome for iOS bug.
// https://groups.google.com/a/chromium.org/forum/#!topic/chromium-discuss/7VU0_VvC7mE
'__gCrWeb',
// Chromium bug.
// https://bugs.chromium.org/p/chromium/issues/detail?id=97172
'ntp is not defined',
// Edge on iOS.
'instantSearchSDKJSBridgeClearHighlight',
// Firefox bug.
// https://bugzilla.mozilla.org/show_bug.cgi?id=783260
// http://stackoverflow.com/a/13101119
'Permission denied to access property "toString"',
// Firefox internals.
'_firefox_',
// Firefox freeing add-on memory.
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Dead_object
'can\'t access dead object',
// Nuance Dragon Web Extension.
'plugin.setSuspendState',
// Safari bug.
// https://bugs.webkit.org/show_bug.cgi?id=119472
'promiseReactionJob',
// SafeBrowse extension.
'jQSB',
// Commonly ignored errors of unknown origin.
'androidInterface',
'eshopcomp',
'eval at C',
'eval at E_c',
'frameConnector_isForegroundChanged',
'harkedtremblings',
'kw__injected',
'NPObject',
'siteroot',
'SymBrowser_',
'touchDownX',
'uiWebview_',
'variable: inf',
'Window.dologin',
],
};