Oddbean new post about | logout
H | 1 years ago (raw) | root | parent | reply | flag +3
 I implemented this but then had to add some further lines based off something off twitter.  Here's what I have in chromium:

youtube.com##+js(set, yt.config_.openPopupConfig.supportedPopups.adBlockMessageViewModel, false)
youtube.com##+js(set, Object.prototype.adBlocksFound, 0)
youtube.com##+js(set, ytplayer.config.args.raw_player_response.adPlacements, [])
youtube.com##+js(set, Object.prototype.hasAllowedInstreamAd, true)

www.youtube.com##.opened
www.youtube.com##tp-yt-paper-dialog.ytd-popup-container.style-scope > .ytd-popup-container.style-scope

||accounts.google.com/gsi/*$xhr,script,3p

##.ytp-endscreen-content
youtube.com##.ytp-scroll-min.ytp-pause-overlay
youtube.com##.ytp-ce-covering-shadow-top
youtube.com##.ytp-pause-overlay
youtube.com##.ytp-ce-covering-overlay
youtube.com##.ytp-ce-element

YMMV as always. 
 No idea how to do this, I'll just read my book instead lol;)