您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Makes use of much of the empty space on the posts pages to show more thumbnails. Useful if you increase the size and/or number of thumbnails.
// ==UserScript== // @name [Konachan / yande.re / LB] Search: Remove Dead Space // @namespace Zolxys // @description Makes use of much of the empty space on the posts pages to show more thumbnails. Useful if you increase the size and/or number of thumbnails. // @include /^https?://konachan\.com/post/?($|\?|#)/ // @include /^https?://konachan\.net/post/?($|\?|#)/ // @include /^https?://yande\.re/post/?($|\?|#)/ // @include /^https?://lolibooru\.moe/post/?($|\?|#)/ // @version 1.2 // ==/UserScript== var ss = document.createElement('style'); ss.type = 'text/css'; ss.textContent = [ 'body {padding: 1em .6%;}', 'div.content {width: 84%; margin: 0; padding: 0;}', 'div.sidebar {width: 15%; margin: 0 .4% 0 0; padding: 0;}', 'div#news-ticker {margin: -1em -.6% 1em;}', ''].join('\n'); document.head.appendChild(ss); var n = document.getElementById('lsidebar'); if (n) n.parentNode.removeChild(n);