Page 1 of 1
[Suggestion] Disable adblock for a youtube channel
Posted: Sun Sep 04, 2016 12:22 am
by JeanGerard
Hi !
It could be great if we could disable Ad Block on the videos of specifics channels, to support our favourite youtubers !
Bye!
Re: [Suggestion] Disable adblock for a youtube channel
Posted: Sun Sep 04, 2016 3:30 am
by smed79
Hi,
Gingerbread Man wrote:Due to technical reasons, it's not currently possible with Adblock Plus alone, but you can do it with a user script (discussed
_here_).
You can do it with a user script (read the instructions)
https://greasyfork.org/scripts/4168-you ... block-plus
Re: [Suggestion] Disable adblock for a youtube channel
Posted: Sun Sep 04, 2016 6:56 am
by lewisje
I know AdBlock for Chrome had this ability before it switched to the ABP engine; it was a hack that reloaded the page with a dummy entry in the query string, whenever it detected a video or channel page, just so that an ABP-style exception rule could target channel names, and back when I still used AdBlock, and I found that this option was why every YouTube page was reloading, I made sure to warn everyone whenever this notion was brought up.
It looks like this is what the UserScript does, except it uses more modern Web technology (replaceState and MutationObservers), so maybe that won't reload every page.
Re: [Suggestion] Disable adblock for a youtube channel
Posted: Mon Sep 05, 2016 2:14 pm
by greiner
lewisje wrote:It looks like this is what the UserScript does, except it uses more modern Web technology (replaceState and MutationObservers), so maybe that won't reload every page.
When you're on youtube.com and you're navigating from one page to another, unlike on other websites, the page doesn't change. It only replaces the URL and some parts of the content. Therefore you need to use workarounds like mutation observers to try to detect when the user navigates to a different page. That, however, is quite unreliable since YouTube may change the structure of the site at any time so we'd have to update the extension every time they make changes. And even then it would only work for YouTube but not for other websites such as Vimeo, Dailymotion, Medium, etc.
Maybe you'd be interested in Flattr Plus though, where we try to tackle the issue from a different angle:
https://flattrplus.com/ It's not ready for the public yet but we're working on it.
