您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
New design for todogh.com
当前为
// ==UserScript== // @author @leoncastro // @namespace https://github.com/leoncastro // @name todogh-theme // @version 0.03 // @description New design for todogh.com // @include http://todogh.com/directo/ // @include http://todogh.com/telecinco/ // @include http://todogh.com/chat-grande/ // @compatible firefox+greasemonkey // @compatible chrome+tampermonkey // @grant none // @run-at document-start // ==/UserScript== // (function(){ function addStyleEx(css) { var dad, obj = document.createElement('style'); obj.setAttribute('type', 'text/css'); obj.innerHTML = css; dad = document.getElementsByTagName('head'); (dad && dad.length ? dad[0] : document).appendChild(obj); if(document.readyState == 'loading') document.addEventListener('DOMContentLoaded', function(){obj.parentNode.appendChild(obj);}); return obj; } addStyleEx(` .section.header{display:block;position:absolute;left:0;top:0;width:250px;height:60px;margin:0;padding:0} .section.navigation{display:block;position:absolute;left:0;top:0;width:calc(100% - 250px);height:60px;margin:0 0 0 250px;padding:0} .main-menu>li>a{padding:25px 10px} .section.wrapper{top:60px;padding:0} body.single .content{width:100%} .single .post-content{padding:0} .post-header,.adsbygoogle,.sidebar,.section.footer,.section.credits,.todog-adlabel{display:none!important} /* CHAT GRANDE */ .page-id-60 .post-content>p>iframe{width:100%!important} .page-id-60 .post-content>p{margin-bottom:0} /* DIRECTO */ .page-id-11 .post-content>p[style]{width:50%;margin:0;font-size:80%} .page-id-11 .post-content>p[style]~div>p>iframe{float:left;width:50%!important;height:100%!important;min-height:500px} .page-id-11 .post-content>p[style]~p{display:none} .page-id-11 .post-content>h6{display:none} /* TELECINCO */ .page-id-13 .post-content>div+p+div{ width:50%;margin:0; padding:0;font-size:80%} .page-id-13 .post-content>div+p+div+div{width:100%} .page-id-13 .post-content>div+p+div+div>p>iframe{float:left;width:50%!important;height:100%!important;min-height:500px} `); })();