Guest User

Untitled

a guest
Sep 1st, 2022
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. // ==UserScript==
  2. // @name YouTube HTML5 Player
  3. // @namespace https://github.com/ktg5/YT-HTML5-Player/
  4. // @version 1.3.3
  5. // @description Try to recreate the old YouTube player looks.
  6. // @author ktg5
  7. // @match *://*.youtube.com/*
  8. // @icon https://raw.githubusercontent.com/ktg5/YT-HTML5-Player/main/img/favicon.png
  9. // @resource CSS https://github.com/ktg5/YT-HTML5-Player/raw/main/style.css
  10. // @resource 3RD-PARTY https://github.com/ktg5/YT-HTML5-Player/raw/main/3rd-party-style.css
  11. // @require https://github.com/ktg5/YT-HTML5-Player/raw/main/3rd-party-script.js
  12. // @grant GM_getResourceText
  13. // @grant GM_addStyle
  14. // ==/UserScript==
  15.  
  16. // Start
  17. setTimeout(function() {
  18. // IMPORT CSS
  19. const CSS1 = GM_getResourceText("CSS")
  20. GM_addStyle(CSS1);
  21. const CSS2 = GM_getResourceText("3RD-PARTY")
  22. GM_addStyle(CSS2);
  23.  
  24. GM_addStyle(`
  25. .ytd-video-view-count-renderer {
  26. display: none;
  27. }
  28.  
  29.  
  30. `);
  31.  
  32. }, 2500)();
  33.  
Advertisement
Add Comment
Please, Sign In to add comment