Signature Button 2 by SrK

By *SarthaK* Last update Nov 6, 2007 — Installed 70 times.
// ==UserScript==
// @version 1
// @name Signature Button 2 by SrK
// @author SrK <http://www.orkut.com/Profile.aspx?uid=14555128223365993787>
// @namespace
// @source http://softcorn13.blogspot.com
// @description Signature
// @include http://www.orkut.com/Scrapbook.aspx?uid=*
// @include http://www.orkut.com/CommMsgPost.aspx?*
// ==/UserScript==

// edit The value of Signa Below for ur Own Signature... 

var signa="\n\n"+"[b][red]"+"On3 N OnLy"+": [/red]"+"\n"+"[b][.. SrK..][/b]";



// Dont Edit Anything Below this line


addEventListener('load', function(event) {
function getTextArea(n) {
	return document.getElementsByTagName('textarea')[n];
}

//-----------------------------------------------------------
//--                           Org                         --
//-----------------------------------------------------------
	function sign(){
	sig=getTextArea(0);
	sig.value+=signa;
	}

	function sg() {
	text=getTextArea(0);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign, true);
	c.appendChild(d);
	}

//-----------------------------------------------------------
//--                           001                         --
//-----------------------------------------------------------
	function sign1(){
	sig=getTextArea(1);
	sig.value+=signa;
	}

	function sg1() {
	text=getTextArea(1);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign1, true);
	c.appendChild(d);
	}


//-----------------------------------------------------------
//--                           002                         --
//-----------------------------------------------------------
	function sign2(){
	sig=getTextArea(2);
	sig.value+=signa;
	}

	function sg2() {
	text=getTextArea(2);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign2, true);
	c.appendChild(d);
	}


//-----------------------------------------------------------
//--                           003                         --
//-----------------------------------------------------------
	function sign3(){
	sig=getTextArea(3);
	sig.value+=signa;
	}

	function sg3() {
	text=getTextArea(3);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign3, true);
	c.appendChild(d);
	}


//-----------------------------------------------------------
//--                           004                         --
//-----------------------------------------------------------
	function sign4(){
	sig=getTextArea(4);
	sig.value+=signa;
	}

	function sg4() {
	text=getTextArea(4);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign4, true);
	c.appendChild(d);
	}


//-----------------------------------------------------------
//--                           005                         --
//-----------------------------------------------------------
	function sign5(){
	sig=getTextArea(5);
	sig.value+=signa;
	}

	function sg5() {
	text=getTextArea(5);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign5, true);
	c.appendChild(d);
	}


//-----------------------------------------------------------
//--                           006                         --
//-----------------------------------------------------------
	function sign6(){
	sig=getTextArea(6);
	sig.value+=signa;
	}

	function sg6() {
	text=getTextArea(6);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign6, true);
	c.appendChild(d);
	}


//-----------------------------------------------------------
//--                           007                         --
//-----------------------------------------------------------
	function sign7(){
	sig=getTextArea(7);
	sig.value+=signa;
	}

	function sg7() {
	text=getTextArea(7);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign7, true);
	c.appendChild(d);
	}


//-----------------------------------------------------------
//--                           008                         --
//-----------------------------------------------------------
	function sign8(){
	sig=getTextArea(8);
	sig.value+=signa;
	}

	function sg8() {
	text=getTextArea(8);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign8, true);
	c.appendChild(d);
	}


//-----------------------------------------------------------
//--                           009                         --
//-----------------------------------------------------------
	function sign9(){
	sig=getTextArea(9);
	sig.value+=signa;
	}

	function sg9() {
	text=getTextArea(9);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign9, true);
	c.appendChild(d);
	}


//-----------------------------------------------------------
//--                           010                         --
//-----------------------------------------------------------
	function sign10(){
	sig=getTextArea(10);
	sig.value+=signa;
	}

	function sg10() {
	text=getTextArea(10);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign10, true);
	c.appendChild(d);
	}


//-----------------------------------------------------------
//--                           011                         --
//-----------------------------------------------------------
	function sign11(){
	sig=getTextArea(11);
	sig.value+=signa;
	}

	function sg11() {
	text=getTextArea(11);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign11, true);
	c.appendChild(d);
	}


//-----------------------------------------------------------
//--                           012                         --
//-----------------------------------------------------------
	function sign12(){
	sig=getTextArea(12);
	sig.value+=signa;
	}

	function sg12() {
	text=getTextArea(12);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign12, true);
	c.appendChild(d);
	}


//-----------------------------------------------------------
//--                           013                         --
//-----------------------------------------------------------
	function sign13(){
	sig=getTextArea(13);
	sig.value+=signa;
	}

	function sg13() {
	text=getTextArea(13);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign13, true);
	c.appendChild(d);
	}


//-----------------------------------------------------------
//--                           014                         --
//-----------------------------------------------------------
	function sign14(){
	sig=getTextArea(14);
	sig.value+=signa;
	}

	function sg14() {
	text=getTextArea(14);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign14, true);
	c.appendChild(d);
	}


//-----------------------------------------------------------
//--                           015                         --
//-----------------------------------------------------------
	function sign15(){
	sig=getTextArea(15);
	sig.value+=signa;
	}

	function sg15() {
	text=getTextArea(15);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign15, true);
	c.appendChild(d);
	}


//-----------------------------------------------------------
//--                           016                         --
//-----------------------------------------------------------
	function sign16(){
	sig=getTextArea(16);
	sig.value+=signa;
	}

	function sg16() {
	text=getTextArea(16);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign16, true);
	c.appendChild(d);
	}


//-----------------------------------------------------------
//--                           017                         --
//-----------------------------------------------------------
	function sign17(){
	sig=getTextArea(17);
	sig.value+=signa;
	}

	function sg17() {
	text=getTextArea(17);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign17, true);
	c.appendChild(d);
	}

//-----------------------------------------------------------
//--                           018                         --
//-----------------------------------------------------------
	function sign18(){
	sig=getTextArea(18);
	sig.value+=signa;
	}

	function sg18() {
	text=getTextArea(18);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign18, true);
	c.appendChild(d);
	}
//-----------------------------------------------------------
//--                           019                         --
//-----------------------------------------------------------
	function sign19(){
	sig=getTextArea(19);
	sig.value+=signa;
	}

	function sg19() {
	text=getTextArea(19);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign19, true);
	c.appendChild(d);
	}
//-----------------------------------------------------------
//--                           020                         --
//-----------------------------------------------------------
	function sign20(){
	sig=getTextArea(20);
	sig.value+=signa;
	}

	function sg20() {
	text=getTextArea(20);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign20, true);
	c.appendChild(d);
	}
//-----------------------------------------------------------
//--                           021                         --
//-----------------------------------------------------------
	function sign21(){
	sig=getTextArea(21);
	sig.value+=signa;
	}

	function sg21() {
	text=getTextArea(21);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign21, true);
	c.appendChild(d);
	}
//-----------------------------------------------------------
//--                           022                         --
//-----------------------------------------------------------
	function sign22(){
	sig=getTextArea(22);
	sig.value+=signa;
	}

	function sg22() {
	text=getTextArea(22);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign22, true);
	c.appendChild(d);
	}
//-----------------------------------------------------------
//--                           023                         --
//-----------------------------------------------------------
	function sign23(){
	sig=getTextArea(23);
	sig.value+=signa;
	}

	function sg23() {
	text=getTextArea(23);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign23, true);
	c.appendChild(d);
	}
//-----------------------------------------------------------
//--                           024                         --
//-----------------------------------------------------------
	function sign24(){
	sig=getTextArea(24);
	sig.value+=signa;
	}

	function sg24() {
	text=getTextArea(24);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign24, true);
	c.appendChild(d);
	}
//-----------------------------------------------------------
//--                           025                         --
//-----------------------------------------------------------
	function sign25(){
	sig=getTextArea(25);
	sig.value+=signa;
	}

	function sg25() {
	text=getTextArea(25);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign25, true);
	c.appendChild(d);
	}
//-----------------------------------------------------------
//--                           026                         --
//-----------------------------------------------------------
	function sign26(){
	sig=getTextArea(26);
	sig.value+=signa;
	}

	function sg26() {
	text=getTextArea(26);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign26, true);
	c.appendChild(d);
	}
//-----------------------------------------------------------
//--                           027                         --
//-----------------------------------------------------------
	function sign27(){
	sig=getTextArea(27);
	sig.value+=signa;
	}

	function sg27() {
	text=getTextArea(27);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign27, true);
	c.appendChild(d);
	}
//-----------------------------------------------------------
//--                           028                         --
//-----------------------------------------------------------
	function sign28(){
	sig=getTextArea(28);
	sig.value+=signa;
	}

	function sg28() {
	text=getTextArea(28);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign28, true);
	c.appendChild(d);
	}
//-----------------------------------------------------------
//--                           029                         --
//-----------------------------------------------------------
	function sign29(){
	sig=getTextArea(29);
	sig.value+=signa;
	}

	function sg29() {
	text=getTextArea(29);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign29, true);
	c.appendChild(d);
	}
//-----------------------------------------------------------
//--                           030                         --
//-----------------------------------------------------------
	function sign30(){
	sig=getTextArea(30);
	sig.value+=signa;
	}

	function sg30() {
	text=getTextArea(30);
	if (!text) return;
	c=text.parentNode;
	d=document.createElement("a");
	d.className="T";
	d.style.marginTop="10px";
	d.style.fontSize="10px";
	d.align="Right";
	d.innerHTML="Signature";
	d.href="javascript:;";
	d.addEventListener("click", sign30, true);
	c.appendChild(d);
	}
sg();
sg1();
sg2();
sg3();
sg4();
sg5();
sg6();
sg7();
sg8();
sg9();
sg10();
sg11();
sg12();
sg13();
sg14();
sg15();
sg16();
sg17();
sg18();
sg19();
sg20();
sg21();
sg22();
sg23();
sg24();
sg25();
sg26();
sg27();
sg28();
sg29();
sg30();
}, false);