// ==UserScript== // @name DMZJ Helper // @namespace https://github.com/DriverHub/dmzj-assistant // @version 0.1 // @description 网站功能增强 // @match http://i.dmzj.com/* // @match http://manhua.dmzj.com/* // @copyright 2016, DriverHub // @author UnluckyNinja, pa001024 // @grant unsafeWindow // @grant GM_xmlhttpRequest // @connect self // @connect user.dmzj.com // @connect s.acg.178.com // @downloadURL none // ==/UserScript== // userscript for https://chrome.google.com/webstore/detail/dhdgffkkebhmkfjojejmpbldmpobfkfo (function($, window) { // loadCSS start var styleRes = function() { /* #da_import_button, .dy_content_li{cursor: pointer;} .da_button{width: 400px; display:block; float:right;} div.popup { padding: 6px; position: relative; margin-top: 5px; left: calc(-50px); display: block; background-color: white; color: black; width: 200px; height: 100px; border: 1px solid #e6e6e6; } div.popup.import { left: -120px; height: 135px; } div.popup.import i.popup { right: 33px; } textarea.popup { display: block; width: 100%; height: 100px; color: black; font-size: small; overflow: hidden; } i.popup { position: absolute; display: inline-block; width: initial; height: initial; margin: 0; border: 10px solid; top: -20px; right: calc(100px - 10px); border-color: transparent; border-bottom-color: #e6e6e6; } #da_import_button { margin-right: 6px; padding-left: 4px; float: right; background: url(img/border.gif) no-repeat scroll -283px -46px; color: #fd3600; height: 20px; margin: 0 1px 0 0; padding: 3px 0 0 3px; } #import_button { position:relative; width: 50px; height: 30px; margin: 5px 0 0 0; float: left; left: calc(50% - 25px); font-size: small; } */ }; var myCSS = $("#ad_style"); if (!myCSS.length) myCSS = $("