您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Eye-friendly magic in your browser for Youtube
当前为
// // Written by Glenn Wiking // Script Version: 0.0.1 // Date of issue: 06/12/14 // Date of resolution: 06/12/14 // // ==UserScript== // @name ShadeRoot 4Chan // @namespace YT // @description Eye-friendly magic in your browser for Youtube // @version 0.0.1 // @icon https://i.imgur.com/8vq9zZn.png // @include http://*.4chan.* // @include https://*.4chan.* // ==/UserScript== function ShadeRoot4Chan(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); } ShadeRoot4Chan( 'html, iframe html, body {background: #112 !important;}' + '.top-box {background: none repeat scroll 0% 0% rgba(17, 29, 81, 1) !important;}' + '.box-outer {border: 1px solid #113 !important;}' + '.boxcontent img, #logo {opacity: .42 !important;}' + '.boxbar {background: none repeat scroll 0% 0% rgba(18, 45, 123, 1) !important;}' + '.boxbar h2, .shown a, #copyright {color: rgba(24, 93, 213, 1) !important;}' + 'video {opacity: .88;}' );