NoteWorthy Composer Forum

Forums => General Discussion => Topic started by: Quivis on 2006-02-27 06:33 PM

Title: OT: User styles in Forum...
Post by: Quivis on 2006-02-27 06:33 PM
It seems that as soon as you give juveniles the tools, they will start abusing them.

Anyone else fed up with all that color that is virtually impossible to read? The worst I saw was yellow on yellow. I guess they thought it was, well, "funny".

I wrote this Greasemonkey script to remove all those stupid color combinations, so now they can color everything in yellow on yellow if they want to. All I see is black on white, as it should be:

// ==UserScript==
// @name           NWC Forum background monger
// @namespace      http://
// @description    Removes stupid user styles on NWC forum
// @include        https://forum.noteworthycomposer.com/*
// ==/UserScript==
var spans, thisSpan;
spans = document.getElementsByTagName("span");
for (var i = 0; i < spans.length; i++) {
if (spans.hasAttribute("style")) {
spans.setAttribute("style", "background-color: white; color: black; font: 100% arial;");}}

You need Firefox and the Greasemonkey extension to use it.

Comments are respectfully ignored. Use it or don't. I don't give a you-know-what.

Have a nice day...
Title: Re: OT: User styles in Forum...
Post by: NoteWorthy Online on 2006-03-02 01:03 AM
I understand your concern. Improvements are under consideration...