dA_signature_visibility

alter appearance of signatures

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

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