// ==UserScript== // @name vBulletin - Signature Collapse // @namespace http://openuserjs.org/users/ardiman // @description Allows quick display toggle of user's signature on vBulletin- and other forums. // @description:de-DE Erlaubt schnelles Ausblenden/Anzeigen von Signaturen in vBulletin- und anderen Forensystemen. // @grant none // @homepage https://github.com/ardiman/userscripts/tree/master/vbulletinsignaturecollapse // @icon https://raw.githubusercontent.com/ardiman/userscripts/master/scriptlogo.gif // @include */showthread.php* // @include */showpost.php* // @include */viewtopic.php* // @include */index.php?showtopic=* // @include */index.php?topic=* // @include */index.php/topic=* // @include */thread/* // @include */?thread/* // @include http://community.invisionpower.com/topic/* // @include http://forums.modx.com/thread/* // @include http://community.mybb.com/* // @include http://www.xendach.de/threads/* // @license CC-BY-NC-SA-3.0; https://creativecommons.org/licenses/by-nc-sa/3.0/legalcode // @license MIT; https://opensource.org/licenses/MIT // @supportURL https://github.com/ardiman/userscripts/issues // @version 1.2.0 // @date 2019-06-02 // @downloadURL none // ==/UserScript== (function() { var nodes = document.evaluate( "//td/div/following::comment()[.=' sig ']|//div[@class='signaturecontainer']|//div[@class='dis-signature']|//div[contains(@class, 'signature')]|//div[@class='messageSignature']", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null); var thissign; for(var i=0; i