dA_signature_visibility

alter appearance of signatures

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           dA_signature_visibility
// @namespace      dA_signature_visibility
// @description    alter appearance of signatures
// @include        http://*.deviantart.*
// @include        http://sta.sh/*
// @require    	http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js
// @version        1.81
// @grant		   GM_addStyle
// ==/UserScript==

(function(){
// var $=unsafeWindow.jQuery,holder,query,offset,fPage,pPage,lPage;
if(typeof $ == "undefined")return;

function signat(){
	var coms = $(".text.text-ii:not(div[dA_sig_vis_finished])").each(function(index, value){
		var sig=$(this).find(".cc-signature");
		if(sig.length!=0){var sigt=sig.html();sig.remove();}else{$(this).addClass("dA_sig_vis_cont");return;}		
		$(this).html("<div class='dA_sig_vis_cont'>"+$(this).html()+"</div><div class='dA_sig_vis_sig'>"+sigt+"</div>");
		$(this).attr("dA_sig_vis_finished",true);
	});
}

function urlpruf(){
	setTimeout(urlpruf,500);
	if($(".text.text-ii:not(div[dA_sig_vis_finished])").length){signat();return true;}	
}
GM_addStyle(".ch-ctrl.cc-in{min-height:100px;} .ch-ctrl.cc-in{padding:0px;} .cc-meta{padding:8px 8px 0px 8px;} .dA_sig_vis_cont{padding:0px 8px 4px 8px;} .dA_sig_vis_sig{padding:8px;background-color:#c7d1c3;color:#777;} .dA_sig_vis_sig a{color:#777!important;}");
 urlpruf();
})();