Closed XxUnkn0wnxX closed 9 months ago
Interesting, I'll try to replicate it and check if I can find it in the source code
I believe it might be ytd-video-quality-promo-renderer
, can you try that instead?
youtube.com##ytd-video-quality-promo-renderer
I believe it might be
ytd-video-quality-promo-renderer
, can you try that instead?youtube.com##ytd-video-quality-promo-renderer
nah I still get the popup with that, I'm pretty sure it's ytd-offline-promo-renderer
you can also do it via
youtube.com##ytd-offline-promo-renderer
however
youtube.com##.opened
still needs to be blocked to stop the annoying flickering.. the black fade or drop shadow of the entire video player window when a popup overlay is present.
Also, i think tp-yt-iron-overlay-backdrop
is responsible for the backdrop flicker thing, been playing around with it & its just as effective as the .opened
class.
it's both div element ID & class
oh okay, the HTML dump helps a lot, let me see if I can target the parent instead
how's
youtube.com##ytd-popup-container:has(>tp-yt-paper-dialog>ytd-offline-promo-renderer)
that should block the popup, if you could send the HTML for the overlay backdrop that would be great, I'm hesitant to block something as large as the overlay-backdrop and I don't see any flags I can enable to reproduce your personal hell of premium popups
how's
youtube.com##ytd-popup-container:has(>tp-yt-paper-dialog>ytd-offline-promo-renderer)
that should block the popup, if you could send the HTML for the overlay backdrop that would be great, I'm hesitant to block something as large as the overlay-backdrop and I don't see any flags I can enable to reproduce your personal hell of premium popups
ya youtube.com##ytd-popup-container:has(>tp-yt-paper-dialog>ytd-offline-promo-renderer)
works
if you want here is the whole page dump with no filtering on how it renders for me: page dump.html.zip
but ya the flickering still occurs without blocking tp-yt-iron-overlay-backdrop
at least.
I cant find where it shows in a HTML element specifically as it only pop's up on screen for a moment every time you seek through the video so it's not constant.
I think there are some scripts that handle the backdrop element ID/class.
NM found it..
I think its safe to kill tp-yt-iron-overlay-backdrop
this only active when ytd-offline-promo-renderer
is active, otherwise when blocked it pops up very fast & disappears.
& keeps trying to render every time ytd-offline-promo-renderer
is blocked when seeking through the video.
I think
youtube.com##tp-yt-iron-overlay-backdrop.opened
would be the best of both worlds 😆 - catches backdrop and .opened
if there are no issues, I'll also merge it in without opened for better compatibility
a while ago I started to get harassed by these every single time I seek or paused any video![bqcabVq](https://github.com/mchangrh/yt-neuter/assets/2242880/6ea354d2-9492-4b12-a7ae-b95aba7307d1)
you can see how often i get spammed by this video demo.
now i think I've got the rule setup right:
the
.opened
class is to stop the black flicker every time ublock or any adblocker blocks the main element. its very noticeable.I'm mainly using your sponsor block as i find the main one too aggressive for my needs.