SHARE
TWEET

Untitled

a guest Apr 22nd, 2019 76 in 335 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. javascript:function updateQueryStringParameter(uri, key, value) {  var re = new RegExp("([?&])" + key + "=.*?(&|$)", "i");  var separator = uri.indexOf('?') !== -1 ? "&" : "?";  if (uri.match(re)) {    return uri.replace(re, '$1' + key + "=" + value + '$2');  }  else {    return uri + separator + key + "=" + value;  }}javascript:function deleteMore() {      elements = document.getElementsByTagName("ytd-playlist-video-renderer");        for(i=elements.length-1;i>=0;i--) {             children = elements[i].getElementsByClassName("ytd-thumbnail-overlay-resume-playback-renderer");        if (children.length>0) {                        elements[i].remove();       }   }           if(document.getElementsByTagName('yt-next-continuation').length > 0){               window.scrollTo(0,document.getElementsByTagName('ytd-app')[0].scrollHeight);                setTimeout(function(){deleteMore()}, 500);    } else {                      var links = document.getElementsByTagName("A");     for(i=links.length-1;i>=0;i--) {            url = links[i].getAttribute('href');            if (url!=null) {                url = updateQueryStringParameter(url,'list','');                links[i].setAttribute('href',url);          }       }               console.log("... IS DONE! *metal riffs*");      }}deleteMore();
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