diff --git a/.github/ISSUE_TEMPLATE/bug-template.yaml b/.github/ISSUE_TEMPLATE/bug-template.yaml index 0a79068e..6b53d18a 100644 --- a/.github/ISSUE_TEMPLATE/bug-template.yaml +++ b/.github/ISSUE_TEMPLATE/bug-template.yaml @@ -13,6 +13,8 @@ body: 功能请求不是在问题报告里面写的,请[开启空 issue](https://github.com/BewlyBewly/BewlyBewly/issues/new)。 + 若遇到页面相关问题(比如某页面下出现了不该出现的元素),我们建议一并附上发生问题的页面链接。 + ### Edge Edge 受遥遥领先的 Edge Addons 审核导致版本更新永远落后于 Google Chrome,且审核问题不是我们控制的,所以后面已经直接取消上架 Edge Addons。 @@ -30,14 +32,14 @@ body: - 浏览器版本(如 126.0.6478.126): - BewlyBewly 版本(如 0.20.1): - 如果你修改了 BewlyBewly 的设置,请写在下面以方便我們排查問題(可粗略写成类似“设置了○○○○后出现这个问题”〔将“○○○○”替换为你的设置项〕): + 如果你修改了 BewlyBewly 的设置,请写在下面以方便我們排查問題(可粗略写成类似“设置了××后出现这个问题”〔将“××”替换为你的设置项〕): value: | - 浏览器(如 Google Chrome): - 浏览器版本(如 126.0.6478.126): - BewlyBewly 版本(如 0.20.1): - 如果你修改了 BewlyBewly 的设置,请写在下面以方便我們排查問題(可粗略写成类似“设置了○○○○后出现这个问题”〔将“○○○○”替换为你的设置项〕): + 如果你修改了 BewlyBewly 的设置,请写在下面以方便我們排查問題(可粗略写成类似“设置了××后出现这个问题”〔将“××”替换为你的设置项〕): validations: required: true diff --git a/src/contentScripts/index.ts b/src/contentScripts/index.ts index 5ccf830e..9cd2ddc0 100644 --- a/src/contentScripts/index.ts +++ b/src/contentScripts/index.ts @@ -48,7 +48,11 @@ function isSupportedPages(): boolean { // search page || /https?:\/\/search\.bilibili\.com\.*/.test(currentUrl) // moments - || /https?:\/\/t\.bilibili\.com\.*/.test(currentUrl) + || ( + /https?:\/\/t\.bilibili\.com\.*/.test(currentUrl) + // https://github.com/BewlyBewly/BewlyBewly/issues/1256 + && !/https?:\/\/t\.bilibili\.com\/vote.*/.test(currentUrl) + ) // moment detail || /https?:\/\/(?:www\.)?bilibili\.com\/opus\/.*/.test(currentUrl) // history page @@ -100,6 +104,8 @@ export function isSupportedIframePages(): boolean { /https?:\/\/t\.bilibili\.com.*/.test(currentUrl) // https://github.com/BewlyBewly/BewlyBewly/issues/1246 && !/https?:\/\/t\.bilibili\.com\/share\/card\/index.*/.test(currentUrl) + // https://github.com/BewlyBewly/BewlyBewly/issues/1256 + && !/https?:\/\/t\.bilibili\.com\/h5\/dynamic\/vote.*/.test(currentUrl) ) // Since `Open in drawer` will open the video page within an iframe, so we need to support the following pages