Disabling coloured text

A very simple guide to undoing the text color effect that users apply to their posts to make it stand out more or make more flashy.

I'm talking about this kind of text. Or this. Or even this. Annoying isn't it?

In order for this little trick to work. You need to be using Firefox or Chrome.

Following the rest of the guide accordingly.
For Firefox

Install the Greasemonkey addon/extension.

Head over to the Userscripts page for this script.
(http://userscripts.org/scripts/show/105991)

Note: if you don't have greasemonkey installed, this won't work

Click the Install button.

QCOWv.png

This will come up, click Install

JRKLU.png

You're done, it's installed.

Elvh4.png


For Chrome

Luckily for chrome, you don't need the addon Greasemonkey to install Userscripts.

So just head over to this scripts Userscript page.
(http://userscripts.org/scripts/show/105991)

Click the install button.

QCOWv.png

This will appear at the bottom of your chrome browser. Click Continue

vlJPs.png

You're done, it's installed

paVmY.png

How it works:

It's a very simple javascript code, this is the source code
// ==UserScript==
// @name Z8Games Forum - No Colours
// @namespace http://rmrk.net
// @description Undoes coloured posts.
// @include http://forum.z8games.com/showthread.php*
// @exclude
// ==/UserScript==

var font_tags=document.getElementsByTagName("font");

for(var i=0; i<font_tags.length; i++)
{
font_tags.color = null;
}

So what it does is, it basically looks for the HTML tag
<font>
Then in that font tag it looks for the attribute "color", it would look like so
<font color="purple>
And nullifies it, in other words, makes the html statement not work... I guess would be the right way to put it.

Anyways, just know it works and is harmless to you and your information.

Credits to [Mod]BlindRob for the original script.

Comments