Last active
November 8, 2023 05:06
-
-
Save ritokatsuga/224eacb81b21a3416629a3ebcf0b1462 to your computer and use it in GitHub Desktop.
(OUTDATED) Script to Remove Anti-Adblock Notice on YouTube
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Works fine on firefox for me. Used with uBlock Origin, add this script to 'My Filters' and make sure not to run other adblockers on yt. One is enough. N'joy!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
doesnt work