Last active
December 8, 2019 11:38
-
-
Save m1k1o/41e824e542cbdb6f310bfe533184f558 to your computer and use it in GitHub Desktop.
View song names in OE3 player.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name OE3 Player - display songs | |
// @namespace https://oe3.orf.at | |
// @version 1.0 | |
// @description try to take over the OE3 Player! | |
// @author kronos | |
// @match https://oe3.orf.at/player* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var css = '.broadcast-item.is-LSG a.info { opacity: 1 !important; }'+ | |
'.broadcast-item.is-LSG:hover {z-index:90!important;overflow: visible !important;}'+ | |
'.broadcast-item.is-LSG:hover a.info {z-index:30!important;width:auto!important;}', | |
head = document.head || document.getElementsByTagName('head')[0], | |
style = document.createElement('style'); | |
head.appendChild(style); | |
style.type = 'text/css'; | |
if (style.styleSheet){ | |
// This is required for IE8 and below. | |
style.styleSheet.cssText = css; | |
} else { | |
style.appendChild(document.createTextNode(css)); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment