-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1、屏蔽 content-security-policy功能,新增4个屏蔽选项;2、新增 移除CSP的请求地址 githubusercon…
…tent.com;3、test 环境 新增功能;4、test 环境新增 PJAX报错解决办法 (#93) * add func remove CSP * 新增参考文档 * 添加测试用例 * 添加替换地址为指定服务地址功能,用于查看chromium源码 * add docker run nginx server * 补上80端口配置 * add opensource.goole url * add cs.opensource.google url * 使用自己架设的 nginx服务地址替换CDN地址 * change CSP variable name * 添加固定替换CDN地址方法 * 替换指定数目的域名 * 添加测试用例 * 优化nginx 配置 * 优化nginx 配置二 * 优化nginx 配置三 * 优化nginx 配置增加简单权限验证阻止滥用 * 优化nginx 配置五 * 添加测试演示用例 * 添加测试演示用例 * 修改动态地址替换注释 * 修改错误的单词 * 移除与扩展无关的server文件 * 去除普通用户无关的测试脚本以及服务端搭建脚本 * 修改maxcdn.bootstrapcdn.com替换地址 * 替换code.jquery.com 为 ajax.aspnetcdn.com * code.jquery.com 地址替换 * 1、增加域名替换白名单机制;2、两种地址替换方法,依靠优先级混合使用;3新增code.jquery.com域名下jquery 替换 * delete ytb * 新增高级玩法 * 新增test service-worker * change changelog * add replace jquery-ui * test sw.js * 增加cdnjs.cloudflare.com替换为cdnjs.loli.net * add opensource.google url replace * remove githubusercontent.com content-security-policy * 新增CSP 4个屏蔽选项 * 解决冲突 * 解决冲突 * 解决冲突 * 解决冲突 * add docker run nginx server * 补上80端口配置 * 解决冲突4 * 新增新增 替换规则 ,默认未启用 * remove manifesst rule ruleset_cdn_cloudflare_1 * 修改注释 * change test enviroment README.md
- Loading branch information
1 parent
fa24a3e
commit 8ee36bb
Showing
17 changed files
with
476 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[ | ||
{ | ||
"id": 1, | ||
"priority": 1, | ||
"action": { | ||
"type": "redirect", | ||
"redirect": { | ||
"transform": { "scheme": "https", "host": "cdnjs.loli.net" } | ||
} | ||
}, | ||
"condition": { | ||
"urlFilter": "cdnjs.cloudflare.com/ajax/libs", | ||
"resourceTypes": [ | ||
"main_frame", "sub_frame", "stylesheet", "script", "image", "font", | ||
"object", "xmlhttprequest", "ping", "csp_report", "media", "websocket", | ||
"webtransport", "webbundle", "other" | ||
] | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.