[Konachan / yande.re / LB] Search: Remove Dead Space

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.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==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);