• Awoo [she/her]@hexbear.net
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Open your ublock Origin dashboard and add the following 4 lines:


    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)
    

    You’re welcome.

    • ipkpjersi@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      I’m worried one day they will re-encode videos with advertisements themselves, or something similar to that. Although I guess SponsorBlock takes care of that, until they straight up just break/remove extensions with their crazy “Web Environment Integrity” proposal.