Skip to content

Instantly share code, notes, and snippets.

@RobRoy
Last active February 16, 2020 21:50
Embed
What would you like to do?
Mit einer Browsererweiterung wie Greasemonkey für Firefox oder Tampermonkey für Chrome (https://www.tampermonkey.net - gibt es wohl für alle gängigen Browser), könnt Ihr mit dem folgenden kleinen Userscript die Playlist Buttons des AFTV Players sichtbarer machen und damit einfacher zwischen den Halbzeiten der Relive Spiele wechseln. Wenn Ihr die…
// ==UserScript==
// @name Playlist Styles AFTV
// @description Stylt die Playlist Buttons des Players auf https://www.aftv-online.de deutlicher
// @match https://www.aftv-online.de/*
// ==/UserScript==
function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
addGlobalStyle('button.vjs-playlist-controls { background: #495057 ! important; }');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment