Skip to content

Instantly share code, notes, and snippets.

@Duy-Thanh
Created October 19, 2023 06:29
Show Gist options
  • Select an option

  • Save Duy-Thanh/a7231e2128ac15680fa695507867a443 to your computer and use it in GitHub Desktop.

Select an option

Save Duy-Thanh/a7231e2128ac15680fa695507867a443 to your computer and use it in GitHub Desktop.

Revisions

  1. Duy-Thanh created this gist Oct 19, 2023.
    17 changes: 17 additions & 0 deletions txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    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)

    ! 2023-10-13 https://www.youtube.com
    www.youtube.com##.opened
    www.youtube.com##tp-yt-paper-dialog.ytd-popup-container.style-scope > .ytd-popup-container.style-scope

    ||accounts.google.com/gsi/*$xhr,script,3p

    ##.ytp-endscreen-content
    youtube.com##.ytp-scroll-min.ytp-pause-overlay
    youtube.com##.ytp-ce-covering-shadow-top
    youtube.com##.ytp-pause-overlay
    youtube.com##.ytp-ce-covering-overlay
    youtube.com##.ytp-ce-element