daily pastebin goal
72%
SHARE
TWEET

Untitled

a guest Jan 19th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Click YES on Youtube
  3. // @namespace    http://tampermonkey.net/
  4. // @version      0.1
  5. // @description  try to take over the world!
  6. // @author       You
  7. // @grant GM_setValue
  8. // @grant GM_getValue
  9. // @grant GM_setClipboard
  10. // @grant unsafeWindow
  11. // @grant window.close
  12. // @grant window.focus
  13. // @include      *youtube.com*
  14. // ==/UserScript==
  15.  
  16. (function() {
  17.    
  18.    
  19.  
  20.  
  21.  
  22.  
  23. for(var i = 0, len = document.links.length; i < len; i += 1) {
  24.     if(document.links[i].textContent === "yes") {
  25.         document.links[i].click();
  26.     }
  27. }    
  28.  
  29.  
  30.  
  31. })();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top