Fix Brave Bug for YouTube Live Chat

To Fix Brave Bug for YouTube Live Chat

目前为 2024-01-11 提交的版本。查看 最新版本

作者
𝖢𝖸 𝖥𝗎𝗇𝗀
评分
0 0 0
版本
1.5
创建于
2023-08-30
更新于
2024-01-11
大小
2.5 KB
许可证
MIT
适用于

This is to fix the bug for Brave. (YouTube Live Chat)

Target User: Brave with Chromium 105+

See https://community.brave.com/t/youtube-live-chat-30-sec-delay/

  • Note 1. Please disable Adblocking Feature in "Enhancer for Youtube" as it conflicts with Brave's built-in uBO.

Guess for Root Clause:

Brave inject uBO scripts due to one of the filter list that hacks the javascript. The script could not run well in the iframe with a non-recognized iframe url. It generates an Error which is not expected by YouTube's coding engine so it throw Error without proper handling.

It might be solved by disabling the filter list and use another adblocker.

let iframe0829 = document.createElement('iframe');
iframe0829.src = 'javascript:void 0';
iframe0829.sandbox = "allow-same-origin allow-scripts";
iframe0829.style = "display:none!important";
iframe0829.onerror = () => console.log('error');
document.body.appendChild(iframe0829);

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址