SRL Archive - News and General

UserScript: Monospaced [CODE][SIMBA] tags.


Daniel

2012-09-27 05:22:16

[INDENT]Hey guys,

Well, I was sick to death with the non-monospaced code-tags on this site, and this is the first time I am actually using the GreaseMonkey addon for Firefox, so I decided why not try and make a user script to resolve this issue? :)

Purpose:
[indent]To realign the font-set used in [CODE] and [SIMBA] tags so it is fixed-width (i.e. monospaced), to improve readability and fix flawed spacing.[/indent]


Install here:
[indent]http://userscripts.org/scripts/show/149161[/indent]

Requirements:
[indent]
* Additional software (e.g. extensions) may be required in order to successfully utilise this script.
[/indent]

Regards,
~ Daniel. :)

NOTE: This is only a temporary workaround to the problem.[/INDENT]

Dgby714

2012-09-27 05:27:02

program new;
var
I: LongInt;
begin
WriteLn('This is a test script to show');
WriteLn(' the greasemonkey script is working!');
for I := 0 to 42 do
begin
WriteLn('Wtf? Why did you compile this... ' + IntoStr(I));

I := I * I;
end;
WriteLn('If you can''t tell, I was bored...');
end.