brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.94k stars 2.35k forks source link

Occasional popups showing on https://toonstream.co/ #42419

Open ryanbr opened 1 day ago

ryanbr commented 1 day ago

Description

Choosing the various mirrors on https://toonstream.co/episode/log-horizon-2x25/ will open a popup window

Steps to reproduce

  1. Open https://toonstream.co/episode/log-horizon-2x25/
  2. Select the 2nd mirror
  3. Press play
  4. popup shows

Actual result

Opens a new tab with popup

Expected result

Don't show popup, desktop seems fine.

Reproduces how often

Easily reproduced

Brave version

Current Brave build

Device

Channel information

Reproducibility

Miscellaneous information

Related filter rules.

Added in brave-firstparty.txt:

##.jw-wrapper > div[style="opacity: 0; visibility: hidden; overflow: hidden; display: block; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"]
abysscdn.com##div[style*="z-index:100000"]
abysscdn.com##.playover
abysscdn.com,playhydrax.com###overlay

From uBO:

abysscdn.com##+js(addEventListener-defuser, , break;case $.)
abysscdn.com##+js(abort-on-stack-trace, HTMLElement.prototype.click, _0x)
abysscdn.com##+js(trusted-replace-outbound-text, Array.prototype.shift, /^.+$/s, , condition, https)
abysscdn.com##+js(set-constant, document.onclick, null)
abysscdn.com##+js(set-constant, document.ontouchend, null)
abysscdn.com##+js(set-constant, devtoolsDetector.launch, noopFunc)
/favicon.ico|$image,3p,from=abysscdn.com|hihihaha1.xyz|hihihaha2.xyz|playhydrax.com
/^https:\/\/[a-z]{3,5}\.[a-z]{10,14}\.top\/[a-z]{10,16}\/[a-z]{5,6}(?:\?d=\d)?$/$script,3p,match-case,to=top

From my testing, these aren't being applied:

abysscdn.com##+js(set-constant, document.onclick, null)
abysscdn.com##+js(set-constant, document.ontouchend, null)