ShadeRoot Mega

Eye-friendly magic in your browser for Mega

目前为 2017-09-05 提交的版本。查看 最新版本

//
// Written by Glenn Wiking
// Script Version: 1.0.2a
// Date of issue: 09/05/17
// Date of resolution: 09/05/17
//
// ==UserScript==
// @name        ShadeRoot Mega
// @namespace   SRME
// @description Eye-friendly magic in your browser for Mega
// @version     0.0.1a
// @icon        https://i.imgur.com/f6FIniz.png

// @include        http://*mega.nz*
// @include        https://*mega.nz*

// ==/UserScript==

function ShadeRootME(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);
}

ShadeRootME(
	'.bottom-page.scroll-block {background: #260d0d !important;}'
	+
	'.bottom-menu.body {background-color: #1a1111 !important;}'
	+
	// TEXT COLOR 1
	'body, p, h1, h2, h3, h4, h5, h6, strong, .bottom-menu company-info {color: #EDD !important;}'
	+
	'.login-register-input {border: 2px solid #721515 !important;}'
	+
	// TEXT COLOR 2
	'.link {color: #c5b0b0 !important;}'
	+
	'.link:hover {color: #bf6a6a !important;}'
);

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址