Created
December 1, 2020 19:49
-
-
Save karlwilbur/fbfaaadad86d2d998bf221081dbad79a to your computer and use it in GitHub Desktop.
YouTube Ad Skipper Bookmarklet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
epic