// ==UserScript== // @name Plex Supreme // @icon https://www.macupdate.com/images/icons256/27302.png // @namespace http://skoshy.com // @version 0.1 // @description Enhances Plex // @author Stefan Koshy // @match http*://localhost:32400/* // @match http*://app.plex.tv/web/* // @grant none // @downloadURL none // ==/UserScript== var scriptid = 'plex-supreme'; var css = ` /* Makes video controls a little lighter */ .video-controls-overlay {background-color: rgba(0,0,0,.2);} .video-controls-overlay:hover {background-color: rgba(0,0,0,.8);} `; function addGlobalStyle(css, id) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; style.id = id; head.appendChild(style); } function initialize() { addGlobalStyle(css, scriptid); } initialize();