2023-08-10 Block the Ad Block Blockers

@wilbowma said that you can add the following to uBlock Origin filters to block ad-blocking blocking:

@wilbowma

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)

We’ll see! 😀

The weird syntax of these filters is a Scriptlet Injection, where the thing inside `js(...)` comes from the Resources Library, specifically, set.js.

Scriptlet Injection

Resources Library

set.js

​#YouTube ​#Ads ​#Butlerian Jihad