// ==UserScript== // @name 动漫花园魔改 // @namespace https://greasyfork.org/zh-CN/scripts/474065 // @version 1.1.0 // @license MIT // @description 动漫花园暗色主题,并且屏蔽了广告 // @author kasuie // @include http://share.dmhy.org/* // @include https://share.dmhy.org/* // @include https://dmhy.org/* // @include https://dmhy.anoneko.com/* // @include https://www.dmhy.org/* // @resource css https://cdn.jsdelivr.net/gh/kasuie/web-static@v1.1.1/web-dmhy/index.min.css // @icon https://www.google.com/s2/favicons?sz=64&domain=dmhy.org // @run-at document-start // @grant GM_addStyle // @grant GM_getResourceText // @downloadURL none // ==/UserScript== (function() { 'use strict'; if (typeof GM_addStyle != "undefined" && typeof GM_getResourceText != "undefined") { GM_addStyle(GM_getResourceText("css")); } else { var linkElement = document.createElement('link'); linkElement.rel = 'stylesheet'; linkElement.type = 'text/css'; linkElement.href = 'https://cdn.jsdelivr.net/gh/kasuie/web-static@v1.1.1/web-dmhy/index.css'; var head = document.head || document.getElementsByTagName('head')[0]; head.insertBefore(linkElement, head.firstChild); } })();