Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

扩展选项页完善-第二版 #102

Merged
merged 31 commits into from
Sep 30, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
3a7ee94
重新启用对firefox 的支持和衍生新仓库
jingjingxyk Jun 26, 2022
23ba49d
merge upstream code
jingjingxyk Jul 31, 2022
d6b54f7
新增 高阶定制玩法 辅助工具 新增 扩展程序选项 使用 prettier 格式化代码
jingjingxyk Jul 31, 2022
45ba2d8
change options_ui
jingjingxyk Jul 31, 2022
956dbce
test update-auth.sh
jingjingxyk Jul 31, 2022
fcb289f
save update-domain.sh changed
jingjingxyk Jul 31, 2022
056e315
save change
jingjingxyk Jul 31, 2022
d16f8cf
fix error
jingjingxyk Jul 31, 2022
724a974
fix error
jingjingxyk Jul 31, 2022
008fb7c
add public static library
jingjingxyk Jul 31, 2022
9dd7426
fix error
jingjingxyk Jul 31, 2022
655590c
修改打包程序,打包时去除无用文件
jingjingxyk Aug 1, 2022
b9f3134
fix test/READM.md test
jingjingxyk Aug 1, 2022
7d0581c
change v2 version
jingjingxyk Aug 1, 2022
a29fd5c
change auto deploy.yaml setup
jingjingxyk Aug 1, 2022
963d535
change release-archive.sh
jingjingxyk Aug 1, 2022
6f865c1
扩展选项:添加规则功能暂时屏蔽
jingjingxyk Aug 2, 2022
37a786e
完善扩展选项页
jingjingxyk Sep 30, 2022
1495119
完善自定义规则
jingjingxyk Sep 30, 2022
dbed3b0
完善自定义规则
jingjingxyk Sep 30, 2022
cd23e2d
完善自定义规则
jingjingxyk Sep 30, 2022
5b5beda
完善自定义规则
jingjingxyk Sep 30, 2022
c8c51b7
完善自定义规则
jingjingxyk Sep 30, 2022
1af58b5
完善自定义规则
jingjingxyk Sep 30, 2022
6ffa92d
完善自定义规则
jingjingxyk Sep 30, 2022
c3ef963
完善扩展选项页
jingjingxyk Sep 30, 2022
bae46fb
完善扩展选项页
jingjingxyk Sep 30, 2022
a2e3b1f
完善扩展选项页
jingjingxyk Sep 30, 2022
3f4182b
完善扩展选项页
jingjingxyk Sep 30, 2022
5e6df28
完善扩展选项页
jingjingxyk Sep 30, 2022
93fabab
完善扩展选项页
jingjingxyk Sep 30, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix error
  • Loading branch information
jingjingxyk committed Jul 31, 2022
commit d16f8cf9f74665c79bdb2e860aeff6bfbb37a607
2 changes: 1 addition & 1 deletion CHANGELOG-0.10.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## [一个完整的 测试环境例子 可用于查看优秀的源码 ](https://github.com/jingjingxyk/extension-v3-test)

## CHANGELOG for 0.10.7
## CHANGELOG for 0.10.7 [2022-07-31 12:43:40 +0800]

> 1. 新增 `developers.google.com` - 替换为 `developers.google.cn`
> 2. 整理规则,合并规则文件,并且重命名名称
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
1. `code.jquery.com/jquery-(version)(suffix)` - jquery 框架使用的 CDN,替换为 `lib.baomitu.com/jquery/$verson/$suffix`
1. `cdnjs.cloudflare.com` - 替换为 `cdnjs.loli.net` 默认未启用, 需要请自行打开
1. `cdn.jsdelivr.net` - 替换为 `fastly.jsdelivr.net`
1. `developers.google.com` - 替换为 `developers.google.cn`

## 功能变更记录[`CHANGELOG-0.10.x`](CHANGELOG-0.10.x.md)

Expand Down
1 change: 1 addition & 0 deletions extension-v2/js/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const remove_cps_urls = [
"*://translate.googleapis.com/*",
"*://developers.redhat.com/*",
"*://githubusercontent.com/*",
"*://pub.dev/*",
];

/**
Expand Down
5 changes: 2 additions & 3 deletions extension-v2/manifest.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "Replace Google CDN",
"version": "0.10.7",
"version": "0.9.0",
"manifest_version": 2,
"icons": {
"128": "icons/128.png"
},
"description": "将 Google CDN 替换为国内镜像",
"background": {
"service_worker": "js/background.js",
"type": "module"
"scripts": ["js/background.js"]
},
"permissions": ["webRequest", "webRequestBlocking", "<all_urls>"],
"author": "https://github.com/justjavac",
Expand Down
2 changes: 1 addition & 1 deletion extension/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Replace Google CDN",
"version": "0.10.5",
"version": "0.10.7",
"manifest_version": 3,
"icons": {
"128": "icons/128.png"
Expand Down
1 change: 0 additions & 1 deletion extension/options_ui/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ let rules = {
"/rules/rules_remove_content_security_policy_header.json",
};


let updateRule = (ruleinfo) => {
let id = 1;
let domain = "example.com";
Expand Down