YouTube Anti-AntiAdBlocker

What is this?

Recently, YouTube has added a new feature to combat adblocking, YouTube will now nag you to disable your adblocker with a popup which can get pretty annoying, You have an option to close the pop up but it will just keep nagging you after the next video, However this can be easily bypassed using an uBlock Filter
Example of the Popup

Alright, How can I bypass it??

Its actually pretty simple, Heres how you can bypass it!

Method 1

  1. Go to My Filters
  2. Paste these lines
βŽ—
βœ“
1
2
3
4
www.youtube.com##+js(set, yt.config_.openPopupConfig.supportedPopups.adBlockMessageViewModel, false)
www.youtube.com##+js(set, Object.prototype.adBlocksFound, 0)
www.youtube.com##+js(set, ytplayer.config.args.raw_player_response.adPlacements, [])
www.youtube.com##+js(set, Object.prototype.hasAllowedInstreamAd, true)
  1. Click Apply Changes

Method 2

  1. Go to Filter Lists
  2. Scroll Down
  3. Unfold "Import..."
  4. Import this URL in uBlock
βŽ—
βœ“
https://gitlab.com/splooshyisbanned/youtube-popup-block/-/raw/main/Filter.txt

Archived Versions

Wayback Machine
archive.today
πŸ’ΏπŸ΄β€β˜ 

Edit
Pub: 14 Oct 2023 10:40 UTC
Edit: 14 Oct 2023 13:15 UTC
Views: 144