Skip to content

Latest commit

 

History

History
74 lines (61 loc) · 5.84 KB

README.md

File metadata and controls

74 lines (61 loc) · 5.84 KB

测试用例

打开 dev-tools 面板查看请求

  1. stackoverflow 打开 https://stackoverflow.com/tags/socat/hot?filter=all 查看结果
  2. Google reCAPTCHA 打开 https://patrickhlauke.github.io/recaptcha/ 查看结果
  3. pub.dev 域名下 fonts.googleapis.com 无法地址重定向; 打开 https://pub.dev/ 查看结果
  4. cdn.jsdelivr.net 替换为 fastly.jsdelivr.net 打开 https://cdn.jsdelivr.net/ 查看结果
  5. cdnjs.cloudflare.com 替换为 cdnjs.loli.net 打开 https://cdnjs.cloudflare.com/ 查看结果
  6. developers.google.com 替换为 developers.google.cn 打开 https://developers.google.com/ 查看结果
  7. code.jquery.com/jquery- 替换为 lib.baomitu.com/jquery/ 打开 https://releases.jquery.com/ 查看结果
  8. code.jquery.com/ui/ 替换为 ajax.aspnetcdn.com/ajax/jquery.ui 打开 https://releases.jquery.com/ 查看结果
  9. commondatastorage.googleapis.com/chromium-browser-snapshots/ 替换为 https://registry.npmmirror.com/-/binary/chromium-browser-snapshots//Mac/1086244/chrome-mac.zip 打开 https://commondatastorage.googleapis.com/chromium-browser-snapshots/ 查看结果
  10. developer.android.com
  11. source.android.com
  12. jquery
  13. material

扩展选项页,同步服务器端规则例子一

规则文件源地址

https://www.jingjingxyk.com/chromium-extension/extension-v3-test/rules/auth.json?raw=true
https://www.jingjingxyk.com/chromium-extension/extension-v3-test/rules/rules_advance_redirect_1.json?raw=true
https://www.jingjingxyk.com/chromium-extension/extension-v3-test/rules/rules_advance_redirect_2.json?raw=true
https://www.jingjingxyk.com/chromium-extension/extension-v3-test/rules/rules_block_request.json?raw=true
https://www.jingjingxyk.com/chromium-extension/extension-v3-test/rules/rules_redirect_extra.json?raw=true
https://www.jingjingxyk.com/chromium-extension/extension-v3-test/rules/rules_remove_content_security_policy_header.json?raw=true

扩展选项页,同步服务器端规则例子二

https://github.com/jingjingxyk/extension-v3-test/blob/main/rules/auth.json?raw=true
https://github.com/jingjingxyk/extension-v3-test/blob/main/rules/rules_advance_redirect_1.json?raw=true
https://github.com/jingjingxyk/extension-v3-test/blob/main/rules/rules_advance_redirect_2.json?raw=true
https://github.com/jingjingxyk/extension-v3-test/blob/main/rules/rules_block_request.json?raw=true
https://github.com/jingjingxyk/extension-v3-test/blob/main/rules/rules_redirect_extra.json?raw=true
https://github.com/jingjingxyk/extension-v3-test/blob/main/rules/rules_remove_content_security_policy_header.json?raw=true

扩展选项页,同步服务器端规则例子三 (覆盖静态默认规则候选项)

载入规则,优先级高的规则生效

https://github.com/justjavac/ReplaceGoogleCDN/blob/master/extension/rules/mirrors/ajax.googleapis.com.json?raw=true
https://github.com/justjavac/ReplaceGoogleCDN/blob/master/extension/rules/mirrors/cdn.jsdelivr.net.json?raw=true
https://github.com/justjavac/ReplaceGoogleCDN/blob/master/extension/rules/mirrors/fonts.googleapis.com.json?raw=true
https://github.com/justjavac/ReplaceGoogleCDN/blob/master/extension/rules/mirrors/themes.googleusercontent.com.json?raw=true
https://github.com/justjavac/ReplaceGoogleCDN/blob/master/extension/rules/mirrors/code.jquery.com.json?raw=true
https://github.com/justjavac/ReplaceGoogleCDN/blob/master/extension/rules/mirrors/fonts.gstatic.com.json?raw=true
https://github.com/justjavac/ReplaceGoogleCDN/blob/master/extension/rules/mirrors/translate.googleapis.com.json?raw=true
https://github.com/justjavac/ReplaceGoogleCDN/blob/master/extension/rules/mirrors/cdnjs.cloudflare.com.json?raw=true
https://github.com/justjavac/ReplaceGoogleCDN/blob/master/extension/rules/mirrors/code.jquery.com-ui.json?raw=true
https://github.com/justjavac/ReplaceGoogleCDN/blob/master/extension/rules/mirrors/gravatar.com.json?raw=true
https://github.com/justjavac/ReplaceGoogleCDN/blob/master/extension/rules/mirrors/www.gstatic.com.json?raw=true


# 镜像地址

https://www.jingjingxyk.com/chromium-extension/ReplaceGoogleCDN/rules/mirrors/ajax.googleapis.com.json?raw=true
https://www.jingjingxyk.com/chromium-extension/ReplaceGoogleCDN/rules/mirrors/cdn.jsdelivr.net.json?raw=true
https://www.jingjingxyk.com/chromium-extension/ReplaceGoogleCDN/rules/mirrors/fonts.googleapis.com.json?raw=true
https://www.jingjingxyk.com/chromium-extension/ReplaceGoogleCDN/rules/mirrors/themes.googleusercontent.com.json?raw=true
https://www.jingjingxyk.com/chromium-extension/ReplaceGoogleCDN/rules/mirrors/code.jquery.com.json?raw=true
https://www.jingjingxyk.com/chromium-extension/ReplaceGoogleCDN/rules/mirrors/fonts.gstatic.com.json?raw=true
https://www.jingjingxyk.com/chromium-extension/ReplaceGoogleCDN/rules/mirrors/translate.googleapis.com.json?raw=true
https://www.jingjingxyk.com/chromium-extension/ReplaceGoogleCDN/rules/mirrors/cdnjs.cloudflare.com.json?raw=true
https://www.jingjingxyk.com/chromium-extension/ReplaceGoogleCDN/rules/mirrors/code.jquery.com-ui.json?raw=true
https://www.jingjingxyk.com/chromium-extension/ReplaceGoogleCDN/rules/mirrors/gravatar.com.json?raw=true
https://www.jingjingxyk.com/chromium-extension/ReplaceGoogleCDN/rules/mirrors/www.gstatic.com.json?raw=true