Skip to content

Commit 42664a7

Browse files
committed
feat: format json & watermaker match
1 parent eb9254f commit 42664a7

File tree

8 files changed

+169
-203
lines changed

8 files changed

+169
-203
lines changed

packages/copy-currency/meta.json

Lines changed: 20 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,21 @@
11
{
2-
"name": {
3-
"default": "🔥🔥🔥文本选中复制(通用)🔥🔥🔥",
4-
"en": "Text Copy Universal",
5-
"zh-CN": "🔥🔥🔥文本选中复制(通用)🔥🔥🔥"
6-
},
7-
"namespace": "https://github.com/WindrunnerMax/TKScript",
8-
"version": "1.1.2",
9-
"description": {
10-
"default": "文本选中复制通用版本,适用于大多数网站",
11-
"en": "Text copy general version, suitable for most websites.",
12-
"zh-CN": "文本选中复制通用版本,适用于大多数网站"
13-
},
14-
"author": "Czy",
15-
"match": [
16-
"http://*/*",
17-
"https://*/*"
18-
],
19-
"supportURL": "https://github.com/WindrunnerMax/TKScript/issues",
20-
"license": "GPL License",
21-
"installURL": "https://github.com/WindrunnerMax/TKScript",
22-
"run-at": "document-end",
23-
"grant": [
24-
"GM_registerMenuCommand",
25-
"GM_unregisterMenuCommand",
26-
"GM_notification"
27-
]
28-
}
2+
"name": {
3+
"default": "🔥🔥🔥文本选中复制(通用)🔥🔥🔥",
4+
"en": "Text Copy Universal",
5+
"zh-CN": "🔥🔥🔥文本选中复制(通用)🔥🔥🔥"
6+
},
7+
"namespace": "https://github.com/WindrunnerMax/TKScript",
8+
"version": "1.1.2",
9+
"description": {
10+
"default": "文本选中复制通用版本,适用于大多数网站",
11+
"en": "Text copy general version, suitable for most websites.",
12+
"zh-CN": "文本选中复制通用版本,适用于大多数网站"
13+
},
14+
"author": "Czy",
15+
"match": ["http://*/*", "https://*/*"],
16+
"supportURL": "https://github.com/WindrunnerMax/TKScript/issues",
17+
"license": "GPL License",
18+
"installURL": "https://github.com/WindrunnerMax/TKScript",
19+
"run-at": "document-end",
20+
"grant": ["GM_registerMenuCommand", "GM_unregisterMenuCommand", "GM_notification"]
21+
}

packages/copy/meta.json

Lines changed: 107 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -1,112 +1,109 @@
11
{
2-
"name": "🔥🔥🔥文本选中复制🔥🔥🔥",
3-
"namespace": "https://github.com/WindrunnerMax/TKScript",
4-
"version": "6.2.8",
5-
"description": "解除网站不允许复制的限制,文本选中后点击复制按钮即可复制,主要用于 百度文库 道客巴巴 腾讯文档 豆丁网 无忧考网 学习啦 蓬勃范文 思否社区 力扣 知乎 语雀 等",
6-
"author": "Czy",
7-
"match": [
8-
"*://wenku.baidu.com/view/*",
9-
"*://wenku.baidu.com/share/*",
10-
"*://wenku.baidu.com/link*",
11-
"*://wenku.baidu.com/aggs/*",
12-
"*://wenku.baidu.com/ndPureView/*",
13-
"*://www.51test.net/show/*",
14-
"*://www.xuexi.la/*",
15-
"*://www.xuexila.com/*",
16-
"*://www.cspengbo.com/*",
17-
"*://*.doc88.com/*",
18-
"*://segmentfault.com/*",
19-
"*://wk.baidu.com/view/*",
20-
"*://leetcode-cn.com/problems/*",
21-
"*://leetcode.cn/problems/*",
22-
"*://*.zhihu.com/*",
23-
"*://z.30edu.com.cn/*",
24-
"*://docs.qq.com/doc/*",
25-
"*://docs.qq.com/sheet/*",
26-
"*://docs.qq.com/slide/*",
27-
"*://boke112.com/post/*",
28-
"*://*.yuque.com/*",
29-
"*://www.commandlinux.com/*",
30-
"*://*.diyifanwen.com/*",
31-
"*://*.mbalib.com/*",
32-
"*://*.cnitpm.com/*",
33-
"*://bbs.mihoyo.com/ys/*",
34-
"*://*.ruiwen.com/*",
35-
"*://www.uemeds.cn/*",
36-
"*://www.oh100.com/*",
37-
"*://www.aiyuke.com/news/*",
38-
"*://www.fwsir.com/*",
39-
"*://www.wenxm.cn/*",
40-
"*://www.unjs.com/*",
41-
"*://www.ahsrst.cn/*",
42-
"*://*.yjbys.com/*",
43-
"*://*.qidian.com/*",
44-
"*://*.zongheng.com/*",
45-
"*://*.17k.com/*",
46-
"*://*.ciweimao.com/*",
47-
"*://book.qq.com/*",
48-
"*://*.360doc.com/content/*",
49-
"*://*.850500.com/news/*",
50-
"*://utaten.com/lyric/*",
51-
"*://*.jianbiaoku.com/*",
52-
"*://*.kt250.com/*",
53-
"*://www.kejudati.com/*",
54-
"*://*.xiaohongshu.com/discovery/*",
55-
"*://*.baibeike.com/*",
56-
"*://*.blog.csdn.net/*",
57-
"*://*.bilibili.com/read/*",
58-
"*://*.cnki.net/KXReader/*",
59-
"*://*.cnrencai.com/*",
60-
"*://*.kodiplayer.cn/*",
61-
"*://tongxiehui.net/*",
62-
"*://*.jianshu.com/p/*",
63-
"*://*.linovelib.com/novel/*",
64-
"*://*.wjx.cn/*",
65-
"*://*.wjx.top/*",
66-
"*://*.chazidian.com/*",
67-
"*://*.juejin.cn/post/*",
68-
"*://*.zgbk.com/ecph/*",
69-
"*://*.wenmi.com/article/*",
70-
"*://yuedu.baidu.com/*",
71-
"*://www.inrrp.com.cn/*",
72-
"*://fanyi.baidu.com/mtpe/*",
73-
"*://www.shubaoc.com/*",
74-
"*://blog.51cto.com/*",
75-
"*://www.ximalaya.com/*",
76-
"*://*.tianqi.com/*",
77-
"*://*.xiexiebang.com/*",
78-
"*://*.docin.com/*",
79-
"*://*.ddwk8.cn/*",
80-
"*://*.php.cn/*",
81-
"*://cooco.net.cn/*",
82-
"*://fanqienovel.com/*",
83-
"*://*.mobiletrain.org/*",
84-
"*://*.examcoo.com/*",
85-
"*://*.rrdynb.com/*",
86-
"*://*.fuwu7.com/*",
87-
"*://*.xiangqiqipu.com/*",
88-
"*://note.youdao.com/*",
89-
"*://*.163.com/*",
90-
"*://*.aipiaxi.com/*",
91-
"*://wenku.csdn.net/*",
92-
"*://www.kdocs.cn/*",
93-
"*://www.xiaoyuzhoufm.com/*",
94-
"*://*.mcmod.cn/*",
95-
"*://*.zsxq.com/",
96-
"*://*.volcengine.com/*",
97-
"*://*.lyrical-nonsense.com/*",
98-
"*://*.xueqiu.com/*",
99-
"*://*.php.cn/*",
100-
"*://*.51cto.com/*",
101-
"*://*.educoder.net/*"
102-
],
103-
"supportURL": "https://github.com/WindrunnerMax/TKScript/issues",
104-
"license": "GPL License",
105-
"installURL": "https://github.com/WindrunnerMax/TKScript",
106-
"run-at": "document-start",
107-
"grant": [
108-
"unsafeWindow",
109-
"GM_xmlhttpRequest"
110-
],
111-
"connect": "res3.doc88.com"
2+
"name": "🔥🔥🔥文本选中复制🔥🔥🔥",
3+
"namespace": "https://github.com/WindrunnerMax/TKScript",
4+
"version": "6.2.8",
5+
"description": "解除网站不允许复制的限制,文本选中后点击复制按钮即可复制,主要用于 百度文库 道客巴巴 腾讯文档 豆丁网 无忧考网 学习啦 蓬勃范文 思否社区 力扣 知乎 语雀 等",
6+
"author": "Czy",
7+
"match": [
8+
"*://wenku.baidu.com/view/*",
9+
"*://wenku.baidu.com/share/*",
10+
"*://wenku.baidu.com/link*",
11+
"*://wenku.baidu.com/aggs/*",
12+
"*://wenku.baidu.com/ndPureView/*",
13+
"*://www.51test.net/show/*",
14+
"*://www.xuexi.la/*",
15+
"*://www.xuexila.com/*",
16+
"*://www.cspengbo.com/*",
17+
"*://*.doc88.com/*",
18+
"*://segmentfault.com/*",
19+
"*://wk.baidu.com/view/*",
20+
"*://leetcode-cn.com/problems/*",
21+
"*://leetcode.cn/problems/*",
22+
"*://*.zhihu.com/*",
23+
"*://z.30edu.com.cn/*",
24+
"*://docs.qq.com/doc/*",
25+
"*://docs.qq.com/sheet/*",
26+
"*://docs.qq.com/slide/*",
27+
"*://boke112.com/post/*",
28+
"*://*.yuque.com/*",
29+
"*://www.commandlinux.com/*",
30+
"*://*.diyifanwen.com/*",
31+
"*://*.mbalib.com/*",
32+
"*://*.cnitpm.com/*",
33+
"*://bbs.mihoyo.com/ys/*",
34+
"*://*.ruiwen.com/*",
35+
"*://www.uemeds.cn/*",
36+
"*://www.oh100.com/*",
37+
"*://www.aiyuke.com/news/*",
38+
"*://www.fwsir.com/*",
39+
"*://www.wenxm.cn/*",
40+
"*://www.unjs.com/*",
41+
"*://www.ahsrst.cn/*",
42+
"*://*.yjbys.com/*",
43+
"*://*.qidian.com/*",
44+
"*://*.zongheng.com/*",
45+
"*://*.17k.com/*",
46+
"*://*.ciweimao.com/*",
47+
"*://book.qq.com/*",
48+
"*://*.360doc.com/content/*",
49+
"*://*.850500.com/news/*",
50+
"*://utaten.com/lyric/*",
51+
"*://*.jianbiaoku.com/*",
52+
"*://*.kt250.com/*",
53+
"*://www.kejudati.com/*",
54+
"*://*.xiaohongshu.com/discovery/*",
55+
"*://*.baibeike.com/*",
56+
"*://*.blog.csdn.net/*",
57+
"*://*.bilibili.com/read/*",
58+
"*://*.cnki.net/KXReader/*",
59+
"*://*.cnrencai.com/*",
60+
"*://*.kodiplayer.cn/*",
61+
"*://tongxiehui.net/*",
62+
"*://*.jianshu.com/p/*",
63+
"*://*.linovelib.com/novel/*",
64+
"*://*.wjx.cn/*",
65+
"*://*.wjx.top/*",
66+
"*://*.chazidian.com/*",
67+
"*://*.juejin.cn/post/*",
68+
"*://*.zgbk.com/ecph/*",
69+
"*://*.wenmi.com/article/*",
70+
"*://yuedu.baidu.com/*",
71+
"*://www.inrrp.com.cn/*",
72+
"*://fanyi.baidu.com/mtpe/*",
73+
"*://www.shubaoc.com/*",
74+
"*://blog.51cto.com/*",
75+
"*://www.ximalaya.com/*",
76+
"*://*.tianqi.com/*",
77+
"*://*.xiexiebang.com/*",
78+
"*://*.docin.com/*",
79+
"*://*.ddwk8.cn/*",
80+
"*://*.php.cn/*",
81+
"*://cooco.net.cn/*",
82+
"*://fanqienovel.com/*",
83+
"*://*.mobiletrain.org/*",
84+
"*://*.examcoo.com/*",
85+
"*://*.rrdynb.com/*",
86+
"*://*.fuwu7.com/*",
87+
"*://*.xiangqiqipu.com/*",
88+
"*://note.youdao.com/*",
89+
"*://*.163.com/*",
90+
"*://*.aipiaxi.com/*",
91+
"*://wenku.csdn.net/*",
92+
"*://www.kdocs.cn/*",
93+
"*://www.xiaoyuzhoufm.com/*",
94+
"*://*.mcmod.cn/*",
95+
"*://*.zsxq.com/",
96+
"*://*.volcengine.com/*",
97+
"*://*.lyrical-nonsense.com/*",
98+
"*://*.xueqiu.com/*",
99+
"*://*.php.cn/*",
100+
"*://*.51cto.com/*",
101+
"*://*.educoder.net/*"
102+
],
103+
"supportURL": "https://github.com/WindrunnerMax/TKScript/issues",
104+
"license": "GPL License",
105+
"installURL": "https://github.com/WindrunnerMax/TKScript",
106+
"run-at": "document-start",
107+
"grant": ["unsafeWindow", "GM_xmlhttpRequest"],
108+
"connect": "res3.doc88.com"
112109
}

packages/site-director/meta.json

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,22 @@
11
{
2-
"name": "🔥🔥🔥跳转链接直达🔥🔥🔥",
3-
"namespace": "https://github.com/WindrunnerMax/TKScript",
4-
"version": "1.3.3",
5-
"description": "跳转链接直达,去掉确定跳转链接页面,用于谷歌、知乎、CSDN、简书",
6-
"author": "Czy",
7-
"match": [
8-
"*://*.google.com/*",
9-
"*://*.google.com.cn/*",
10-
"*://*.google.com.hk/*",
11-
"*://link.zhihu.com/*",
12-
"*://link.csdn.net/*",
13-
"*://link.juejin.cn/*",
14-
"*://www.jianshu.com/go-wild/*",
15-
"*://mail.qq.com/cgi-bin/readtemplate/*"
16-
],
17-
"license": "MIT License",
18-
"supportURL": "https://github.com/WindrunnerMax/TKScript/issues",
19-
"installURL": "https://github.com/WindrunnerMax/TKScript",
20-
"grant": [
21-
"unsafeWindow",
22-
"GM_xmlhttpRequest"
23-
],
24-
"run-at": "document-start"
25-
}
2+
"name": "🔥🔥🔥跳转链接直达🔥🔥🔥",
3+
"namespace": "https://github.com/WindrunnerMax/TKScript",
4+
"version": "1.3.3",
5+
"description": "跳转链接直达,去掉确定跳转链接页面,用于谷歌、知乎、CSDN、简书",
6+
"author": "Czy",
7+
"match": [
8+
"*://*.google.com/*",
9+
"*://*.google.com.cn/*",
10+
"*://*.google.com.hk/*",
11+
"*://link.zhihu.com/*",
12+
"*://link.csdn.net/*",
13+
"*://link.juejin.cn/*",
14+
"*://www.jianshu.com/go-wild/*",
15+
"*://mail.qq.com/cgi-bin/readtemplate/*"
16+
],
17+
"license": "MIT License",
18+
"supportURL": "https://github.com/WindrunnerMax/TKScript/issues",
19+
"installURL": "https://github.com/WindrunnerMax/TKScript",
20+
"grant": ["unsafeWindow", "GM_xmlhttpRequest"],
21+
"run-at": "document-start"
22+
}

packages/water-mark/meta.json

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
{
2-
"name": "移除页面水印",
3-
"namespace": "https://github.com/WindrunnerMax/TKScript",
4-
"version": "1.0.1",
5-
"description": "移除常见网页的水印",
6-
"author": "Czy",
7-
"match": [
8-
"*://so.csdn.net/*"
9-
],
10-
"supportURL": "https://github.com/WindrunnerMax/TKScript/issues",
11-
"license": "GPL License",
12-
"installURL": "https://github.com/WindrunnerMax/TKScript",
13-
"run-at": "document-start",
14-
"grant": [
15-
"unsafeWindow"
16-
]
2+
"name": "移除页面水印",
3+
"namespace": "https://github.com/WindrunnerMax/TKScript",
4+
"version": "1.0.2",
5+
"description": "移除常见网页的水印",
6+
"author": "Czy",
7+
"match": ["http://*/*", "https://*/*"],
8+
"supportURL": "https://github.com/WindrunnerMax/TKScript/issues",
9+
"license": "GPL License",
10+
"installURL": "https://github.com/WindrunnerMax/TKScript",
11+
"run-at": "document-start",
12+
"grant": ["unsafeWindow"]
1713
}

packages/water-mark/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { common } from "./modules/common";
2-
import { csdn } from "./modules/csdn";
32
import type { Website } from "./types/website";
43

5-
const websites: Website[] = [csdn, common];
4+
const websites: Website[] = [common];
65
const web = websites.find(item => item.regexp.test(location.href));
76
web && web.init();

packages/water-mark/src/modules/common.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,19 @@ export const common: Website = {
3131
};
3232
const PRESET_CLASSES = [
3333
"." + FALLBACK_CLASS,
34+
`[id*="watermark"]`,
35+
`[id*="WaterMark"]`,
36+
`[id*="Watermark"]`,
3437
`[class*="watermark"]`,
3538
`[class*="WaterMark"]`,
39+
`[class*="Watermark"]`,
3640
].join(",");
3741
injectCSSEarly(`${PRESET_CLASSES}{${OPACITY_PROPERTY}}`);
3842
const PRESET_BACKGROUND = [
3943
`[style*="pointer-events: none;"][style*="background: url"]`,
4044
`[style*="pointer-events: none;"][style*="background-image: url"]`,
45+
`[style*="pointer-events:none;"][style*="background:url"]`,
46+
`[style*="pointer-events:none;"][style*="background-image:url"]`,
4147
].join(",");
4248
injectCSSEarly(`${PRESET_BACKGROUND}{${OPACITY_BACKGROUND_PROPERTY}}`);
4349
},

packages/water-mark/src/modules/csdn.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)