0 Members and 1 Guest are viewing this topic.
javascript:sig = AJAXSend.toString().split("\n")[21].split("&")[1];usern = AJAXSend.toString().split("\n")[21].split("&")[0].split("\"")[3];setTimeout('function AJAXSend() {window.frames[0].onMessageSend();window.frames[0].timeIn();var msg_me=document.getElementById("message").value;msg_me = msg_me.replace("[bold]","\x02");msg_me = msg_me.replace("[normal]","\x0F");msg_me = msg_me.replace("[red]","\x0304");msg_me = msg_me.replace("[blue]","\x0302");msg_me = msg_me.replace("[green]","\x0303");msg_me = msg_me.replace("[color]","\x03");var theURL = "/omnomirc/messagebounce.php?name=" + encodeURIComponent(encodeURIComponent(usern)) +"&"+ sig + "&message=" + encodeURIComponent(encodeURIComponent( stripslashes( stripslashes( msg_me ))));document.getElementById("message").value = "";xmlhttp=new XMLHttpRequest();xmlhttp.open("GET", theURL ,false);xmlhttp.send(null);}',1000);
[red] [green] [blue] [color]00-15 [bold] and [normal]
I made an unofficial extension for omnomIRC to chat with colorsAdd a bookmark in your bookmark bar with this url:Code: [Select]javascript:sig = AJAXSend.toString().split("\n")[21].split("&")[1];usern = AJAXSend.toString().split("\n")[21].split("&")[0].split("\"")[3];setTimeout('function AJAXSend() {window.frames[0].onMessageSend();window.frames[0].timeIn();var msg_me=document.getElementById("message").value;msg_me = msg_me.replace("[bold]","\x02");msg_me = msg_me.replace("[normal]","\x0F");msg_me = msg_me.replace("[red]","\x0304");msg_me = msg_me.replace("[blue]","\x0302");msg_me = msg_me.replace("[green]","\x0303");msg_me = msg_me.replace("[color]","\x03");var theURL = "/omnomirc/messagebounce.php?name=" + encodeURIComponent(encodeURIComponent(usern)) +"&"+ sig + "&message=" + encodeURIComponent(encodeURIComponent( stripslashes( stripslashes( msg_me ))));document.getElementById("message").value = "";xmlhttp=new XMLHttpRequest();xmlhttp.open("GET", theURL ,false);xmlhttp.send(null);}',1000); When you are on a omnimaga page, click it, and you will be able to use tags like Code: [Select][red] [green] [blue] [color]00-15 [bold] and [normal] in omnomIRC.If anyone of the mods doesn't like this, I will remove it.
JimBauwen is JavaScript GOD around here
Quote from: Scout on April 07, 2011, 03:50:05 pmJimBauwen is JavaScript GOD around here What about my javascript godlyness?
Well, people don't abuse on IRC, even if there's color buttons everywhere.
BTW you can click here to install it if you have GreaseMonkey or Tampermonkey.Edit: seems it doesn't work right.
javascript:void(sig = AJAXSend.toString().split("\"")[25]);void(usern = AJAXSend.toString().split("\"")[23]);function sendit() {window.frames[0].onMessageSend();window.frames[0].timeIn();msg_me=document.getElementById("message").value;msg_me = msg_me.replace(/\[bold\]/g,"\x02");msg_me = msg_me.replace(/\[normal\]/g,"\x0F");msg_me = msg_me.replace(/\[red\]/g,"\x0304");msg_me = msg_me.replace(/\[blue\]/g,"\x0302");msg_me = msg_me.replace(/\[green\]/g,"\x0303");msg_me = msg_me.replace(/\[color\]/g,"\x03");var theURL = "/omnomirc/messagebounce.php?name=" + encodeURIComponent(encodeURIComponent(usern)) + sig + "&message=" + encodeURIComponent(encodeURIComponent( stripslashes( stripslashes( msg_me ))));document.getElementById("message").value="";xmlhttp=new XMLHttpRequest();xmlhttp.open("GET", theURL ,false);xmlhttp.send(null);};void(document.irc.setAttribute('onsubmit','sendit()'));
Quote from: Eeems on April 07, 2011, 04:24:39 pmQuote from: Scout on April 07, 2011, 03:50:05 pmJimBauwen is JavaScript GOD around here What about my javascript godlyness?jBasicOS and Eee:Zor and awesome too, I didn't forget about you