Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name YouTube HTML5 Player
- // @namespace https://github.com/ktg5/YT-HTML5-Player/
- // @version 1.3.3
- // @description Try to recreate the old YouTube player looks.
- // @author ktg5
- // @match *://*.youtube.com/*
- // @icon https://raw.githubusercontent.com/ktg5/YT-HTML5-Player/main/img/favicon.png
- // @resource CSS https://github.com/ktg5/YT-HTML5-Player/raw/main/style.css
- // @resource 3RD-PARTY https://github.com/ktg5/YT-HTML5-Player/raw/main/3rd-party-style.css
- // @require https://github.com/ktg5/YT-HTML5-Player/raw/main/3rd-party-script.js
- // @grant GM_getResourceText
- // @grant GM_addStyle
- // ==/UserScript==
- // Start
- setTimeout(function() {
- // IMPORT CSS
- const CSS1 = GM_getResourceText("CSS")
- GM_addStyle(CSS1);
- const CSS2 = GM_getResourceText("3RD-PARTY")
- GM_addStyle(CSS2);
- GM_addStyle(`
- .ytd-video-view-count-renderer {
- display: none;
- }
- `);
- }, 2500)();
Advertisement
Add Comment
Please, Sign In to add comment