您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
javbus mobile style
当前为
// ==UserScript== // @name javbus mobile // @namespace shfeat // @author shfeat // @version 0.1 // @description javbus mobile style // @license MIT // @match http*://*javbus.com/* // @connect www.javbus.com // @grant GM_xmlhttpRequest // @grant GM_getResourceText // @grant GM_getValue // @grant GM_setValue // @grant GM_download // @grant GM_addStyle // @require // @homepageURL // @run-at document-end // ==/UserScript== (function() { 'use strict'; $(document).ready(function() { $('.small-pic div i').each(function(i, item){ var style = $(item).attr('style'); var url = style.replace(/.+url\("(\/\/[^?]+).+/, '$1'); $('.note-top').prepend('<p>http:'+url+'</p>'); }); }); })(); (function() { 'use strict'; var css_text = "body{min-width:1180px !important;width:100% !important;}.wp{width:100% !important;}.ct2 .mn{width:100% !important;}.ct2 .sd{width:100% !important;}.main-right-box{width:100% !important;}.post_inforight{width:90% !important;}.post_infolist{width:100% !important;}.post_infolist_tit a{font-size:3vw !important;}.post_infolist_tit a img{min-width:20vw !important;height:100% !important;}.post_infolist_other{font-size:2vw !important;}#fd_page_bottom .pg{line-height:4vw !important;}#fd_page_bottom .pg strong,#fd_page_bottom .pg a{padding:0 !important;width:6vw !important;height:100% !important;font-size:2vw !important;}.biaoqicn_bjctj li{line-height:4vw !important;}.biaoqicn_bjctj li span{font-size:3vw !important;padding:0 20px !important;margin-right:20px !important;}.biaoqicn_bjctj li a{font-size:3vw !important;}.main-right-tit{height:100% !important;}.main-right-tit span{font-size:3vw !important;}.main-right-zuixin .comment-info{width:20vw !important;float:left;}.main-right-zuixin .comment-info table{width:100% !important;}.main-right-zuixin .comment-info .diy-image-outer img{width:30vw !important;}.main-right-zuixin .comment-post a{font-size:3vw !important;}.main-right-zuixin .comment-excerpt{overflow:hidden !important;}.main-right-zuixin .comment-excerpt p a{font-size:1.5vw !important;}.main-right-kuaixu li{overflow:auto !important;height:100%;}.main-right-kuaixu .main-right-kuaixu-pic{width:20vw;}.main-right-kuaixu .main-right-kuaixu-pic img{width:20vw;height:100%;}.main-right-kuaixu .main-right-kuaixu-txt{margin-left:1vw;float:left;width:70vw;font-size:2vw !important;}.main-right-kuaixu .main-right-kuaixu-txt a{font-size:3vw !important;max-height:100%;line-height:100%;}"; if (typeof GM_addStyle != "undefined") { GM_addStyle(css_text); } else if (typeof PRO_addStyle != "undefined") { PRO_addStyle(css_text); } else if (typeof addStyle != "undefined") { addStyle(css_text); } else { var node = document.createElement("style"); node.type = "text/css"; node.appendChild(document.createTextNode(css_text)); var heads = document.getElementsByTagName("head"); if (heads.length > 0) { heads[0].appendChild(node); } else { document.documentElement.appendChild(node); } } })();