From bf89feb31337c863999b280f5bff55f919ae620f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=BD=E5=90=A7=EF=BC=8C=E4=BD=A0=E6=83=B3=E8=AF=B4?= =?UTF-8?q?=E5=95=A5?= Date: Tue, 12 Sep 2023 14:48:50 +0800 Subject: [PATCH] Delete invalid option (#187) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 移除不可用的候选项 * 移除不可用的候选项 --- .../{ => no_use}/public-cdn.geekzu.org.json | 0 .../rules/mirrors/ajax.googleapis.com.json | 30 --------------- .../rules/mirrors/fonts.googleapis.com.json | 34 ----------------- .../rules/mirrors/fonts.gstatic.com.json | 31 --------------- extension/rules/mirrors/gravatar.com.json | 38 ------------------- .../mirrors/themes.googleusercontent.com.json | 31 --------------- public-cdn.md | 2 +- 7 files changed, 1 insertion(+), 165 deletions(-) rename extension/rules/example-no-use/provider/{ => no_use}/public-cdn.geekzu.org.json (100%) diff --git a/extension/rules/example-no-use/provider/public-cdn.geekzu.org.json b/extension/rules/example-no-use/provider/no_use/public-cdn.geekzu.org.json similarity index 100% rename from extension/rules/example-no-use/provider/public-cdn.geekzu.org.json rename to extension/rules/example-no-use/provider/no_use/public-cdn.geekzu.org.json diff --git a/extension/rules/mirrors/ajax.googleapis.com.json b/extension/rules/mirrors/ajax.googleapis.com.json index 2dc293a6..661435bb 100644 --- a/extension/rules/mirrors/ajax.googleapis.com.json +++ b/extension/rules/mirrors/ajax.googleapis.com.json @@ -129,36 +129,6 @@ } }, - { - "id": 5, - "priority": 100, - "action": { - "type": "redirect", - "redirect": { - "regexSubstitution": "https://gapis.geekzu.org/ajax/ajax/libs/\\1" - } - }, - "condition": { - "regexFilter": "^https?://ajax\\.googleapis\\.com/ajax/libs/(.*?)", - "requestDomains": ["ajax.googleapis.com"], - "resourceTypes": [ - "main_frame", - "sub_frame", - "stylesheet", - "script", - "image", - "font", - "object", - "xmlhttprequest", - "ping", - "csp_report", - "media", - "websocket", - - "other" - ] - } - }, { "id": 7, "priority": 90, diff --git a/extension/rules/mirrors/fonts.googleapis.com.json b/extension/rules/mirrors/fonts.googleapis.com.json index 30ef3a1e..7d19c7ab 100644 --- a/extension/rules/mirrors/fonts.googleapis.com.json +++ b/extension/rules/mirrors/fonts.googleapis.com.json @@ -67,40 +67,6 @@ } }, - { - "id": 3, - "priority": 100, - "action": { - "type": "redirect", - "redirect": { - "transform": { - "scheme": "https", - "host": "fonts.geekzu.org" - } - } - }, - "condition": { - "urlFilter": "|http*://fonts.googleapis.com", - "requestDomains": ["fonts.googleapis.com"], - "resourceTypes": [ - "main_frame", - "sub_frame", - "stylesheet", - "script", - "image", - "font", - "object", - "xmlhttprequest", - "ping", - "csp_report", - "media", - "websocket", - - "other" - ] - } - }, - { "id": 4, "priority": 100, diff --git a/extension/rules/mirrors/fonts.gstatic.com.json b/extension/rules/mirrors/fonts.gstatic.com.json index 1044a900..97691214 100644 --- a/extension/rules/mirrors/fonts.gstatic.com.json +++ b/extension/rules/mirrors/fonts.gstatic.com.json @@ -33,37 +33,6 @@ } }, - { - "id": 2, - "priority": 100, - "action": { - "type": "redirect", - "redirect": { - "regexSubstitution": "https://gapis.geekzu.org/g-fonts/\\1" - } - }, - "condition": { - "regexFilter": "^https?://fonts\\.gstatic\\.com/(.*?)", - "requestDomains": ["fonts.gstatic.com"], - "resourceTypes": [ - "main_frame", - "sub_frame", - "stylesheet", - "script", - "image", - "font", - "object", - "xmlhttprequest", - "ping", - "csp_report", - "media", - "websocket", - - "other" - ] - } - }, - { "id": 3, "priority": 100, diff --git a/extension/rules/mirrors/gravatar.com.json b/extension/rules/mirrors/gravatar.com.json index 81919f63..eb757eed 100644 --- a/extension/rules/mirrors/gravatar.com.json +++ b/extension/rules/mirrors/gravatar.com.json @@ -77,44 +77,6 @@ } }, - { - "id": 3, - "priority": 100, - "action": { - "type": "redirect", - "redirect": { - "transform": { - "scheme": "https", - "host": "sdn.geekzu.org" - } - } - }, - "condition": { - "urlFilter": "|http*://*.gravatar.com", - "requestDomains": [ - "secure.gravatar.com", - "www.gravatar.com", - "cn.gravatar.com", - "en.gravatar.com" - ], - "resourceTypes": [ - "main_frame", - "sub_frame", - "stylesheet", - "script", - "image", - "font", - "object", - "xmlhttprequest", - "ping", - "csp_report", - "media", - "websocket", - - "other" - ] - } - }, { "id": 5, "priority": 100, diff --git a/extension/rules/mirrors/themes.googleusercontent.com.json b/extension/rules/mirrors/themes.googleusercontent.com.json index d90123b8..6d020c69 100644 --- a/extension/rules/mirrors/themes.googleusercontent.com.json +++ b/extension/rules/mirrors/themes.googleusercontent.com.json @@ -33,37 +33,6 @@ } }, - { - "id": 2, - "priority": 100, - "action": { - "type": "redirect", - "redirect": { - "regexSubstitution": "https://gapis.geekzu.org/g-themes/\\1" - } - }, - "condition": { - "regexFilter": "^https?://themes\\.googleusercontent\\.com/(.*?)", - "requestDomains": ["themes.googleusercontent.com"], - "resourceTypes": [ - "main_frame", - "sub_frame", - "stylesheet", - "script", - "image", - "font", - "object", - "xmlhttprequest", - "ping", - "csp_report", - "media", - "websocket", - - "other" - ] - } - }, - { "id": 3, "priority": 100, diff --git a/public-cdn.md b/public-cdn.md index c7fdb1cc..64208b93 100644 --- a/public-cdn.md +++ b/public-cdn.md @@ -11,7 +11,7 @@ 1. [cloudflare ](https://cdnjs.com/) 1. [google libraries cn](https://developers.google.cn/speed/libraries) 1. [七牛静态库 Staticfile CDN](http://staticfile.org/) -1. [极客族公共加速服务](https://cdn.geekzu.org/cached.html) +1. [~极客族公共加速服务~](https://cdn.geekzu.org/cached.html) 1. [CDNJS 南方科技大学](https://mirrors.sustech.edu.cn/help/cdnjs.html) 1. [CDNJS mirror list ](https://mirrorz.org/list/cdnjs) 1. [公共 CDN 静态资源加速服务 7ED Services ](https://www.7ed.net/start/public-cdn.html)