01-08-2012, 04:43 PM
(01-06-2012, 12:37 PM)D3xus Wrote: Since so many people have complained about the right aligned text...
http://userscripts.org/scripts/show/122394
It makes all the text left versus right. Happy?
-You just changed two lines from 'hackforums' to 'supportforums'
Code:
// @include http://hackforums.net/*
// @include http://www.hackforums.net/*
You changed to:
Code:
// @include http://supportforums.net/*
// @include http://www.supportforums.net/*
You could put that all on one line:
Code:
// @include http://*supportforums.net/*
-Use your own namespace.
Namespace on scripts are important. If you use a namespace the same as one of my previous scripts (which it looks you did) then if someone installs this one it will overwrite mine. That is why all of my namespaces being with 'xerotic/'. It makes them unique so I can keep track of all of them and make sure someone else doesn't create a script that will overwrite mine.
Also, you didn't even go as far as to change the title of my script.
Code:
// @name HackForums Left Aligner
It is SupportForums here. I honestly suggest that you read up on userscripts/greasemonkey/javascript before you venture into creating any more scripts. Using copy-pasted code will get you nowhere.
BTW, anyone using this will have ALL right aligned text (aligned by the text-align property) aligned to the left. Not just posts.