Auto Close YouTube Ads

Closes youtubes ads automatically after a small pause

As of 2015-04-17 06:47:40 UTC. See the latest version.

These are versions of this script where the code was updated. Show all versions.

  • v1.4.1 - Imported from URL
  • v1.4.0 - Imported from URL
  • v1.3.1 - Imported from URL
  • v1.1.20 - Imported from URL
  • v1.1.19
  • v1.1.18 - Imported from URL
  • v1.1.17 - Imported from URL
  • v1.1.16 - Imported from URL
  • v1.1.15 - Imported from URL
  • v1.1.15 - bump version
  • v1.1.14 - Imported from URL
  • v1.1.14 - Imported from URL
  • v1.1.14 - fix changing of MUTE setting
  • v1.1.13 - updated to handle newest change to waitForElems (.stop())
  • v1.1.12 - updated to use new MutationObserver based waitForElems
  • v1.1.11 - changed desc
  • v1.1.10 - fixed detection of mute state, was causing audio to not be unmuted
  • v1.1.9 - update mute button css selector to match new youtube layout
  • v1.1.8 - fix setting delay to 0
  • v1.1.7 - updated overlay ad close button css selector (youtube changed it)
  • v1.1.6 - mute video ads by default
  • v1.1.5 - adjusted video url regex to handle case where video parameter isn't the first one
  • v1.1.4 - changed script description
  • v1.1.3 - removed test log
  • v1.1.2 - simplified selector for detecting video ad
  • v1.1.1 - If audio was already muted when the ad started, make sure to keep it that way; if audio is unmuted partway through the ad don't bother clicking the mute button again when it ends
  • v1.1.0 - script now works on videos embedded on other sites; 2 new menu options; 1st allows you set the exact delay you want before closing an ad; 2nd allows to enable/disable whether you want video ads to be muted while they play
  • v1.0.4 - restructured code slightly and colored log
  • v1.0.3 - fixed issue where intervals were never being cleared
  • v1.0.2 - added log for leaving video; properly remove check for elements when on non-video page
  • v1.0.1
  • v1.0.0