Skip to content

Instantly share code, notes, and snippets.

@karlwilbur
Created December 1, 2020 19:49
Show Gist options
  • Save karlwilbur/fbfaaadad86d2d998bf221081dbad79a to your computer and use it in GitHub Desktop.
Save karlwilbur/fbfaaadad86d2d998bf221081dbad79a to your computer and use it in GitHub Desktop.
YouTube Ad Skipper Bookmarklet
javascript:(function()%7Bfunction callback()%7B(function(%24)%7Bvar jQuery%3D%24%3Bwindow.%24%3D%24%3BsetInterval("window.%24('.ytp-ad-skip-button') %26%26 window.%24('.ytp-ad-skip-button').click()"%2C 1000)%7D)(jQuery.noConflict(true))%7Dvar s%3Ddocument.createElement("script")%3Bs.src%3D"https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fjquery%2F1.11.1%2Fjquery.min.js"%3Bif(s.addEventListener)%7Bs.addEventListener("load"%2Ccallback%2Cfalse)%7Delse if(s.readyState)%7Bs.onreadystatechange%3Dcallback%7Ddocument.body.appendChild(s)%3B%7D)()
@SiddheshDhinge
Copy link

epic

@ghostey44
Copy link

epic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment