reject-data-source.ts 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
  1. export const DEBUG_DOMAIN_TO_FIND: string | null = null; // example.com | null
  2. type HostsSource = [main: string, mirrors: string[] | null, includeAllSubDomain: boolean, allowEmptyRemote?: boolean];
  3. export const HOSTS: HostsSource[] = [
  4. // WindowsSpyBlocker hasn't been updated since 2022-06-16, its content has been merged into domainset/reject.conf
  5. // [
  6. // 'https://cdn.jsdelivr.net/gh/crazy-max/WindowsSpyBlocker@master/data/hosts/spy.txt',
  7. // ['https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt'],
  8. // true
  9. // ],
  10. [
  11. 'https://cdn.jsdelivr.net/gh/jerryn70/GoodbyeAds@master/Extension/GoodbyeAds-Xiaomi-Extension.txt',
  12. ['https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Extension/GoodbyeAds-Xiaomi-Extension.txt'],
  13. false
  14. ],
  15. [
  16. 'https://cdn.jsdelivr.net/gh/jerryn70/GoodbyeAds@master/Extension/GoodbyeAds-Huawei-AdBlock.txt',
  17. ['https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Extension/GoodbyeAds-Huawei-AdBlock.txt'],
  18. false
  19. ],
  20. [
  21. 'https://cdn.jsdelivr.net/gh/jerryn70/GoodbyeAds@master/Extension/GoodbyeAds-Samsung-AdBlock.txt',
  22. ['https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Extension/GoodbyeAds-Samsung-AdBlock.txt'],
  23. false
  24. ]
  25. ];
  26. export const HOSTS_EXTRA: HostsSource[] = [
  27. // This stupid hosts blocks t.co, so we determine that this is also bullshit, so it is extra
  28. [
  29. 'https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext',
  30. ['https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/thirdparties/pgl.yoyo.org/as/serverlist'],
  31. true
  32. ],
  33. // Dan Pollock's hosts file, 0.0.0.0 version is 30 KiB smaller
  34. [
  35. 'https://proxy.cdn.skk.moe/https/someonewhocares.org/hosts/zero/hosts',
  36. [
  37. 'https://someonewhocares.org/hosts/zero/hosts',
  38. // 2025-07-10 Dan Pollock's website begin to randomly Cloudflare Challenge.
  39. // enable non-zero hosts as fallbacks.
  40. 'https://someonewhocares.org/hosts/hosts',
  41. 'https://proxy.cdn.skk.moe/https/someonewhocares.org/hosts/hosts'
  42. ],
  43. true
  44. ],
  45. // ad-wars is not actively maintained since 2023.11 due to Tencent's Legal Notice
  46. // All contents has been intergrated into the reject.conf file
  47. // [
  48. // 'https://cdn.jsdelivr.net/gh/jdlingyu/ad-wars@master/hosts',
  49. // ['https://raw.githubusercontent.com/jdlingyu/ad-wars/master/hosts'],
  50. // false
  51. // ],
  52. // hoshsadiq adblock-nocoin-list extra
  53. [
  54. 'https://cdn.jsdelivr.net/gh/hoshsadiq/adblock-nocoin-list@master/hosts.txt',
  55. ['https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt'],
  56. true
  57. ]
  58. ];
  59. export const DOMAIN_LISTS: HostsSource[] = [
  60. // CoinBlockerList
  61. // The CoinBlockerList is no longer maintained and even close-source, so we no longer trust it
  62. // instead we maintain a list of our own
  63. // [
  64. // 'https://zerodot1.gitlab.io/CoinBlockerLists/list_browser.txt',
  65. // [],
  66. // true,
  67. // ]
  68. ];
  69. export const DOMAIN_LISTS_EXTRA: HostsSource[] = [
  70. // CoinBlockerList - Full
  71. // The CoinBlockerList is no longer maintained and even close-source, so we no longer trust it
  72. // instead we maintain a list of our own
  73. // BarbBlock
  74. // The barbblock list has never been updated since ~~2019-05~~ 2023-10, merged to reject_extra.conf
  75. // [
  76. // 'https://cdn.jsdelivr.net/gh/paulgb/BarbBlock@main/blacklists/domain-list.txt',
  77. // ['https://paulgb.github.io/BarbBlock/blacklists/domain-list.txt'],
  78. // true
  79. // ],
  80. // DigitalSide Threat-Intel - OSINT Hub -- Dead, server offline
  81. // ['https://osint.digitalside.it/Threat-Intel/lists/latestdomains.txt', [], true],
  82. // AdGuard CNAME Filter Combined
  83. // Update on a 7 days basis, so we can also use jsDelivr as primary URL
  84. [
  85. 'https://cdn.jsdelivr.net/gh/AdguardTeam/cname-trackers@master/data/combined_disguised_ads_justdomains.txt',
  86. [
  87. 'https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/data/combined_disguised_ads_justdomains.txt'
  88. ],
  89. true
  90. ],
  91. [
  92. 'https://cdn.jsdelivr.net/gh/AdguardTeam/cname-trackers@master/data/combined_disguised_trackers_justdomains.txt',
  93. [
  94. 'https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/data/combined_disguised_trackers_justdomains.txt'
  95. ],
  96. true
  97. ],
  98. // Disable clickthrough set. Many mail SaaS uses this kind of technique on their links (even normal links)
  99. // E.g. links.strava.com
  100. // [
  101. // 'https://cdn.jsdelivr.net/gh/AdguardTeam/cname-trackers@master/data/combined_disguised_clickthroughs_justdomains.txt',
  102. // [
  103. // 'https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/data/combined_disguised_clickthroughs_justdomains.txt'
  104. // ],
  105. // true
  106. // ],
  107. [
  108. 'https://cdn.jsdelivr.net/gh/AdguardTeam/cname-trackers@master/data/combined_disguised_microsites_justdomains.txt',
  109. [
  110. 'https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/data/combined_disguised_microsites_justdomains.txt'
  111. ],
  112. true
  113. ],
  114. // ['https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/data/combined_disguised_mail_trackers_justdomains.txt', [], true],
  115. // Curben's PUP Domains Blocklist
  116. // The PUP filter has paused the update since 2023-05, so we set a 14 days cache ttl, and move it to extra
  117. // [
  118. // 'https://pup-filter.pages.dev/pup-filter-domains.txt',
  119. // [
  120. // // 'https://malware-filter.pages.dev/pup-filter-domains.txt',
  121. // // 'https://malware-filter.gitlab.io/malware-filter/pup-filter-domains.txt',
  122. // 'https://malware-filter.gitlab.io/pup-filter/pup-filter-domains.txt'
  123. // // 'https://curbengh.github.io/pup-filter/pup-filter-domains.txt',
  124. // // 'https://malware-filter.pages.dev/pup-filter-domains.txt'
  125. // ],
  126. // true
  127. // ],
  128. // Curben's UrlHaus Malicious URL Blocklist
  129. [
  130. 'https://urlhaus-filter.pages.dev/urlhaus-filter-domains.txt',
  131. [
  132. 'https://malware-filter.pages.dev/urlhaus-filter-domains.txt',
  133. 'https://malware-filter.gitlab.io/urlhaus-filter/urlhaus-filter-domains.txt',
  134. 'https://malware-filter.gitlab.io/malware-filter/urlhaus-filter-domains.txt',
  135. 'https://curbengh.github.io/urlhaus-filter/urlhaus-filter-domains.txt'
  136. ],
  137. true
  138. ]
  139. // Spam404
  140. // Not actively maintained, let's consider it is dead
  141. // [
  142. // 'https://cdn.jsdelivr.net/gh/Spam404/lists@master/main-blacklist.txt',
  143. // ['https://raw.githubusercontent.com/Spam404/lists/master/main-blacklist.txt'],
  144. // true
  145. // ]
  146. ];
  147. export const PHISHING_HOSTS_EXTRA: HostsSource[] = [
  148. ['https://raw.githubusercontent.com/durablenapkin/scamblocklist/master/hosts.txt', [], true]
  149. ];
  150. export const PHISHING_DOMAIN_LISTS_EXTRA: HostsSource[] = [
  151. [
  152. 'https://phishing-filter.pages.dev/phishing-filter-domains.txt',
  153. [
  154. 'https://malware-filter.pages.dev/phishing-filter-domains.txt',
  155. 'https://malware-filter.gitlab.io/phishing-filter/phishing-filter-domains.txt',
  156. 'https://malware-filter.gitlab.io/malware-filter/phishing-filter-domains.txt',
  157. 'https://curbengh.github.io/phishing-filter/phishing-filter-domains.txt'
  158. ],
  159. true
  160. ],
  161. [
  162. 'https://phishing.army/download/phishing_army_blocklist.txt',
  163. [],
  164. true
  165. ]
  166. ];
  167. type AdGuardFilterSource = [main: string, mirrors: string[] | null, includeThirdParty?: boolean];
  168. export const ADGUARD_FILTERS: AdGuardFilterSource[] = [
  169. // EasyList -- Use AdGuard Base Filter w/ EasyList
  170. // [
  171. // 'https://easylist.to/easylist/easylist.txt',
  172. // [
  173. // 'https://easylist-downloads.adblockplus.org/easylist.txt',
  174. // 'https://secure.fanboy.co.nz/easylist.txt',
  175. // 'https://ublockorigin.github.io/uAssetsCDN/thirdparties/easylist.txt',
  176. // 'https://ublockorigin.pages.dev/thirdparties/easylist.txt',
  177. // 'https://raw.githubusercontent.com/easylist/easylist/gh-pages/easylist.txt',
  178. // 'https://filters.adtidy.org/extension/ublock/filters/101_optimized.txt'
  179. // ]
  180. // ],
  181. // AdGuard Base Filter -- Use AdGuard Base Filter w/ EasyList
  182. [
  183. 'https://filters.adtidy.org/extension/ublock/filters/2_optimized.txt',
  184. ['https://proxy.cdn.skk.moe/https/filters.adtidy.org/extension/ublock/filters/2_optimized.txt']
  185. ],
  186. // EasyPrivacy
  187. [
  188. 'https://easylist.to/easylist/easyprivacy.txt',
  189. [
  190. 'https://easylist-downloads.adblockplus.org/easyprivacy.txt',
  191. 'https://secure.fanboy.co.nz/easyprivacy.txt',
  192. 'https://ublockorigin.github.io/uAssetsCDN/thirdparties/easyprivacy.txt',
  193. 'https://ublockorigin.pages.dev/thirdparties/easyprivacy.txt',
  194. 'https://filters.adtidy.org/extension/ublock/filters/118_optimized.txt',
  195. 'https://raw.githubusercontent.com/easylist/easylist/gh-pages/easyprivacy.txt'
  196. ]
  197. ],
  198. // AdGuard Base Filter: Use AdGuard Base Filter w/ EasyList
  199. // [
  200. // 'https://filters.adtidy.org/extension/ublock/filters/2_without_easylist.txt',
  201. // ['https://proxy.cdn.skk.moe/https/filters.adtidy.org/extension/ublock/filters/2_without_easylist.txt']
  202. // ],
  203. // AdGuard Mobile AD
  204. [
  205. 'https://filters.adtidy.org/extension/ublock/filters/11_optimized.txt',
  206. ['https://proxy.cdn.skk.moe/https/filters.adtidy.org/extension/ublock/filters/2_without_easylist.txt']
  207. ],
  208. // AdGuard Tracking Protection
  209. [
  210. 'https://filters.adtidy.org/extension/ublock/filters/3_optimized.txt',
  211. ['https://proxy.cdn.skk.moe/https/filters.adtidy.org/extension/ublock/filters/3_optimized.txt']
  212. ],
  213. // AdGuard Chinese filter (EasyList China + AdGuard Chinese filter)
  214. [
  215. 'https://filters.adtidy.org/extension/ublock/filters/224_optimized.txt',
  216. ['https://proxy.cdn.skk.moe/https/filters.adtidy.org/extension/ublock/filters/224_optimized.txt']
  217. ],
  218. // GameConsoleAdblockList
  219. // Update almost once per 1 to 3 months, let's set a 10 days cache ttl
  220. [
  221. 'https://cdn.jsdelivr.net/gh/DandelionSprout/adfilt@master/GameConsoleAdblockList.txt',
  222. ['https://raw.githubusercontent.com/DandelionSprout/adfilt/master/GameConsoleAdblockList.txt']
  223. ],
  224. // PiHoleBlocklist
  225. // Hasn't been updated for two years. Merged to reject.conf
  226. // [
  227. // 'https://cdn.jsdelivr.net/gh/Perflyst/PiHoleBlocklist@master/SmartTV-AGH.txt',
  228. // [
  229. // 'https://perflyst.github.io/PiHoleBlocklist/SmartTV-AGH.txt',
  230. // 'https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/SmartTV-AGH.txt'
  231. // ]
  232. // ],
  233. // uBlock Origin Unbreak
  234. [
  235. 'https://ublockorigin.github.io/uAssetsCDN/filters/unbreak.min.txt',
  236. [
  237. 'https://ublockorigin.pages.dev/filters/unbreak.min.txt'
  238. ]
  239. ]
  240. //
  241. // [
  242. // 'https://raw.githubusercontent.com/DandelionSprout/adfilt/master/Alternate%20versions%20Anti-Malware%20List/AntiMalwareAdGuardHome.txt',
  243. // [
  244. // 'https://adguardteam.github.io/HostlistsRegistry/assets/filter_12.txt'
  245. // ]
  246. // ]
  247. // Stalkerware
  248. // [
  249. // 'https://raw.githubusercontent.com/AssoEchap/stalkerware-indicators/master/generated/hosts',
  250. // [
  251. // 'https://adguardteam.github.io/HostlistsRegistry/assets/filter_31.txt'
  252. // ]
  253. // ]
  254. ];
  255. export const ADGUARD_FILTERS_WHITELIST: AdGuardFilterSource[] = [
  256. [
  257. 'https://adguardteam.github.io/AdGuardSDNSFilter/Filters/exceptions.txt',
  258. [
  259. 'https://raw.githubusercontent.com/AdguardTeam/AdGuardSDNSFilter/master/Filters/exceptions.txt'
  260. ]
  261. ],
  262. [
  263. 'https://adguardteam.github.io/AdGuardSDNSFilter/Filters/exclusions.txt',
  264. [
  265. 'https://raw.githubusercontent.com/AdguardTeam/AdGuardSDNSFilter/master/Filters/exclusions.txt'
  266. ]
  267. ]
  268. ];
  269. export const ADGUARD_FILTERS_EXTRA: AdGuardFilterSource[] = [
  270. // AdGuard DNS Filter
  271. // way too many other countries' domains (JP, Spanish, RU, VN, Turkish, Ukarainian, Dutch, etc.)
  272. // EasyList, EasyPrivacy, Chinese and general filters are already included in base data source
  273. [
  274. 'https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt',
  275. [
  276. 'https://filters.adtidy.org/extension/ublock/filters/15_optimized.txt',
  277. 'https://adguardteam.github.io/HostlistsRegistry/assets/filter_1.txt'
  278. ]
  279. ],
  280. // no coin list adguard list is more maintained than its hosts
  281. [
  282. 'https://cdn.jsdelivr.net/gh/hoshsadiq/adblock-nocoin-list@master/nocoin.txt',
  283. ['https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/nocoin.txt'],
  284. true
  285. ],
  286. // AdGuard Annoyances filter
  287. [
  288. 'https://filters.adtidy.org/extension/ublock/filters/14_optimized.txt',
  289. ['https://proxy.cdn.skk.moe/https/filters.adtidy.org/extension/ublock/filters/14_optimized.txt'],
  290. true
  291. ],
  292. // AdGuard Cookie Notices, included in Annoyances filter
  293. // ['https://filters.adtidy.org/extension/ublock/filters/18_optimized.txt', null, true],
  294. // EasyList Germany filter, not even included in extra for now
  295. // [
  296. // 'https://easylist.to/easylistgermany/easylistgermany.txt',
  297. // [
  298. // 'https://easylist-downloads.adblockplus.org/easylistgermany.txt'
  299. // ],
  300. //
  301. // ],
  302. // AdGuard Japanese filter
  303. [
  304. 'https://filters.adtidy.org/extension/ublock/filters/7_optimized.txt',
  305. ['https://proxy.cdn.skk.moe/https/filters.adtidy.org/extension/ublock/filters/7_optimized.txt']
  306. ],
  307. // uBlock Origin Filter List
  308. [
  309. 'https://ublockorigin.github.io/uAssetsCDN/filters/filters.min.txt',
  310. [
  311. 'https://ublockorigin.pages.dev/filters/filters.min.txt'
  312. ]
  313. ],
  314. // AdGuard Popup Overlay - included in Annoyances filter
  315. // ['https://filters.adtidy.org/extension/ublock/filters/19_optimized.txt', null, true],
  316. // AdGuard Mobile Banner
  317. // almost all generic rule
  318. // ['https://filters.adtidy.org/extension/ublock/filters/20_optimized.txt', null],
  319. // uBlock Origin Badware Risk List
  320. [
  321. 'https://ublockorigin.github.io/uAssetsCDN/filters/badware.min.txt',
  322. [
  323. 'https://ublockorigin.pages.dev/filters/badware.min.txt'
  324. ]
  325. ],
  326. // uBlock Origin Privacy List
  327. [
  328. 'https://ublockorigin.github.io/uAssetsCDN/filters/privacy.min.txt',
  329. [
  330. 'https://ublockorigin.pages.dev/filters/privacy.min.txt'
  331. ]
  332. ],
  333. // uBlock Origin Resource Abuse: merged in uBlock Origin Privacy List
  334. // [
  335. // 'https://ublockorigin.github.io/uAssetsCDN/filters/resource-abuse.txt',
  336. // ['https://ublockorigin.pages.dev/filters/resource-abuse.txt']
  337. // ],
  338. // uBlock Origin Annoyances (the un-merged of Fanboy Annoyances List)
  339. [
  340. 'https://ublockorigin.github.io/uAssetsCDN/filters/annoyances.min.txt',
  341. ['https://ublockorigin.pages.dev/filters/annoyances.min.txt']
  342. ],
  343. // EasyList Annoyances
  344. [
  345. 'https://ublockorigin.github.io/uAssetsCDN/thirdparties/easylist-annoyances.txt',
  346. ['https://ublockorigin.pages.dev/thirdparties/easylist-annoyances.txt']
  347. ],
  348. // EasyList - Newsletters
  349. [
  350. 'https://ublockorigin.github.io/uAssetsCDN/thirdparties/easylist-newsletters.txt',
  351. ['https://ublockorigin.pages.dev/thirdparties/easylist-newsletters.txt']
  352. ],
  353. // EasyList - Notifications
  354. [
  355. 'https://ublockorigin.github.io/uAssets/thirdparties/easylist-notifications.txt',
  356. ['https://ublockorigin.pages.dev/thirdparties/easylist-notifications.txt']
  357. ],
  358. // Fanboy Cookie Monster (EasyList Cookie List)
  359. [
  360. 'https://ublockorigin.github.io/uAssets/thirdparties/easylist-cookies.txt',
  361. [
  362. 'https://ublockorigin.pages.dev/thirdparties/easylist-cookies.txt',
  363. 'https://secure.fanboy.co.nz/fanboy-cookiemonster_ubo.txt'
  364. ]
  365. ],
  366. // Dandelion Sprout's Annoyances
  367. [
  368. 'https://filters.adtidy.org/extension/ublock/filters/250_optimized.txt',
  369. ['https://proxy.cdn.skk.moe/https/filters.adtidy.org/extension/ublock/filters/250_optimized.txt'],
  370. true
  371. ],
  372. // Adblock Warning Removal List
  373. [
  374. 'https://easylist-downloads.adblockplus.org/antiadblockfilters.txt',
  375. [
  376. 'https://filters.adtidy.org/extension/ublock/filters/207_optimized.txt'
  377. ],
  378. true
  379. ]
  380. ];
  381. // In a hostile network like when an ad blocker is present, apps might be crashing, and these errors need to be
  382. // The reason for unblocking crashlytics is to not make developers life worse by breaking crash reporting.
  383. // In a hostile network like when an ad blocker is present, apps might be crashing, and these errors need to be
  384. // reported to devs, otherwise they won't learn about the issue and won't fix it.
  385. // Also, it is not a common third-party analytics tracker, Crashlytics is not used for collecting users' data.
  386. export const CRASHLYTICS_WHITELIST = [
  387. // VSCode Telemetry, see https://sts.online.visualstudio.com/api/swagger/index.html
  388. 'sts.online.visualstudio.com',
  389. // Sentry
  390. '.ingest.sentry.io',
  391. '.ingest.us.sentry.io',
  392. '.ingest.de.sentry.io',
  393. // bugsnag
  394. '.sessions.bugsnag.com',
  395. '.notify.bugsnag.com',
  396. // influxdata
  397. '.cloud.influxdata.com',
  398. '.cloud1.influxdata.com',
  399. '.cloud2.influxdata.com',
  400. // split.io A/B flag
  401. 'streaming.split.io',
  402. 'telemetry.split.io',
  403. 'sdk.split.io',
  404. // Google
  405. // -ds.metric.gstatic.com are specifically exempted from reject, but it could use secondary proxy policy
  406. '.metric.gstatic.com',
  407. // Misc
  408. 'telemetry.1passwordservices.com',
  409. 'b5x-sentry.1passwordservices.com',
  410. 'events.tableplus.com',
  411. 'telemetry.nextjs.org',
  412. 'telemetry.vercel.com',
  413. 'stats.setapp.com',
  414. 'stats.setapp.macpaw.dev',
  415. '.app-analytics-services.com',
  416. '.telemetry.services.yofi.ai',
  417. '.cdn.pubnub.com',
  418. '.data.debugbear.com',
  419. '.cdn.applicationinsights.io',
  420. '.applicationinsights.azure.com',
  421. '.applicationinsights.azure.cn',
  422. '.api.loganalytics.io',
  423. '.bugly.qcloud.com',
  424. '.cdn.signalfx.com',
  425. '.crash-reports.browser.yandex.net',
  426. '.crashlytics2.l.google.com',
  427. '.crashlyticsreports-pa.googleapis.com',
  428. '.e.crashlytics.com',
  429. '.events.backtrace.io',
  430. 'auth.split.io',
  431. 'events.split.io',
  432. 'streaming.split.io',
  433. '.in.appcenter.ms',
  434. '.loggly.com',
  435. '.logz.io',
  436. '.opentelemetry.io',
  437. '.raygun.io', // dashboard lives at raygun.com
  438. '.rum.cronitor.io',
  439. '.settings.crashlytics.com',
  440. '.sny.monosnap.com',
  441. '.lr-ingest.com',
  442. '.cdn.rollbar.com',
  443. '.api.instabug.com',
  444. '.ensighten.com',
  445. 'api.crashguard.me'
  446. ];
  447. export const PREDEFINED_WHITELIST = [
  448. ...CRASHLYTICS_WHITELIST,
  449. '.localhost',
  450. '.local',
  451. '.localdomain',
  452. '.broadcasthost',
  453. '.ip6-loopback',
  454. '.ip6-localnet',
  455. '.ip6-mcastprefix',
  456. '.ip6-allnodes',
  457. '.ip6-allrouters',
  458. '.ip6-allhosts',
  459. '.mcastprefix',
  460. '.skk.moe',
  461. 'analytics.google.com',
  462. '.cloud.answerhub.com',
  463. 'ae01.alicdn.com',
  464. '.whoami.akamai.net',
  465. '.whoami.ds.akahelp.net',
  466. '.instant.page', // No, it doesn't violate anyone's privacy. I will whitelist it
  467. '.piwik.pro',
  468. 'mixpanel.com',
  469. 'cdn.mxpnl.com',
  470. '.heapanalytics.com',
  471. '.segment.com',
  472. '.segmentify.com',
  473. '.t.co', // pgl yoyo add t.co to the blacklist
  474. '.survicate.com', // AdGuardDNSFilter
  475. '.perfops.io', // AdGuardDNSFilter
  476. 'd2axgrpnciinw7.cloudfront.net', // ADGuardDNSFilter
  477. '.sb-cd.com', // AdGuard
  478. '.storage.yandexcloud.net', // phishing list
  479. '.login.microsoftonline.com', // phishing list
  480. 'api.xiaomi.com', // https://github.com/jerryn70/GoodbyeAds/issues/281
  481. 'api.io.mi.com', // https://github.com/jerryn70/GoodbyeAds/issues/281
  482. '.cdn.userreport.com', // https://github.com/AdguardTeam/AdGuardSDNSFilter/issues/1158
  483. '.ip-api.com',
  484. '.fastly-analytics.com',
  485. '.digitaloceanspaces.com',
  486. 's3.nl-ams.scw.cloud',
  487. '.geolocation-db.com',
  488. '.uploads.codesandbox.io',
  489. '.vlscppe.microsoft.com', // Affect Windows ISO download https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/data/combined_disguised_trackers.txt
  490. '.statsig.com', // OpenAI use this for A/B testing
  491. '.pstmrk.it', // Fuck Peter Lowe Hosts
  492. '.clicks.mlsend.com', // Fuck Peter Lowe Hosts
  493. 'email.accounts.bitly.com', // Fuck Peter Lowe Hosts
  494. 'adsense.google.com', // Fuck Peter Lowe Hosts
  495. 'api.vip.miui.com', // Fuck Goodbye Xiaomi Ads
  496. 'api.comm.miui.com', // Xiaomi MIUI phone number database update URL
  497. '.ai.api.xiaomi.com', // Fuck Goodbye Xiaomi Ads
  498. 'm.stripe.com', // EasyPrivacy only blocks m.stripe.com wwith $third-party,
  499. // yet stupid AdGuardDNSFilter blocks all of it. Stupid AdGuard
  500. '.w3s.link', // stupid phishing.army, introduce both "*.ipfs.w3s.link" and ".w3s.link" to the block list
  501. '.r2.dev', // Despite 5000+ r2 instances used for phishing, yet cloudflare refuse to do anything. we have no choice but whitelist this.
  502. 'mlsend.com', // Fuck Peter Lowe Hosts
  503. 'ab.chatgpt.com', // EasyPrivacy blocks this
  504. 'jnn-pa.googleapis.com', // ad-wars
  505. 'imasdk.googleapis.com', // ad-wars
  506. '.in-addr.arpa', // rDNS
  507. '.ip6.arpa', // rDNS
  508. '.clients.your-server.de', // rDNS .static.183.213.201.138.clients.your-server.de
  509. '.bc.googleusercontent.com', // rDNS 218.178.172.34.bc.googleusercontent.com
  510. '.host.secureserver.net', // rDNS .64.149.167.72.host.secureserver.net,
  511. '.ip.linodeusercontent.com', // rDNS 45-79-169-153.ip.linodeusercontent.com
  512. '.static.akamaitechnologies.com', // rDNS a23-57-90-107.deploy.static.akamaitechnologies.com
  513. '.compute.amazonaws.com', // rDNS ec2-3-22-96-128.us-east-2.compute.amazonaws.com
  514. '.shoppy.gg', // Spam404
  515. 'transcend-cdn.com', // AdGuard Annoyances
  516. 'store1.gofile.io', // Dandelion Sprout's Annoyances List
  517. 'ad.12306.cn', // https://github.com/jdlingyu/ad-wars
  518. '.ib.snssdk.com', // AdGuard Tracking Protection -- breaks 今日头条专业版
  519. '.nstool.netease.com', // it is only used to check local dns
  520. '.wns.windows.com', // Windows Push Notifications. Besides there is no point in adding these
  521. 'widget-mediator.zopim.com', // breaking zendesk chat
  522. '.llnw.net', // entire llnm.net has dead
  523. 'repo.huaweicloud.com', // urlhaus
  524. '.hubspotlinks.com', // Peter Lowe Hosts
  525. 'cldup.com', // OSINT
  526. 'cuty.io', // short domain like bitly, blocked by phishing army
  527. 'links.strava.com', // AdGuard CNAME Clickthrough Filters
  528. 'email.strava.com', // EasyList
  529. 'insideruser.microsoft.com', // WindowsSpyBlocker
  530. // Doesn't make sense: CNAME domains
  531. '.cdn.cloudflare.net',
  532. '.apple-dns.net',
  533. '.data.microsoft.com.akadns.net',
  534. // Expired domains
  535. '.expobarrio.com',
  536. '.hamdandates.com',
  537. '.amzone.co.jp',
  538. '.xpanama.net',
  539. // Migrate from SmartTV-AGH List
  540. 'mhc-ajax-eu.myhomescreen.tv',
  541. 'mhc-ajax-eu-s2.myhomescreen.tv',
  542. 'mhc-xpana-eu.myhomescreen.tv',
  543. 'mhc-xpana-eu-s2.myhomescreen.tv',
  544. 'infolink.pavv.co.kr',
  545. 'hbbtv.zdf.de',
  546. 'hbbtv.prosieben.de',
  547. 'hbbtv.redbutton.de',
  548. 'hbbtv.kika.de'
  549. ];
  550. export const BOGUS_NXDOMAIN_DNSMASQ = [
  551. 'https://cdn.jsdelivr.net/gh/felixonmars/dnsmasq-china-list@master/bogus-nxdomain.china.conf',
  552. ['https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/master/bogus-nxdomain.china.conf']
  553. ] as const;