diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 7b54047..961c9ec 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -20,9 +20,9 @@ jobs: uses: softprops/action-gh-release@v1 with: prerelease: false - tag_name: v4.2.17 - name: 4.2.17 - body: '- 修复Givee无法识别Steam加组任务的BUG' + tag_name: v4.2.18 + name: 4.2.18 + body: '- Gleam任务识别优化' files: |- dist/auto-task-v4-for-giveawaysu.user.js dist/auto-task-v4.compatibility.user.js diff --git a/dist/auto-task-v4-for-giveawaysu.all.user.js b/dist/auto-task-v4-for-giveawaysu.all.user.js index 106ff98..db7d301 100644 --- a/dist/auto-task-v4-for-giveawaysu.all.user.js +++ b/dist/auto-task-v4-for-giveawaysu.all.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name auto-task-v4-for-giveawaysu // @namespace auto-task-v4-for-giveawaysu -// @version 4.2.17 +// @version 4.2.18 // @description 赠Key站自动任务 // @author HCLonely // @license MIT diff --git a/dist/auto-task-v4-for-giveawaysu.user.js b/dist/auto-task-v4-for-giveawaysu.user.js index b8cb84f..33e0640 100644 --- a/dist/auto-task-v4-for-giveawaysu.user.js +++ b/dist/auto-task-v4-for-giveawaysu.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name auto-task-v4-for-giveawaysu // @namespace auto-task-v4-for-giveawaysu -// @version 4.2.17 +// @version 4.2.18 // @description 赠Key站自动任务 // @author HCLonely // @license MIT diff --git a/dist/auto-task-v4.all.user.js b/dist/auto-task-v4.all.user.js index 888c3c8..6426b6d 100644 --- a/dist/auto-task-v4.all.user.js +++ b/dist/auto-task-v4.all.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name auto-task-v4 // @namespace auto-task-v4 -// @version 4.2.17 +// @version 4.2.18 // @description 自动完成 Freeanywhere,Giveawaysu,GiveeClub,Givekey,Gleam,Indiedb,keyhub,OpiumPulses,Opquests,SweepWidget 等网站的任务。 // @description:en Automatically complete the tasks of FreeAnyWhere, GiveawaySu, GiveeClub, Givekey, Gleam, Indiedb, keyhub, OpiumPulses, Opquests, SweepWidget websites. // @author HCLonely @@ -9716,7 +9716,7 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载'); this.undoneTasks.steam.curatorLinks.push(link); } } - } else if (socialIcon.hasClass('fa-shield') && taskText.includes('earn.vloot.io') || socialIcon.hasClass('fa-tiktok')) { + } else if (socialIcon.hasClass('fa-shield') && taskText.includes('vloot.io') || socialIcon.hasClass('fa-tiktok')) { const continueBtn = expandInfo.find('span:contains(Continue),button:contains(Continue)'); for (const button of continueBtn) { button.click(); @@ -9730,7 +9730,7 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载'); await delay(500); expandInfo.find('input').val(this.options.gameroundUsername); } - } else if (socialIcon.hasClass('fa-bullhorn') && taskText.includes('Complete')) { + } else if (socialIcon.hasClass('fa-bullhorn') && /Complete/gi.test(taskText)) { if (action !== 'do') { continue; } @@ -9743,7 +9743,7 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载'); continue; } this.undoneTasks.extra.gleam.push(gleamLink); - } else if (socialIcon.hasClass('fa-question') || socialIcon.hasClass('fa-reddit') || socialIcon.hasClass('fa-instagram') || socialIcon.hasClass('fa-facebook-f') || socialIcon.hasClass('fa-telegram-plane') || socialIcon.hasClass('fa-shield') && taskText.includes('Check out')) {} else { + } else if (socialIcon.hasClass('fa-question') || socialIcon.hasClass('fa-reddit') || socialIcon.hasClass('fa-instagram') || socialIcon.hasClass('fa-facebook-f') || socialIcon.hasClass('fa-telegram-plane') || socialIcon.hasClass('fa-envelope') || socialIcon.hasClass('fa-shield') && taskText.includes('Check out')) {} else { scripts_echoLog({}).warning(`${i18n('unKnownTaskType')}: ${taskText}`); } } diff --git a/dist/auto-task-v4.compatibility.all.user.js b/dist/auto-task-v4.compatibility.all.user.js index e5659bb..d6926f5 100644 --- a/dist/auto-task-v4.compatibility.all.user.js +++ b/dist/auto-task-v4.compatibility.all.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name auto-task-v4.compatibility // @namespace auto-task-v4.compatibility -// @version 4.2.17 +// @version 4.2.18 // @description 自动完成 Freeanywhere,Giveawaysu,GiveeClub,Givekey,Gleam,Indiedb,keyhub,OpiumPulses,Opquests,SweepWidget 等网站的任务。 // @description:en Automatically complete the tasks of FreeAnyWhere, GiveawaySu, GiveeClub, Givekey, Gleam, Indiedb, keyhub, OpiumPulses, Opquests, SweepWidget websites. // @author HCLonely @@ -145,7 +145,7 @@ console.log('%c%s', 'color:blue', 'Auto-Task[Load]: 脚本开始加载');
${V.other.defaultShowLog?R("hideLog"):R("showLog")}
`);c.find("a.auto-task-website-btn").on("click",i),$("#auto-task-buttons").append(l).append(c),null!==(i=t)&&void 0!==i&&i.options&&GM_registerMenuCommand(R("changeWebsiteOptions"),()=>{Lo(t.name,t.options)}),"Setting"!==t.name&&(GM_registerMenuCommand(R("changeGlobalOptions"),()=>{h("swal")}),GM_registerMenuCommand(R("settingPage"),()=>{window.open("https://auto-task-v4.hclonely.com/setting.html","_blank")})),console.log("%c%s","color:#1bbe1a","Auto-Task[Load]: 脚本加载完成"),GM_getValue("notice")||(p().fire({title:R("swalNotice"),icon:"warning"}).then(()=>{window.open(R("noticeLink"),"_blank"),GM_setValue("notice",(new Date).getTime())}),null!==(a=N({html:`${V.other.defaultShowLog?R("hideLog"):R("showLog")}
`);c.find("a.auto-task-website-btn").on("click",i),$("#auto-task-buttons").append(l).append(c),null!==(i=t)&&void 0!==i&&i.options&&GM_registerMenuCommand(R("changeWebsiteOptions"),()=>{Lo(t.name,t.options)}),"Setting"!==t.name&&(GM_registerMenuCommand(R("changeGlobalOptions"),()=>{h("swal")}),GM_registerMenuCommand(R("settingPage"),()=>{window.open("https://auto-task-v4.hclonely.com/setting.html","_blank")})),console.log("%c%s","color:#1bbe1a","Auto-Task[Load]: 脚本加载完成"),GM_getValue("notice")||(p().fire({title:R("swalNotice"),icon:"warning"}).then(()=>{window.open(R("noticeLink"),"_blank"),GM_setValue("notice",(new Date).getTime())}),null!==(a=N({html:`