瀏覽代碼

Block `polyfill-js.cn`

SukkaW 1 年之前
父節點
當前提交
4a2f7a0345
共有 3 個文件被更改,包括 5 次插入0 次删除
  1. 1 0
      Build/build-sgmodule-redirect.ts
  2. 3 0
      Source/domainset/cdn.conf
  3. 1 0
      Source/domainset/reject_sukka.conf

+ 1 - 0
Build/build-sgmodule-redirect.ts

@@ -68,6 +68,7 @@ const REDIRECT_MIRROR = [
   ['raw.kkgithub.com/', 'https://raw.githubusercontent.com/'],
   // Polyfill
   ['polyfill.io/', 'https://cdnjs.cloudflare.com/polyfill/'],
+  ['polyfill-js.cn/', 'https://cdnjs.cloudflare.com/polyfill/'],
   ['cdn.polyfill.io/', 'https://cdnjs.cloudflare.com/polyfill/'],
   ['fastly-polyfill.io/', 'https://cdnjs.cloudflare.com/polyfill/'],
   ['fastly-polyfill.net/', 'https://cdnjs.cloudflare.com/polyfill/'],

+ 3 - 0
Source/domainset/cdn.conf

@@ -2761,3 +2761,6 @@ s1.divhunt.com
 .wpmucdn.com
 cdn.permutive.com
 images.bfmtv.com
+.img-dpreview.com
+.assets.adidas.com
+.glass.adidas.com

+ 1 - 0
Source/domainset/reject_sukka.conf

@@ -74,6 +74,7 @@ optimus-ads.amap.com
 # https://sansec.io/research/polyfill-supply-chain-attack
 # https://www.bleepingcomputer.com/news/security/polyfillio-javascript-supply-chain-attack-impacts-over-100k-sites/
 .polyfill.io
+.polyfill-js.cn
 # Other Public CDN also infected by the same company
 .staticfile.org
 .staticfile.net