Skip to content

Commit a583d43

Browse files
committed
更新
1 parent ec1744a commit a583d43

6 files changed

Lines changed: 664 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2+
## 赞赏码(开发维护不易,请赏杯茶水费)
3+
<div align=center><img width="150" height="150" src="./icon/wxpay.jpg"/></div>
4+
15
自用脚本、配置
26

37
QuantumultX可以直接使用,所有配置以及脚本。

Script/ccb-ek.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
let body = $response.body;
2+
3+
body = body.replace(/"now_status":(\-1|0)/g, '"now_status":1');
4+
body = body.replace(/"num":0/g, '"num":10');
5+
6+
$done({ body });

Script/jd_hd.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
/*
22
打开活动页面自动注入console,需要手动执行脚本
33
4+
---------
5+
本脚本使用到以下作者代码
6+
Author: 2Ya
7+
Github: https://github.com/domping
8+
ScriptName: 京东账号登陆辅助
9+
ScriptUrl: https://raw.githubusercontent.com/dompling/Script/master/jd/jd_login_help.js
10+
-------
11+
412
[rewrite_local]
513
# 京东活动助手
614
https://.*\.m\.jd\.com/babelDiy/Zeus/.*\/index\.html url script-response-body jd_hd.js
@@ -15,7 +23,7 @@ hostname = *.jd.com, *.*.jd.com
1523

1624
let html = $response.body;
1725

18-
if (!html.includes('</html>')) {
26+
if (!html.includes('<head>')) {
1927
$done({ body: html });
2028
}
2129

@@ -33,7 +41,10 @@ if (url.includes('/product/')) {
3341
sku = arr.length != 0 ? arr[1] : '';
3442

3543
let tools = !sku
36-
? `<div id="alook" onclick="window.location.href='alook://${url.replace(/https?:\/\//g, '')}'">
44+
? `<div id="alook" onclick="window.location.href='alook://${url.replace(
45+
/https?:\/\//g,
46+
''
47+
)}'">
3748
<img src="https://alookbrowser.com/assets/uploads/profile/1-profileavatar.png" />
3849
</div>
3950
<div id="Foxok" onclick="window.location.href='Foxok://url?${url}'">

img/wxpay.jpg

95 KB
Loading

task/ccb-ek-task.js

Lines changed: 86 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)