您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
changes greasy/sleazy fork bright theme to dark.
当前为
// ==UserScript== // @name Greasy Fork镜像 Dark Theme // @namespace - // @version 0.5 // @description changes greasy/sleazy fork bright theme to dark. // @author NotYou // @match https://gf.qytechs.cn // @match https://gf.qytechs.cn/* // @match http://gf.qytechs.cn // @match http://gf.qytechs.cn/* // @match https://sleazyfork.org // @match https://sleazyfork.org/* // @match http://sleazyfork.org // @match http://sleazyfork.org/* // @compatible Chrome 10.0 / Minimal: 1.0 // @compatible Edge 9.0 / Minimal: 4.0 // @compatible Firefox 4.0 / Minimal: 1.0 // @compatible Safari 5.1 / Minimal: 1.0 // @compatible Opera 10.5 / Minimal 3.5 // @run-at document-idle // @icon https://gf.qytechs.cn/packs/media/images/blacklogo96-b2384000fca45aa17e45eb417cbcbb59.png // @grant GM_addStyle // @license AGPLv3 (https://www.gnu.org/licenses/agpl-3.0.txt) // ==/UserScript== /* ﹀ Change Log ﹀ 0.5 Version: - SleazyFork Support | https://sleazyfork.org - Removes list style from li | https://gf.qytechs.cn/en/users/_-_ - Better th text align in moderator log | https://gf.qytechs.cn/en/moderator_actions - Fixed textarea(1) in comment reply | https://gf.qytechs.cn/en/scripts/_-_/code - Better textarea(2) in feedback(preview) | https://gf.qytechs.cn/en/scripts/_-_/feedback - New selection text | https://gf.qytechs.cn/en - New error text | https://gf.qytechs.cn/en/scripts/_-_/versions 0.4 Version: - Fixed colors in forumm | https://gf.qytechs.cn/en/discussions - Fixed textarea(1) in forum | https://gf.qytechs.cn/en/discussions/new - Fixed textarea(2) in report | https://gf.qytechs.cn/en/reports/new - Better colors in moderator log | https://gf.qytechs.cn/en/moderator_actions - Better shadow for option list | https://gf.qytechs.cn/en/scripts/ - Fixed textarea(3) | https://gf.qytechs.cn/en/users/_-_/sets/new?fav=_ - Better hover for curret category | https://gf.qytechs.cn/en/scripts/_ 0.3 Version: - Fixed textarea(1,2) | https://gf.qytechs.cn/en/scripts/_/versions/new - Better color | https://gf.qytechs.cn/en/scripts/_ - Fixed list hover | https://gf.qytechs.cn/en/scripts - Better links | https://gf.qytechs.cn/en - Fixed page number | https://gf.qytechs.cn/en/scripts - Added background to description | https://gf.qytechs.cn/en/scripts - Better color main name | https://gf.qytechs.cn 0.2 Version: - Fixed textarea(1) | https://gf.qytechs.cn/en/users/edit - Fixed textarea(2) | https://gf.qytechs.cn/en/scripts/_/versions/new - Fixed notices | https://gf.qytechs.cn/en/users/_-_ - Fixed sign-in | https://gf.qytechs.cn/en/users/sign_in - Fixed code container | https://gf.qytechs.cn/en/scripts/_/code 》 Compilatable Scripts 《 - GreasyFork+ - GreasyFork Helper */ (function() { let css = ` img { border-radius: 4px; } #main-header { background-color: rgb(221, 97, 23); background-image: linear-gradient(rgb(240, 135, 0), rgb(170, 96, 0)); } #main-header h1 { color: #090909; padding: 6px 4px; } #main-header, #main-header a, #main-header a:active, #main-header a:visited { color: rgb(5, 5, 5); } #main-header, #main-header a, #main-header a:active, #main-header a { color: rgb(5, 5, 5); } .tabs .current { border-top: 7px solid rgb(134, 113, 0) !important; border-radius: 0px 0px 4px 4px; } .tabs .current, .tabs > :not(.current) a:focus, .tabs > :not(.current) a:hover { background: rgba(134, 134, 134, 0.03) none repeat scroll 0% 0%; border-radius: 0px 0px 4px 4px; } #script-info { border: 1px solid rgb(21, 21, 21); background-color: rgb(19, 19, 19); box-shadow: rgb(0, 0, 0) 0px 0px 5px; } .code-container { border: 1px solid rgb(21, 21, 21); background-color: rgb(19, 19, 19); box-shadow: rgb(0, 0, 0) 0px 0px 5px; border-radius: 4px; } #ace-editor { border: 1px solid rgb(22, 22, 22); background-color: rgb(19, 19, 19); border-radius: 4px; } .ace_gutter-cell { background-color: rgb(11, 11, 11); } .ace-tm .ace_gutter-active-line { background-color: rgb(21, 21, 21); } .user-content { background: rgba(0, 0, 0, 0) linear-gradient(90deg, rgb(13, 13, 13), rgb(21, 21, 21) 1em) repeat scroll 0% 0%; border-radius: 8px; border: 1px solid rgb(25, 25, 25); } #user_profile { background-color: rgb(19, 19, 19); border: 1px solid rgb(22, 22, 22); border-radius: 4px; } #user_profile:focus { background-color: rgb(19, 19, 19); border: 1px solid rgb(198, 152, 16); border-radius: 4px; } .inline-form.external-login-form { background-color: rgb(19, 19, 19); border: 1px solid rgb(22, 22, 22); } .external-login-container .google_oauth2-login { background-color: rgb(19, 19, 19); border: 1px solid rgb(25, 25, 25); } .external-login-container .gitlab-login { background-color: rgb(19, 19, 19); border: 1px solid rgb(25, 25, 25); } .external-login.github-login { background-color: rgb(19, 19, 19); border: 1px solid rgb(25, 25, 25); } form.new_user { background-color: rgb(19, 19, 19); border: 1px solid rgb(25, 25, 25); } form.new_user input[type="submit"] { background-color: rgb(103, 87, 0); background-image: linear-gradient(rgb(153, 151, 0), rgb(103, 87, 0)); } #user_email { background-color: rgb(19, 19, 19); border: 1px solid rgb(25, 25, 25); } #user_password { background-color: rgb(19, 19, 19); border: 1px solid rgb(25, 25, 25); } .notice { background-color: rgb(19, 19, 19); border: 1px solid rgb(22, 22, 22); border-left-color: rgb(22, 22, 22); border-left-style: solid; border-left-width: 1px; border-left: 5px solid #31708f; } .validation-errors { background-color: rgb(28, 28, 28); } .install-link { border-radius: 5px 0px 0px 5px; } .install-help-link { border-radius: 0px 5px 5px 0px; } nav nav { box-shadow: rgb(0, 0, 0) 0px 0px 5px; border: 1px solid rgb(202, 137, 14); background-color: rgb(201, 113, 0); border-radius: 4px; } #language-selector-locale { background-color: rgb(19, 19, 19); border: 1px solid rgb(21, 21, 21); border-radius: 4px; } .home-search input[type="search"] { background-color: #0f0f0f; border-color: #1e1e1e; border-radius: 4px; color: #fff9; } .discussion-list, .script-list, .text-content, .user-list { box-shadow: rgb(0, 0, 0) 0px 0px 5px; background-color: rgb(15, 15, 15); border: 1px solid rgb(19, 19, 19); } .list-option-group ul { box-shadow: rgba(0, 0, 0, 0.63) 0px 0px 5px; border: 1px solid rgb(17, 17, 17); border-radius: 5px; background-color: rgb(19, 19, 19); } .list-option-group a:focus, .list-option-group a:hover { background: rgba(0, 0, 0, 0) linear-gradient(rgb(38, 38, 38), rgb(13, 13, 13)) repeat scroll 0% 0%; box-shadow: rgb(26, 26, 26) 0px -1px inset, rgb(19, 19, 19) 0px 1px inset; } .list-option-group .list-current { background: rgba(0, 0, 0, 0) linear-gradient(rgb(28, 28, 28), rgb(17, 17, 17)) repeat scroll 0% 0%; border-left: 7px solid rgb(183, 180, 0); } :not(:lang(he)):not(:lang(ar)):not(:lang(ug)), body:lang(ar) #main-header, body:lang(he) #main-header, body:lang(ug) #main-header { color: rgb(200, 200, 200); } .list-option-button:focus, .list-option-button:hover { background: rgba(0, 0, 0, 0) linear-gradient(rgb(43, 43, 43), rgb(30, 30, 30)) repeat scroll 0% 0%; } .list-option-button { background-color: rgb(21, 21, 21); border-radius: 5px; color: rgb(198, 198, 198) !important; border: 1px solid rgb(28, 28, 28); } .script-description.description { background-color: rgb(13, 13, 13); padding: 5px; border: 1px solid rgb(21, 21, 21); border-radius: 4px; } .rating-icon-good { border-color: rgb(77, 166, 77); box-shadow: rgba(41, 221, 15, 0.51) 0px 0px 5px; background-color: rgba(26, 204, 26, 0.54); } .rating-icon-ok { border-color: rgb(183, 152, 77); box-shadow: rgba(238, 193, 17, 0.51) 0px 0px 5px; background-color: rgba(234, 199, 10, 0.54); } .rating-icon-bad { border-color: rgb(183, 77, 77); box-shadow: rgba(238, 17, 17, 0.51) 0px 0px 5px; background-color: rgba(234, 10, 10, 0.54); } .good-rating-count { background-color: rgba(26, 204, 26, 0.1); border-color: rgba(20, 225, 20, 0.3); box-shadow: rgba(41, 221, 15, 0.11) 0px 0px 5px;background-color: rgba(26, 204, 26, 0.1); } .ok-rating-count { background-color: rgba(225, 225, 0, 0.1); border-color: rgba(234, 234, 0, 0.3); box-shadow: rgba(221, 179, 15, 0.11) 0px 0px 5px; } .bad-rating-count { background-color: rgba(255, 0, 0, 0.1); border-color: rgba(234, 0, 0, 0.3); box-shadow: rgba(221, 15, 15, 0.11) 0px 0px 5px; } .badge.badge-js { background-color: rgba(251, 212, 0, 0.66); border-color: rgb(255, 191, 0); box-shadow: rgba(221, 179, 15, 0.29) 0px 0px 5px; } .badge.badge-css { background-color: rgba(0, 157, 251, 0.66); border-color: rgb(0, 100, 255); box-shadow: rgba(15, 153, 221, 0.29) 0px 0px 5px; } #home-top-sites a { color: #bdb322; text-decoration: none; } #home-top-sites a:hover { color: #bdb322; text-decoration: underline; } #add-additional-info { color: rgb(221, 221, 221); } #script-version-additional-info-0 { background-color: rgb(19, 19, 19); border: 1px solid rgb(11, 11, 11); border-radius: 5px; } #script_version_code { background-color: rgb(19, 19, 19); border-radius: 5px; border: 1px solid rgb(22, 22, 22); } #script_version_changelog { background-color: rgb(19, 19, 19); border-radius: 5px; border: 1px solid rgb(22, 22, 22); } #discussion_comments_attributes_0_text { background-color: rgb(19, 19, 19); border: 1px solid rgb(23, 23, 23); border-radius: 5px; } #report_explanation { background-color: rgb(19, 19, 19); border: 1px solid rgb(23, 23, 23); border-radius: 5px; } #add-script { background-color: rgb(19, 19, 19); border: 1px solid rgb(23, 23, 23); border-radius: 5px; } #comment_text { background-color: rgb(19, 19, 19); border: 1px solid rgb(23, 23, 23); border-radius: 5px; } .pagination, .script-list + .pagination, .user-list + .pagination { padding: 2px; } .pagination > *, .script-list + .pagination > *, .user-list + .pagination > * { background-color: rgb(19, 19, 19); box-shadow: rgba(0, 0, 0, 0.52) 0px 0px 5px; } .pagination > a:focus, .pagination > a:hover { background-color: rgb(28, 28, 28); } .pagination .current, .pagination { background-color: rgb(28, 28, 28); } .log-table th { text-align: center; } ::selection { background: rgb(89, 89, 89); } li { list-style: none; } tr { background-color: rgb(19, 19, 19); } td { background-color: rgb(11, 11, 11); } select { background-color: rgb(19, 19, 19); border-radius: 4px; border: 1px solid rgb(23, 23, 23); } code, pre { border: 1px solid rgb(32, 32, 32); } code { background-color: rgb(26, 26, 26); } button { background-color: rgb(19, 19, 19); border: 1px solid rgb(23, 23, 23); border-radius: 4px; margin-top: 2px; } input { background-color: rgb(19, 19 , 19); border: 1px solid rgb(22, 22, 22); border-radius: 4px; } body { background-color: rgb(19, 19, 19); } `; if (typeof GM_addStyle !== "undefined") { GM_addStyle(css); } else { let styleNode = document.createElement("style"); styleNode.appendChild(document.createTextNode(css)); (document.querySelector("head") || document.documentElement).appendChild(styleNode); } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址