This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-08-23 06:15:07

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

ATS Userscript

ATS is a userscript that added desirable styling to the forums. Marquees, BUI (Bold, Underline and Italic) compressed into one tag; these are just a few. It also is safe as:

Download Now (v1)

Unfinished tags mean the BBCode will not be printed

Suspicious onload functions, <script> tags and javascript: links report Suspicious elements in an alert box. The user decides to continue or not, but even if they do continue, 100% safe elements are only printed. If you are paranoid, no elements are printed and the tab is completely frozen.

Also, it is based on Rookwood101's antidote script (which is now removed) but is more intelligent. As Rookwood101's was merely for images and media, not text, space were not needed and if they were added the script would CRASH. ATS allows spaces. Also, in Antidote, alot of unnecessary code was added. It is now removed and replaced, with a smarter matching service. 2 elements could not be repeated next to eachother. Tags can be 'nested' eachother and work perfectly.

List of Tags:

1) Important - Shortcut for bold and underlined
2) Centering - Aligns text to the middle of the div.
3) Marquee - Scrolling horizontal text.
4) Status - Uses API to see if user is online.
5) HR - Horizontal Line Break
6) Title - A title tag
7) Favicon - Finds favicon of specified URL
8) Username - Returns the username of the loggedin user.
9) Ot - Makes offtopic standout properly.

USERSCRIPT NEEDED TO SEE BELOW PROPERLY

Important Example:
[important]This is important text[/important]

Centered Text:
[center]This text is centered[/center]

Marquee Text:
[marquee]This text is scrolling[/marquee]

Status Example:The following image represents my online status [status]Servine[/status]

Horizontal Line:
[center]
Horizontal Line Below
[hr]
Horizontal Line Above[/center]

Title Text:
[title]This is titled text[/title]

Favicon:
Googles Favicon: [favicon]http://www.google.com[/favicon]

Username Text:
Welcome to ATS, [username]

Offtopic Text:
Potatos are 89% diamond. Also...
[ot]I IS TELL LIES![/ot]

Last edited by Servine (2012-08-26 06:16:28)


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#2 2012-08-23 06:36:13

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: ATS Userscript

Cool! If somebody could implement the "<font style="{css here}">bla</font>" code in a userscript, that would be really cool. :}


http://i50.tinypic.com/312u714.jpg

Offline

 

#3 2012-08-23 06:43:26

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: ATS Userscript

BirdByte wrote:

Cool! If somebody could implement the "<font style="{css here}">bla</font>" code in a userscript, that would be really cool. :}

Ill add that!


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#4 2012-08-23 06:59:22

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: ATS Userscript

Servine wrote:

BirdByte wrote:

Cool! If somebody could implement the "<font style="{css here}">bla</font>" code in a userscript, that would be really cool. :}

Ill add that!

This is gonna be the best userscript evar :3


http://i50.tinypic.com/312u714.jpg

Offline

 

#5 2012-08-23 07:32:58

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: ATS Userscript

BirdByte wrote:

Servine wrote:

BirdByte wrote:

Cool! If somebody could implement the "<font style="{css here}">bla</font>" code in a userscript, that would be really cool. :}

Ill add that!

This is gonna be the best userscript evar :3

big_smile

Thank you very much.

Anyway, as it may error sometimes, there MUST be a css file scratch can reference:

like:

[style="google.com/astylesheet.css"]this is styled[/style]


I'm planning to add this a bit sooner, as it isn't like a defined one.


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#6 2012-08-23 08:08:47

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: ATS Userscript

Make sure no one can inject code that messes up forum css and stuff like that.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#7 2012-08-23 09:56:22

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: ATS Userscript

nathanprocks wrote:

Make sure no one can inject code that messes up forum css and stuff like that.

Well, it is external css so probably, no hacking.

Last edited by Servine (2012-08-23 10:00:56)


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#8 2012-08-23 13:11:30

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: ATS Userscript

bump


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#9 2012-08-24 04:56:20

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: ATS Userscript

I'm sorry, but userscripts like this, that add BBCode, are not recommended. This is the reason that, after images came back on, Antidote was taken down. See this post for a nice explanation.

Offline

 

#10 2012-08-24 06:07:11

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: ATS Userscript

scimonster wrote:

I'm sorry, but userscripts like this, that add BBCode, are not recommended. This is the reason that, after images came back on, Antidote was taken down. See this post for a nice explanation.

This doesn't incorporate that much you know. It's easy to monitor as you can see the stuff by just reading the text. It's styling, antidote was more of youtube, images, scratch projects...

This is basically all it is:

Code:

[b][u]Blah Blah[/u][/b]

[important]Blah Blah[/important]


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#11 2012-08-24 06:23:31

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: ATS Userscript

Ooo! Make one for [offtopic] XP


http://i50.tinypic.com/312u714.jpg

Offline

 

#12 2012-08-24 06:27:41

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: ATS Userscript

BirdByte wrote:

Ooo! Make one for [offtopic] XP

That I WILL do  tongue  Everyone can understand it


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#13 2012-08-24 06:45:50

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: ATS Userscript

Added <hr /> as [hr*] (without the asterix)

Last edited by Servine (2012-08-24 06:46:12)


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#14 2012-08-24 07:20:50

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: ATS Userscript

Servine wrote:

scimonster wrote:

I'm sorry, but userscripts like this, that add BBCode, are not recommended. This is the reason that, after images came back on, Antidote was taken down. See this post for a nice explanation.

This doesn't incorporate that much you know. It's easy to monitor as you can see the stuff by just reading the text. It's styling, antidote was more of youtube, images, scratch projects...

This is basically all it is:

Code:

[b][u]Blah Blah[/u][/b]

[important]Blah Blah[/important]

The thing is, if it's using external styles, so it could theoretically load a stylesheet that adds rude/inappropriate background images to the pages.

Offline

 

#15 2012-08-24 07:57:30

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: ATS Userscript

scimonster wrote:

Servine wrote:

scimonster wrote:

I'm sorry, but userscripts like this, that add BBCode, are not recommended. This is the reason that, after images came back on, Antidote was taken down. See this post for a nice explanation.

This doesn't incorporate that much you know. It's easy to monitor as you can see the stuff by just reading the text. It's styling, antidote was more of youtube, images, scratch projects...

This is basically all it is:

Code:

[b][u]Blah Blah[/u][/b]

[important]Blah Blah[/important]

The thing is, if it's using external styles, so it could theoretically load a stylesheet that adds rude/inappropriate background images to the pages.

If I got rid of that, would it be ok? Now that I think about it, we dont need external css, or even internal.


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#16 2012-08-24 10:04:58

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: ATS Userscript

Servine wrote:

scimonster wrote:

Servine wrote:


This doesn't incorporate that much you know. It's easy to monitor as you can see the stuff by just reading the text. It's styling, antidote was more of youtube, images, scratch projects...

This is basically all it is:

Code:

[b][u]Blah Blah[/u][/b]

[important]Blah Blah[/important]

The thing is, if it's using external styles, so it could theoretically load a stylesheet that adds rude/inappropriate background images to the pages.

If I got rid of that, would it be ok? Now that I think about it, we dont need external css, or even internal.

It should be cool.  wink


http://i50.tinypic.com/312u714.jpg

Offline

 

#17 2012-08-24 10:26:52

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: ATS Userscript

Servine wrote:

scimonster wrote:

Servine wrote:


This doesn't incorporate that much you know. It's easy to monitor as you can see the stuff by just reading the text. It's styling, antidote was more of youtube, images, scratch projects...

This is basically all it is:

Code:

[b][u]Blah Blah[/u][/b]

[important]Blah Blah[/important]

The thing is, if it's using external styles, so it could theoretically load a stylesheet that adds rude/inappropriate background images to the pages.

If I got rid of that, would it be ok? Now that I think about it, we dont need external css, or even internal.

Should be.

Offline

 

#18 2012-08-24 10:54:58

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: ATS Userscript

scimonster wrote:

Servine wrote:

scimonster wrote:


The thing is, if it's using external styles, so it could theoretically load a stylesheet that adds rude/inappropriate background images to the pages.

If I got rid of that, would it be ok? Now that I think about it, we dont need external css, or even internal.

Should be.

YAYAYAYAYAYAYAY.

[marquee]This will be released soon[/marquee]


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#19 2012-08-24 12:14:24

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: ATS Userscript

Servine wrote:

[marquee]This will be released soon[/marquee]

Cool, just don't forget the direction attribute :3


http://i50.tinypic.com/312u714.jpg

Offline

 

#20 2012-08-24 12:44:45

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: ATS Userscript

BirdByte wrote:

Servine wrote:

[marquee]This will be released soon[/marquee]

Cool, just don't forget the direction attribute :3

Ah yes. I need to find a way for custom attribs, like:

[marquee direction=left]blah blah[/marquee]


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#21 2012-08-24 13:51:07

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: ATS Userscript

YAYAYAYAY.

Userscript is ready for its beta at...

https://dl.dropbox.com/u/6532603/ATS%20 … -1.user.js

If using chrome, open the folder that contains the userscript. Then go to settings > extensions in chrome and drag the userscript in.


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#22 2012-08-24 15:26:35

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: ATS Userscript

Servine wrote:

YAYAYAYAY.

Userscript is ready for its beta at...

If using chrome, open the folder that contains the userscript. Then go to settings > extensions in chrome and drag the userscript in.

omgomgomg it's perfect! Thanks, Servine! Once I'm a Scratcher I'll advertise this is my sig :3


http://i50.tinypic.com/312u714.jpg

Offline

 

#23 2012-08-24 15:54:55

jukyter
Scratcher
Registered: 2009-12-06
Posts: 1000+

Re: ATS Userscript

[marquee]This sure is awesome. Hey you should get it, [username], if you don't already do.[/marquee]

Last edited by jukyter (2012-08-24 15:55:15)


cause a bird and a fish could fall in love/but where would they live?

Offline

 

#24 2012-08-24 16:36:31

fire219
Scratcher
Registered: 2008-02-07
Posts: 1000+

Re: ATS Userscript

This is cool!  smile


http://bluetetrarpg.x10.mx/usercard/img.php?name=fire219

Offline

 

#25 2012-08-24 20:19:31

soft319
Scratcher
Registered: 2008-02-19
Posts: 1000+

Re: ATS Userscript

Ooh, cool.
[ot]I like cake[/ot]

[username], you really need to try this.

[title]NOW[/title]

Last edited by soft319 (2012-08-24 20:22:46)


http://bluetetrarpg.web44.net/usercard/img.php?name=soft319

Offline

 

Board footer