您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Eye-friendly magic in your browser for xHamster
当前为
// // Written by Glenn Wiking // Script Version: 0.0.1a // Date of issue: 03/09/17 // Date of resolution: 03/09/17 // // ==UserScript== // @name ShadeRoot xHamster // @namespace SRXH // @description Eye-friendly magic in your browser for xHamster // @include *xhamster.* // @version 0.0.1a // @icon https://i.imgur.com/kS5JJgG.png // ==/UserScript== function ShadeRootXH(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); } ShadeRootXH ( '#main {background: #110f0f !important;}' + '.boxC, #idxFeach .boxC, #vPromo .loader, .videoList, #footerBox {background: #241e1e !important; border: 1px solid #302b2b !important;}' + '#supportAds {display: none !important;}' + 'a, .top {color: #EAD0D0 !important;}' + '.pager {background: #232020 !important; border-top: 1px solid #242222 !important;}' + '.pager span {color: #c3b9b9 !important; background: #4e4949 !important;}' + '.pager span, .pager a {border: 1px solid #292424 !important; box-shadow: 0 1px #181515 !important;}' + '.shadowDown, #buttons {border-bottom: 1px solid #2d2a2a !important;}' + '.shadowTop {border-bottom: 1px solid #2D2929 !important;}' + '.video u {color: #cebebe !important;}' + '.video u:hover {color: #b63636 !important;}' + '#footer ul {border-left: 1px solid black !important;}' + '.col-head span {border-bottom: 1px dashed #605555;}' + '.storeBox .storeMenu {background: #3b3535 !important; color: #edd !important; border: 1px solid #322E2E !important;}' + '.storeBox a, .description-text a, #newPlayerFeedback a {color: #d7bebe !important;}' + '.box .head, .box h2, .box > h1, .hAddition {background: #181414 !important; border: 1px solid #2a2424 !important; text-shadow: #261F1F 0 1px !important; color: #d4c5c5 !important;}' + '.box .head .btnsRight a.sel, .box .head .btnsBetween a.sel, .hAddition span a.sel, .box h1 .btnsRight a.sel, .box h1 .btnsBetween a.sel, .box h2 .btnsRight a.sel, .box h2 .btnsBetween a.sel {background: #4a1c1c !important; color: #dac4c4 !important;}' + '.hAddition span a, .box h1 .btnsRight a, .box h1 .btnsLeft a, .box h1 .btnsBetween a, .box h2 .btnsRight a, .box h2 .btnsLeft a, .box h2 .btnsBetween a, .box .head .btnsRight a, .box .head .btnsLeft a, .box .head .btnsBetween a, .dropList a {border: 1px solid #542020 !important; box-shadow: 0 1px #291F1F !important;}' + '#search .text, input {background: #504e4e !important; color: #f6e8e8 !important; border: 1px solid #605b5b !important;}' + '.selectEd, .submit, .select {background-color: #383232 !important;}' + '#search .select {color: #c6b6b6 !important; border: 1px solid #504a4a !important;}' + '#menuLogin a {text-shadow: #352121 0 1px !important; color: #dab6b6;}' + '.submit {filter: brightness(.8) !important; opacity: .9 !important;}' + '.menuLang a {background: #555 !important; border-top: 1px solid #382D2D !important;}' + '.langBox {background: #332b2b !important; border: 1px solid #3F3939 !important;}' + '#buttons {border-top: 1px solid #151313 !important;}' + '.col-head {text-shadow: 0 1px #241b1b !important; border-bottom: 1px dashed #6f6363 !important;}' + '.hAddition span a, .box h1 .btnsRight a, .box h1 .btnsLeft a, .box h1 .btnsBetween a, .box h2 .btnsRight a, .box h2 .btnsLeft a, .box h2 .btnsBetween a, .box .head .btnsRight a, .box .head .btnsLeft a, .box .head .btnsBetween a, .dropList a {background-image: none !important;}' + '#cRng a , .box h1 a.tool, .box h1 span.tool, .box h2 a.tool, .box h2 span.tool, .box .head a.tool, .box .head span.tool, #videoInfo a, .head a {border: 1px solid #4A1E1E !important; box-shadow: 0 1px #322 !important; background-image: none !important;}' + '#cRng div.list a , #cRng a span {background: #242020; color: #edd !important;}' + '.pager a {background: #383232 !important; color: #d5c9c9 !important;}' + '.pager a:hover {background: #716363 !important;}' + '.category-description {border: 1px solid #533434 !important; color: #d7c2c2 !important;}' + '#swectrqw {display: none !important;}' + '.menuLang a, .item span, #newPlayerFeedback {color: #EDD !important;}' + '.menuLang a:hover {color: #c22424 !important;}' + '#copy {text-shadow: 0 1px #211818 !important;}' + '.tools {border-top: 1px solid #332E2E !important;}' + '.box .line, .box .lineS, .rate {border-top: 1px solid #332E2E !important; border-bottom: 1px solid #332E2E !important;}' + '#videoInfoBox {background-image: none !important;}' + '.tools a, .tools .rate {box-shadow: 0 1px #201b1b !important; color: #EDD !important;}' + '.tools a, .rate, .more a, .btnList a, .related-categories a {border: 1px solid #261d1d !important; background-color: #391414 !important; color: #EDD !important; background-image: none !important;}' + '.tab {background: #1e1919 !important;}' + '.content {border: 1px solid #383030 !important; background-color: #2f2727 !important;}' + '.tabs .head a.sel, .tabs .head a.sel:hover {background-color: #241d1d !important; color: #EDD !important;}' + '.head a {background-color: #201b1b !important;}' + '.col-head span {border-bottom: 1px dashed #c8c8c800 !important;}' + '.arrowL, .arrowR {opacity: .5 !important;}' + '.related-categories a {box-shadow: 0 1px #211616 !important;}' + '.storeBox a:hover {background: #271d1d !important;}' + '.letter-block {border-top: 1px solid #1b1414 !important;}' + '.alphabetical .letter-categories a {color: #a49f9f !important;}' + '.alphabetical .letter-categories a:hover {background: #3c2727 !important;}' + '.alphabetical .alphabet-block {background: none !important; border-bottom: 1px solid #423535 !important;}' + '.error {border: 1px solid #771c1c !important; background-color: #4e1313 !important; color: #e9c1c1 !important;}' + 'body {background: #110f0f !important;}' + '.error a, .digitsAd, .check a {color: #f5381f !important;}' + '.login .item {border: 1px solid #3b1c1c !important; background: #211919 !important;}' + '.login label {color: #e3d0d0 !important; text-shadow: 0 1px #3E2A2A !important;}' + '.login .item .content, .login .item .bottom {border-top: 1px solid #381C1C !important;}' + '.login .signup {color: #EDD; border: 1px solid #f22b10 !important; box-shadow: 0 1px #2A1414 !important;}' + '.inp {background-color: #3B2A2A !important; border: 1px solid #5C2222 !important; box-shadow: 0 1px #361313 !important;}' + '.login .signup, .loginBnt {background: #72291f !important; color: #EDD; border: 1px solid #9e200f !important;}' + '.itemR {border: 1px solid #451d1d !important; background: #352c2c !important;}' + '.digits div, .digits span {filter: brightness(.8) !important;}' + '.ad span {background: #555 !important; color: #efd5d5 !important; text-shadow: 0 1px #2A1212 !important;}' + '.loginBnt {color: #efd5d5 !important; text-shadow: 0 1px #2A1212 !important;}' + '.itemBottom {border: 1px solid #4E1B1B !important;}' + '.login .item .top, .login .item .content {border-bottom: 1px solid #3e2b2b !important;}' );