[Konachan] Profile: Prevent Overlap

When non-breaking text (such as IPv6) forces the left column to widen, this will move the right column along with it to prevent overlap.

Verze ze dne 28. 10. 2014. Zobrazit nejnovější verzi.

// ==UserScript==
// @name		[Konachan] Profile: Prevent Overlap
// @namespace	Zolxys
// @description	When non-breaking text (such as IPv6) forces the left column to widen, this will move the right column along with it to prevent overlap.
// @include		/http://konachan\.(com|net)/user/show/\d+/?($|\?|#)/
// @version		1.0
// ==/UserScript==
var a = document.getElementById('content').childElements()[1];
var w = a.style.width;
a.style.width = '';
a.firstElementChild.style.width = w;