Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

删除广告功能与adguard扩展产生冲突,导致首页b站广告拦截警告出现 #4748

Open
yuijker opened this issue May 17, 2024 · 2 comments

Comments

@yuijker
Copy link

yuijker commented May 17, 2024

对应功能

删除广告功能
Commit: e998998
内部名称: removePromotions

问题描述

当同时使用adguard扩展与本脚本删除广告功能时,有可能在首页出现b站广告拦截警告占位元素。(注,该问题有几率产生,不能立即复现)

脚本版本

v2.8.11-80-g754053282

脚本管理器及版本

Tampermonkey v5.1.1

浏览器及版本

edge 124.0.2478.105

播放器版本

无关

播放策略

默认

错误信息

Bilibili Evolved updated widgets 
[__ob__: Ee]
0
: 
{__ob__: Ee}
length
: 
1
__ob__
: 
Ee {value: Array(1), shallow: false, mock: false, dep: be, vmCount: 0}
[[Prototype]]
: 
Array
userscript.html?name…c7-dc6b19664538:227 Bilibili Evolved 
(2) [{…}, {…}, __ob__: Ee]
0
: 
{…}
1
: 
{…}
length
: 
2
__ob__
: 
Ee {value: Array(2), shallow: false, mock: false, dep: be, vmCount: 0}
[[Prototype]]
: 
Array

附加截图

image

image

adguard 拦截规则选项
image

adguard 常规设置选项
image

致遇到了相同问题准备回复的人

太长不看
1、遇到了相同的问题:请用左下角的 reaction 点赞
2、实时关注该 Issue 的后续进展:请用 Issue 页上的 Subscribe 功能(在 PC 端按钮通常位于页面右侧)。
请您回复前务必确认您有在本 Issue 之外补充了其它相关信息(比如 Log)再行回复以免对他人造成不必要的困扰

完整版 由于每个 Issue 甚至整个项目都是可以订阅通知的, 对于已经有人汇报过的 Bug, 如果您也遇到了并且没有其他信息要补充, 可以直接在左下点个赞表示 +1, 不要再去新增评论。想关注后续的可以用 Subscribe,Subscribe 之后该 Issue 如果有变动都可以收到通知,如果不想被回复打扰可以使用更加进阶的 Customize 功能,勾选 "Closed" & "Reopened"。Closed 通常代表该 Issue 已被解决,极少数情况下的 Reopened 代表该 Issue 的问题重新出现。如果您新增了无意义评论,因为 Issue 这个 bug tracker 与邮件列表类似,订阅某个 Issue 的用户会在每次这个 Issue 有新的动态时收到一封新的提醒邮件。也就是说,在 Issue 中的一个不能提供新的信息的评论,相当于给所有订阅这个 Issue 的用户发了一封垃圾邮件(spam)。尤其项目的维护者也是订阅者中的一员,太多垃圾邮件会对维护者带来很多不必要的困扰。发送垃圾邮件在开源社区通常是不那么受欢迎的行为。
@the1812
Copy link
Owner

the1812 commented May 25, 2024

AdGuard 排除一下 b 站

@People-11
Copy link

如果是ublocko的话,静态规则里添加以下规则
bilibili.com#@#a[href*="cm.bilibili.com"][data-target-url]:not([data-target-url*=".bilibili.com/"])
ADGuard的话不知道,应该是通用的吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants