MQO Rainbow titles Bookmarklet

Makes the title and name of any character rainbow in the chat box of Miden Quest Online.
Usage: Click on a user, then select it's title (What appears in brackets in the chat box)

Then click on the bookmarklet to make any of their previous chat appear in a colorful rainbow.

Source (pastebin.com)


Download Bookmarklet:


View Bookmarklet Code:

Bookmarklet Source Code:

javascript%3A%28function%28e%2Ca%2Cg%2Ch%2Cf%2Cc%2Cb%2Cd%29%7Bif%28%21%28f%3De.jQuery%29%7C%7Cg%3Ef.fn.jquery%7C%7Ch%28f%29%29%7Bc%3Da.createElement%28%22script%22%29%3Bc.type%3D%22text/javascript%22%3Bc.src%3D%22http%3A//ajax.googleapis.com/ajax/libs/jquery/%22+g+%22/jquery.min.js%22%3Bc.onload%3Dc.onreadystatechange%3Dfunction%28%29%7Bif%28%21b%26%26%28%21%28d%3Dthis.readyState%29%7C%7Cd%3D%3D%22loaded%22%7C%7Cd%3D%3D%22complete%22%29%29%7Bh%28%28f%3De.jQuery%29.noConflict%281%29%2Cb%3D1%29%3Bf%28c%29.remove%28%29%7D%7D%3Ba.documentElement.childNodes%5B0%5D.appendChild%28c%29%7D%7D%29%28window%2Cdocument%2C%221.3.2%22%2Cfunction%28%24%2CL%29%7Bfunction%20rainbow%28a%2Cb%29%7Bvar%20c%2Cd%2Ce%2Cf%3Db/a%2Cg%3D%7E%7E%286*f%29%2Ch%3D6*f-g%2Ci%3D1-h%3Bswitch%28g%256%29%7Bcase%200%3Ac%3D1%2Cd%3Dh%2Ce%3D0%3Bbreak%3Bcase%201%3Ac%3Di%2Cd%3D1%2Ce%3D0%3Bbreak%3Bcase%202%3Ac%3D0%2Cd%3D1%2Ce%3Dh%3Bbreak%3Bcase%203%3Ac%3D0%2Cd%3Di%2Ce%3D1%3Bbreak%3Bcase%204%3Ac%3Dh%2Cd%3D0%2Ce%3D1%3Bbreak%3Bcase%205%3Ac%3D1%2Cd%3D0%2Ce%3Di%7Dvar%20j%3D%22%23%22+%28%2200%22+%28%7E%7E%28255*c%29%29.toString%2816%29%29.slice%28-2%29+%28%2200%22+%28%7E%7E%28255*d%29%29.toString%2816%29%29.slice%28-2%29+%28%2200%22+%28%7E%7E%28255*e%29%29.toString%2816%29%29.slice%28-2%29%3Breturn%20j%7Dfunction%20getSelectionHtml%28%29%7Bvar%20a%3D%22%22%3Bif%28%22undefined%22%21%3Dtypeof%20window.getSelection%29%7Bvar%20b%3Dwindow.getSelection%28%29%3Bif%28b.rangeCount%29%7Bfor%28var%20c%3Ddocument.createElement%28%22div%22%29%2Cd%3D0%2Ce%3Db.rangeCount%3Bd%3Ce%3B++d%29c.appendChild%28b.getRangeAt%28d%29.cloneContents%28%29%29%3Ba%3Dc.innerHTML%7D%7Delse%22undefined%22%21%3Dtypeof%20document.selection%26%26%22Text%22%3D%3Ddocument.selection.type%26%26%28a%3Ddocument.selection.createRange%28%29.htmlText%29%3Breturn%20a%7D%24%28%22span%3Acontains%28%27%22+getSelectionHtml%28%29+%22%27%29%22%29.each%28function%28a%2Cb%29%7Bvar%20c%3D%24%28this%29%2Cd%3D%24%28this%29.text%28%29%2Ce%3Dd.split%28%22%22%29%3Bd%3D%22%22%3Bfor%28var%20f%3D0%3Bf%3Ce.length%3Bf++%29d+%3D%22%3Cspan%20style%20%3D%27color%3A%22+rainbow%28e.length%2Cf%29+%22%27%3E%22+e%5Bf%5D+%22%3C/span%3E%22%3Bc.html%28d%29%7D%29%3B%7D%29%3B


Rate it:


Tags:

Comments

Comments so far. Add yours.