From 693084eb6c399d881f95c1e887c18d374fd5ee03 Mon Sep 17 00:00:00 2001 From: ipcjs Date: Mon, 27 Nov 2023 15:45:56 +0000 Subject: [PATCH] chore: build --- scripts/bilibili_bangumi_area_limit_hack.user.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/bilibili_bangumi_area_limit_hack.user.js b/scripts/bilibili_bangumi_area_limit_hack.user.js index 79edd3b8..a28e9dae 100644 --- a/scripts/bilibili_bangumi_area_limit_hack.user.js +++ b/scripts/bilibili_bangumi_area_limit_hack.user.js @@ -1806,6 +1806,9 @@ function scriptSource(invokeBy) { if (!$errorPanel) { return; } + // 自动点击"取消跳转按钮" + let $goHomeBtn = document.querySelector(".big-btn.go-home"); + $goHomeBtn === null || $goHomeBtn === void 0 ? void 0 : $goHomeBtn.click(); let msg = document.createElement('a'); $errorPanel.insertBefore(msg, $errorPanel.firstChild); msg.innerText = '获取番剧页Url中...';