reject-data-source.ts 23 KB

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