• @Thorny_Thicket@sopuli.xyz
    link
    fedilink
    English
    64
    edit-2
    1 year ago

    I’m not sure if this works anymore but I saved this message a while back. If you get this pop-up then put this into your adblock custom rules and it should sort it out:

    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)

      • @Thorny_Thicket@sopuli.xyz
        link
        fedilink
        English
        61 year ago

        I believe it should work with any adblocker that lets you set custom rules but since adblocking still works for me I haven’t tried this myself. Saved it from reddit like 3 months ago so I hope it’s still relevant