Fix Brave Bug for YouTube Live Chat

To Fix Brave Bug for YouTube Live Chat

Δημιουργός
𝖢𝖸 𝖥𝗎𝗇𝗀
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
177
Βαθμολογίες
3 0 0
Έκδοση
3.11
Δημιουργήθηκε την
30/08/2023
Ενημερώθηκε την
07/05/2024
Άδεια
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()