Corrections to UI of di.fm and related sites
当前为
// ==UserScript==
// @name CSS: di.fm
// @description Corrections to UI of di.fm and related sites
// @author MK
// @namespace max44
// @homepage https://greasyfork.org/en/users/309172-max44
// @match https://*.di.fm*
// @match https://di.fm*
// @match https://*.classicalradio.com*
// @match https://classicalradio.com*
// @match https://*.radiotunes.com*
// @match https://radiotunes.com*
// @match https://*.jazzradio.com*
// @match https://jazzradio.com*
// @match https://*.rockradio.com*
// @match https://rockradio.com*
// @match https://*.zenradio.com*
// @match https://zenradio.com*
// @version 1.0.1
// @license MIT
// @run-at document-idle
// ==/UserScript==
(function() {
//CSS for any mode
var css = `
/*Add border under the payer*/
.wp-visible #webplayer-region {
border-bottom: black solid 5px !important;
}
/*Hide today's free channels*/
.channel-mosaic__free-channels-heading, .marionette-region[data-daily-free-tooltip-region], .marionette-region[data-daily-free-channels-region],
div#root .content-area.flex-wrap .column-view .column-view__section[data-region-1] {
display: none !important;
}
/*Hide "Unlock with premium"*/
.channel-mosaic__all-channels-heading.channel-mosaic__all-channels-heading--locked .channel-mosaic__all-channels-msg, a[data-track-group="unlockAllWithPremium"] {
display: none !important;
}
`;
if (typeof GM_addStyle != 'undefined') {
GM_addStyle(css);
} else if (typeof PRO_addStyle != 'undefined') {
PRO_addStyle(css);
} else if (typeof addStyle != 'undefined') {
addStyle(css);
} else {
var node = document.createElement('style');
node.type = 'text/css';
node.appendChild(document.createTextNode(css));
document.documentElement.appendChild(node);
}
})();