Youtube now have an annoying overlay at the end of Youtube videos that shows other videos the viewer (might) be interested in and push this on the viewer, whether they want it or not. But this can be blocked with uBlock Origin.
These are my uBlock Origin filter rules.
! 2/14/2018, 7:44:14 AM https://www.salon.com/ www.salon.com##.style__salonIcon___1Eaer ! 2/14/2018, 7:45:24 AM https://www.salon.com/ www.salon.com##.style__messageHolder___2wSEy orbitfour47.com @@||4chan.org^*$csp=default-src 'self' * data: 'unsafe-inline' 'unsafe-eval' boards.4chan.org##script:contains(contentAd) /\i\.4cdn\.org\/[a-z]{3}feolite/ ||orbitfour47.com^ adglare.net/* ||ads2.contentabc.com^ @@||4chan.org^*$csp=default-src 'self' * data: 'unsafe-inline' 'unsafe-eval' @@|blob:$image,media,domain=4chan.org @@||boards.4chan.org^$csp @@||4channel.org^*$csp=default-src 'self' * data: 'unsafe-inline' 'unsafe-eval' @@|blob:$image,media,domain=4channel.org @@||boards.4channel.org^$csp ##.ytp-ce-element-show !##.ytp-ce-element ! 5/4/2019 https://www.youtube.com www.youtube.com##.ytp-ce-element-show.ytp-ce-size-1280.ytp-ce-top-left-quad.ytp-ce-video.ytp-ce-element > .ytp-ce-covering-overlay www.youtube.com##.ytp-ce-element-show.ytp-ce-size-1280.ytp-ce-top-right-quad.ytp-ce-video.ytp-ce-element > .ytp-ce-covering-overlay !www.youtube.com##.html5-main-video.video-stream www.youtube.com##.ytp-ce-element-show.ytp-ce-size-1280.ytp-ce-top-left-quad.ytp-ce-channel-this.ytp-ce-channel.ytp-ce-element > .ytp-ce-element-shadow ! 5/5/2019 https://www.youtube.com www.youtube.com##.ytp-ce-element-show.ytp-ce-size-1280.ytp-ce-top-right-quad.ytp-ce-video.ytp-ce-element > .ytp-ce-element-shadow www.youtube.com##.ytp-ce-element-show.ytp-ce-size-1280.ytp-ce-bottom-right-quad.ytp-ce-channel-that.ytp-ce-channel.ytp-ce-element > .ytp-ce-element-shadow youtube.com##.ytp-ce-element |
This is the rule to block the Youtube overlay elements.
##.ytp-ce-element-show |
This is how easy it is to block this annoying crap. Now that Firefox is actually working again, I can actually test this stuff out and this seems to work a treat. Until Youtube change their system again. But this does work for now, let me know if there is a video that this does not work on, and I will have a look at it.
These no longer work, you need these two lines only:
annotations_module.js$script,domain=youtube.com
/endscreen.js$script,domain=www.youtube.com