您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Enhances Plex
当前为
- // ==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
- // ==/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();