Fix Brave Bug for YouTube Live Chat

To Fix Brave Bug for YouTube Live Chat

目前为 2024-05-07 提交的版本。查看 最新版本

作者
𝖢𝖸 𝖥𝗎𝗇𝗀
评分
0 0 0
版本
3.11
创建于
2023-08-30
更新于
2024-05-07
大小
3.2 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.

Cause

YouTube uses document.location.reload but Brave does not respond this operation correctly when the IFRAME element is just attached on the DOM tree.

An extra delay with IntersectionObserver + Dummy Iframe Onload is applied to the urlChanged()

QingJ © 2025

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