Skip to content

Commit 48208f4

Browse files
committed
修复:部分v4链接更换
1 parent d2a88fa commit 48208f4

33 files changed

Lines changed: 209 additions & 221 deletions

.github/workflows/Release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
uses: softprops/action-gh-release@v1
2323
with:
2424
prerelease: false
25-
tag_name: v5.0.0
26-
name: 5.0.0
27-
body: "- 新增:支持Steam ASF与Web API同时使用,可在设置中配置优先性\r\n- 新增:Gleam 挂游戏时长任务识别\r\n- 新增:Opquests 挂游戏时长任务识别\r\n- 新增:Freeanywhere赠key状态检测\r\n- 新增:支持Freeanywhere挂游戏时长任务\r\n- 新增:支持Freeanywhere Youtube任务\r\n- 新增:支持Freeanywhere扩展功能(可不安装扩展,扩展更新后可能会失效)\r\n- 新增:资源加载失败提示\r\n- 新增:调用ASF挂游戏时长时判断游戏是否运行(需配置Steam Web API 密钥)\r\n- 修复:Twitter用户ID识别\r\n- 修复:Prys网站支持\r\n- 修复:GiveeClub部分任务多次重定向链接识别\r\n- 优化:ASF挂时长识别Demo APP(#51)\r\n- 优化:Steam鉴赏家关注上限提示(#46)\r\n- 优化:Steam社区凭证更新方式,避免通过新弹窗更新\r\n- 优化:Twitter任务同步执行,避免并发\r\n- 优化:Twitter添加forwarded-for请求头(#45, #53)\r\n- 优化:Gleam相关任务逻辑\r\n- 优化:Gleam更多任务类型识别\r\n- 优化:Discord任务提示(#37)\r\n- 优化:Discord相关任务认证内容,减少被ban风险(未大量测试)(#8)\r\n- 优化:Keylol折叠任务识别(#54)\r\n- 优化:Opquests验证方式(#38)\r\n- 优化:日志区域样式\r\n- 优化:Debug日志\r\n- 优化:按钮样式优化\r\n- 优化:移除多余的依赖\r\n- 移除:GiveawaySu特供版(不便维护)\r\n- 移除:Instagram支持"
25+
tag_name: v5.0.1
26+
name: 5.0.1
27+
body: '- 修复:部分v4链接更换'
2828
files: |-
2929
dist/auto-task.user.js
3030
dist/auto-task.min.user.js

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Auto-Task
22

3-
[![License](https://img.shields.io/github/license/HCLonely/auto-task-v4?label=License)](LICENSE)
3+
[![License](https://img.shields.io/github/license/HCLonely/auto-task?label=License)](LICENSE)
44
[![Node Version](https://img.shields.io/badge/node-%3E%3D18.0.0%20%3C%3D23.2.0-brightgreen)](package.json)
55

66
一个功能强大的自动化任务处理脚本,专门用于处理各种赠Key站的任务。
@@ -71,7 +71,7 @@ npm run build
7171

7272
---
7373

74-
[![Repobeats analytics image](https://repobeats.axiom.co/api/embed/e5c7c311a4d91763154bfbee13c9186759c29ae4.svg "Repobeats analytics image")](https://github.com/HCLonely/auto-task-v4/pulse)
74+
[![Repobeats analytics image](https://repobeats.axiom.co/api/embed/e5c7c311a4d91763154bfbee13c9186759c29ae4.svg "Repobeats analytics image")](https://github.com/HCLonely/auto-task/pulse)
7575

7676
---
7777
如果这个项目对您有帮助,请考虑给它一个 Star ⭐️

dist/auto-task.all.user.js

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

dist/auto-task.compatibility.all.user.js

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

dist/auto-task.compatibility.user.js

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
// ==UserScript==
22
// @name auto-task.compatibility
33
// @namespace auto-task.compatibility
4-
// @version 5.0.0
4+
// @version 5.0.1
55
// @description 自动完成 Freeanywhere,Giveawaysu,GiveeClub,Givekey,Gleam,Indiedb,keyhub,OpiumPulses,Opquests,SweepWidget 等网站的任务。
66
// @description:en Automatically complete the tasks of FreeAnyWhere, GiveawaySu, GiveeClub, Givekey, Gleam, Indiedb, keyhub, OpiumPulses, Opquests, SweepWidget websites.
77
// @author HCLonely
88
// @license MIT
99
// @run-at document-start
1010
// @homepage https://auto-task-doc.js.org/
1111
// @supportURL https://github.com/HCLonely/auto-task/issues
12-
// @updateURL https://github.com/HCLonely/auto-task-v4/raw/main/dist/auto-task.compatibility.user.js
13-
// @installURL https://github.com/HCLonely/auto-task-v4/raw/main/dist/auto-task.compatibility.user.js
14-
// @downloadURL https://github.com/HCLonely/auto-task-v4/raw/main/dist/auto-task.compatibility.user.js
12+
// @updateURL https://github.com/HCLonely/auto-task/raw/main/dist/auto-task.compatibility.user.js
13+
// @installURL https://github.com/HCLonely/auto-task/raw/main/dist/auto-task.compatibility.user.js
14+
// @downloadURL https://github.com/HCLonely/auto-task/raw/main/dist/auto-task.compatibility.user.js
1515
// @icon https://auto-task.hclonely.com/favicon.ico
1616
// @tag           games
1717

@@ -46,6 +46,8 @@
4646

4747
// @include https://auto-task.hclonely.com/setting.html
4848
// @include https://auto-task.hclonely.com/history.html
49+
// @include https://auto-task-doc.js.org/setting.html
50+
// @include https://auto-task-doc.js.org/history.html
4951

5052
// @grant GM_setValue
5153
// @grant GM_getValue
@@ -136,7 +138,7 @@ const missingDependencies = neededDependencies.filter(dependency => typeof windo
136138
if (missingDependencies.length > 0) {
137139
console.log('%c%s', 'color:red', `[Auto-Task] 脚本加载失败,缺少的依赖:${missingDependencies.join(', ')}`);
138140
if (confirm(`[Auto-Task] 脚本依赖加载失败,请刷新重试或安装全依赖版本,是否前往安装全依赖版本?\n缺少的依赖:${missingDependencies.join(', ')}`)) {
139-
GM_openInTab('https://github.com/HCLonely/auto-task-v4/raw/main/dist/auto-task.compatibility.all.user.js', { active: true });
141+
GM_openInTab('https://github.com/HCLonely/auto-task/raw/main/dist/auto-task.compatibility.all.user.js', { active: true });
140142
}
141143
}
142144

@@ -15540,7 +15542,7 @@ if (missingDependencies.length > 0) {
1554015542
}
1554115543
static test() {
1554215544
const {host: host, pathname: pathname} = window.location;
15543-
const isMatch = [ 'auto-task.hclonely.com', 'auto-task.js.org' ].includes(host) && pathname === '/setting.html';
15545+
const isMatch = [ 'auto-task.hclonely.com', 'auto-task-doc.js.org' ].includes(host) && pathname === '/setting.html';
1554415546
debug('检查设置页面匹配', {
1554515547
host: host,
1554615548
pathname: pathname,
@@ -15834,7 +15836,7 @@ if (missingDependencies.length > 0) {
1583415836
static test() {
1583515837
try {
1583615838
const {host: host, pathname: pathname} = window.location;
15837-
const isMatch = [ 'auto-task.hclonely.com', 'auto-task.js.org' ].includes(host) && pathname === '/history.html';
15839+
const isMatch = [ 'auto-task.hclonely.com', 'auto-task-doc.js.org' ].includes(host) && pathname === '/history.html';
1583815840
debug('检查是否为历史记录页面', {
1583915841
host: host,
1584015842
pathname: pathname,
@@ -18067,7 +18069,7 @@ if (missingDependencies.length > 0) {
1806718069
changeGlobalOptions('swal');
1806818070
}));
1806918071
GM_registerMenuCommand(I18n('settingPage'), (() => {
18070-
GM_openInTab('https://auto-task-doc.js.org/setting.html', {
18072+
GM_openInTab('https://auto-task.hclonely.com/setting.html', {
1807118073
active: true
1807218074
});
1807318075
}));

dist/auto-task.min.all.user.js

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

dist/auto-task.min.user.js

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

dist/auto-task.user.js

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
// ==UserScript==
22
// @name auto-task
33
// @namespace auto-task
4-
// @version 5.0.0
4+
// @version 5.0.1
55
// @description 自动完成 Freeanywhere,Giveawaysu,GiveeClub,Givekey,Gleam,Indiedb,keyhub,OpiumPulses,Opquests,SweepWidget 等网站的任务。
66
// @description:en Automatically complete the tasks of FreeAnyWhere, GiveawaySu, GiveeClub, Givekey, Gleam, Indiedb, keyhub, OpiumPulses, Opquests, SweepWidget websites.
77
// @author HCLonely
88
// @license MIT
99
// @run-at document-start
1010
// @homepage https://auto-task-doc.js.org/
1111
// @supportURL https://github.com/HCLonely/auto-task/issues
12-
// @updateURL https://github.com/HCLonely/auto-task-v4/raw/main/dist/auto-task.user.js
13-
// @installURL https://github.com/HCLonely/auto-task-v4/raw/main/dist/auto-task.user.js
14-
// @downloadURL https://github.com/HCLonely/auto-task-v4/raw/main/dist/auto-task.user.js
12+
// @updateURL https://github.com/HCLonely/auto-task/main/dist/auto-task.user.js
13+
// @installURL https://github.com/HCLonely/auto-task/main/dist/auto-task.user.js
14+
// @downloadURL https://github.com/HCLonely/auto-task/main/dist/auto-task.user.js
1515
// @icon https://auto-task.hclonely.com/favicon.ico
1616
// @tag           games
1717

@@ -46,6 +46,8 @@
4646

4747
// @include https://auto-task.hclonely.com/setting.html
4848
// @include https://auto-task.hclonely.com/history.html
49+
// @include https://auto-task-doc.js.org/setting.html
50+
// @include https://auto-task-doc.js.org/history.html
4951

5052
// @grant GM_setValue
5153
// @grant GM_getValue
@@ -136,7 +138,7 @@ const missingDependencies = neededDependencies.filter(dependency => typeof windo
136138
if (missingDependencies.length > 0) {
137139
console.log('%c%s', 'color:red', `[Auto-Task] 脚本加载失败,缺少的依赖:${missingDependencies.join(', ')}`);
138140
if (confirm(`[Auto-Task] 脚本依赖加载失败,请刷新重试或安装全依赖版本,是否前往安装全依赖版本?\n缺少的依赖:${missingDependencies.join(', ')}`)) {
139-
GM_openInTab('https://github.com/HCLonely/auto-task-v4/raw/main/dist/auto-task.all.user.js', { active: true });
141+
GM_openInTab('https://github.com/HCLonely/auto-task/raw/main/dist/auto-task.all.user.js', { active: true });
140142
}
141143
}
142144

@@ -15443,7 +15445,7 @@ if (missingDependencies.length > 0) {
1544315445
}
1544415446
static test() {
1544515447
const {host: host, pathname: pathname} = window.location;
15446-
const isMatch = [ 'auto-task.hclonely.com', 'auto-task.js.org' ].includes(host) && pathname === '/setting.html';
15448+
const isMatch = [ 'auto-task.hclonely.com', 'auto-task-doc.js.org' ].includes(host) && pathname === '/setting.html';
1544715449
debug('检查设置页面匹配', {
1544815450
host: host,
1544915451
pathname: pathname,
@@ -15737,7 +15739,7 @@ if (missingDependencies.length > 0) {
1573715739
static test() {
1573815740
try {
1573915741
const {host: host, pathname: pathname} = window.location;
15740-
const isMatch = [ 'auto-task.hclonely.com', 'auto-task.js.org' ].includes(host) && pathname === '/history.html';
15742+
const isMatch = [ 'auto-task.hclonely.com', 'auto-task-doc.js.org' ].includes(host) && pathname === '/history.html';
1574115743
debug('检查是否为历史记录页面', {
1574215744
host: host,
1574315745
pathname: pathname,
@@ -17964,7 +17966,7 @@ if (missingDependencies.length > 0) {
1796417966
changeGlobalOptions('swal');
1796517967
}));
1796617968
GM_registerMenuCommand(I18n('settingPage'), (() => {
17967-
GM_openInTab('https://auto-task-doc.js.org/setting.html', {
17969+
GM_openInTab('https://auto-task.hclonely.com/setting.html', {
1796817970
active: true
1796917971
});
1797017972
}));

doc/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
## [auto-task](https://github.com/HCLonely/auto-task-v4) 脚本的使用文档
2-
## Documentation for the use of [auto-task](https://github.com/HCLonely/auto-task-v4) scripts
1+
## [auto-task](https://github.com/HCLonely/auto-task) 脚本的使用文档
2+
## Documentation for the use of [auto-task](https://github.com/HCLonely/auto-task) scripts

0 commit comments

Comments
 (0)