User:Tyilo/signature.js

addOnloadHook(function {   if(wgAction == 'edit' || wgAction == 'submit')    {        if(wgPageName.match(/^[^:]*talk:/) || wgPageName.match(/^Forum:/))    	{    	    $('#wpSave').click(function(e) {   	    	if(!$('#wpTextbox1').text.match('Tyilo')) {   	            if(!confirm('It looks like you forgot to sign your comment.\nAre you sure you want to post it?')) {   	                e.preventDefault; }   	    	}    	    });    	}    } });