Youtube Show Uploads Only

Shows only uploads on subscription pages

  1. // ==UserScript==
  2. // @name Youtube Show Uploads Only
  3. // @namespace http://userscripts.org/users/zackton
  4. // @description Shows only uploads on subscription pages
  5. // @include *.youtube.com/*
  6. // @grant none
  7. // @version 1.3.7
  8. // ==/UserScript==
  9.  
  10. window.setTimeout(UploadsOnly,0)
  11.  
  12. function UploadsOnly() {
  13. console.log('test2');
  14. var currenturl = document.URL;
  15. console.log(currenturl);
  16.  
  17. var load = currenturl.indexOf("feed/");
  18. var add = currenturl.indexOf("/u");
  19.  
  20. if (load===-1) {}
  21. else if (add===-1) {
  22. window.location = document.URL+"/u";
  23. }
  24.  
  25. }
  26. // Add script to the page
  27. document.addEventListener('DOMContentLoaded', function(e) {
  28. var s = document.createElement('script');
  29. s.textContent = "(" + UploadsOnly.toString() + ')();';
  30. document.head.appendChild(s)
  31. });

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址