Disable YouTube Video Ads

Disable YouTube video & screen based ads at home page, and right before or in the middle of the main video playback. Also disable YouTube's anti-adblocker popup dialog. For new YouTube layout (Polymer) only.

These are all versions of this script. Show only the versions where the code changed.

  • v1.5.42 2024/08/07

    Bugfix typo in the code. Sowwy...

  • v1.5.41 2024/08/07

    Update to workaround the new one-sided anti-content-control "trusted" CSP policy (sic)

  • v1.4.40 2024/06/09

    Also disable annotations (which are intrusive overlays). Configurable in script code.

  • v1.3.39 2024/05/21

    Disable intrusive floating ad buttons and suggestion panels on bootom-left of video player

  • v1.3.38 2024/05/11

    Disable bottom-left promotion popup

  • v1.3.37 2024/01/15

    Update for "raw" site changes, and hooking method.

  • v1.3.35 2023/12/12

    Workaround for YouTube's new "remarketing" sneaky ads

  • v1.3.34 2023/12/05

    Update to block video based ads in channel/user Home tab, if the Home tab has a video player

  • v1.3.33 2023/10/16

    New enlightned method to disable anti-adblocker popup. You can't dodge forever, YouTube.

  • v1.3.32 2023/10/16

    Revert to previous bug fixed method of disabling anti-adblocker popup

  • v1.3.31 2023/10/16

    Bug fix for anti anti-adblocker popup. Also use different method, since YouTube is quick to squirm.

  • v1.3.30 2023/10/15

    Also disable YouTube's anti-adblocker popup dialog (experimental)

  • v1.2.29 2022/10/09

    Experimental workaround for the new YouTube's even-more-intrusive-and-aggresive video based ads

  • v1.2.28 2022/06/28

    Update due to site changes. YouTube is actually trying to be smarter.

  • v1.2.27 2021/06/28

    Added code to disable video ads which is presented on fresh page load (YouTube's code is getting sneaky like a malware). Updated compatibility workaround for restrictive GM provider addons (FireMonkey and new Greasemonkey). More minor ads related things are disabled.

  • v1.2.24 2021/06/27

    Fixed compatibility with FireMonkey.

  • v1.2.23 2021/04/23

    I may got tripped once in a while, but I always catch you, YouTube!

  • v1.2.22 2021/04/23

    Keep running, YouTube!! And here, don't forget your raw guts!

  • v1.2.21 2021/02/24 Catched the sneaky ad break
  • v1.2.20 2021/02/23 Run, YouTube! Run!!! Because I will find you, and I will patch you.
  • v1.2.18 2020/10/29 Update for site changes.
  • v1.2.17 2020/08/14 Update #3: Workaround to block screen based video ads
  • v1.2.16 2020/08/14 Added workaround to block screen based video ads
  • v1.2.13 2020/08/07 Fixed broken embedded YouTube video player
  • v1.2.12 2020/07/20 Fixed embedded YouTube won't play
  • v1.2.11 2020/07/17 Fixed previous update for YouTube's new screen based video ads on video player
  • v1.2.10 2020/07/17 Reverted previous update
  • v1.2.9 2020/07/17 Update for YouTube's new video screen ads (non video) on video player
  • v1.1.8 2020/07/16 Workaround for Firefox's terrible performance which broke part of script's functionality
  • v1.1.7 2020/07/12 Worked around on FireMonkey's partial compatibility to GreaseMonkey specification
  • v1.1.6 2020/07/09 Fixed ads being sneaked-in in recent site changes
  • v1.1.5 2019/09/29 Also disable video ads at home page
  • v1.0.4 2019/05/14 Minor update to avoid emitting error log
  • v1.0.3 2017/11/27 New experimental blocker mechanism
  • v1.0.2 2017/10/15 Try to remove all ads related settings
  • v1.0.1 2017/08/27