Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Tagging userscript
- FalconGunner99
-
1000+ posts
Tagging userscript
So I was thinking, how hard would it be to make a userscript that allows you to tag people à la RES on reddit?
I think it'd be kinda cool, if a little superfluous.
I think it'd be kinda cool, if a little superfluous.

; Oh this? This is just my semicolon. I got it a long time ago, it's quite innocuous. Don't worry about it.
You —> http://i.imgur.com/iVHfwLc.gifv
- ssss
-
500+ posts
Tagging userscript
So… It would link to their profile?
Generation 379: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment.
- FalconGunner99
-
1000+ posts
Tagging userscript
No, like I said, it would work like RES tagging in that you can tag someone, and whenever you see them around on the forums/comments, there will be a little box with whatever you tagged them with next to their name. So… It would link to their profile?
Here's how it looks on reddit:

On reddit you can customize tags with colors n stuff, but that's less important here.
Last edited by FalconGunner99 (April 12, 2015 02:07:12)

; Oh this? This is just my semicolon. I got it a long time ago, it's quite innocuous. Don't worry about it.
You —> http://i.imgur.com/iVHfwLc.gifv
- QuillzToxic
-
1000+ posts
Tagging userscript
Like
"
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah
QuillzToxic Tagged Cheeseeater
"
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah
QuillzToxic Tagged Cheeseeater
- FalconGunner99
-
1000+ posts
Tagging userscript
More along the line of this: Like
"
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah
QuillzToxic Tagged Cheeseeater


; Oh this? This is just my semicolon. I got it a long time ago, it's quite innocuous. Don't worry about it.
You —> http://i.imgur.com/iVHfwLc.gifv
- MegaApuTurkUltra
-
1000+ posts
Tagging userscript
$("a.black.username[href=/users/MegaApuTurkUltra]").append("<span style='color:gray;'> - Certified MLG Quickscoping Snipar</span>");
It's a start

Last edited by MegaApuTurkUltra (April 12, 2015 18:41:55)
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- FalconGunner99
-
1000+ posts
Tagging userscript
Yeah that looks perfect. Exactly what I was hoping for.?$("a.black.username[href=/users/MegaApuTurkUltra]").append("<span style='color:gray;'> - Certified MLG Quickscoping Snipar</span>");
It's a start
Although as I write this I notice it also quotes you as what you're tagged xP
Now… how to add a UI?
EDIT: also looks like it tags everyone else as the same thing…
Last edited by FalconGunner99 (April 12, 2015 19:14:51)

; Oh this? This is just my semicolon. I got it a long time ago, it's quite innocuous. Don't worry about it.
You —> http://i.imgur.com/iVHfwLc.gifv
- MegaApuTurkUltra
-
1000+ posts
Tagging userscript
Yeah IDK how to store tags… I could store them in a server.aputurk.tk database, but then what prevents people from setting others' tags?Yeah that looks perfect. Exactly what I was hoping for.?$("a.black.username[href=/users/MegaApuTurkUltra]").append("<span style='color:gray;'> - Certified MLG Quickscoping Snipar</span>");
It's a start
Although as I write this I notice it also quotes you as what you're tagged xP
Now… how to add a UI?
EDIT: also looks like it tags everyone else as the same thing…
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- FalconGunner99
-
1000+ posts
Tagging userscript
Cookies? Local storage would be the obvious choice I would think… I wonder how RES does it?Yeah IDK how to store tags… I could store them in a server.aputurk.tk database, but then what prevents people from setting others' tags?Yeah that looks perfect. Exactly what I was hoping for.?$("a.black.username[href=/users/MegaApuTurkUltra]").append("<span style='color:gray;'> - Certified MLG Quickscoping Snipar</span>");
It's a start
Although as I write this I notice it also quotes you as what you're tagged xP
Now… how to add a UI?
EDIT: also looks like it tags everyone else as the same thing…

; Oh this? This is just my semicolon. I got it a long time ago, it's quite innocuous. Don't worry about it.
You —> http://i.imgur.com/iVHfwLc.gifv
- djdolphin
-
1000+ posts
Tagging userscript
1. Add a button that says “Change tag”.Yeah IDK how to store tags… I could store them in a server.aputurk.tk database, but then what prevents people from setting others' tags?Yeah that looks perfect. Exactly what I was hoping for.?$("a.black.username[href=/users/MegaApuTurkUltra]").append("<span style='color:gray;'> - Certified MLG Quickscoping Snipar</span>");
It's a start
Although as I write this I notice it also quotes you as what you're tagged xP
Now… how to add a UI?
EDIT: also looks like it tags everyone else as the same thing…
2. When someone clicks the button, they'll be prompted to enter a tag.
3. The geolocation API is used to determine their general location. This information is sent to the server along with the chosen tag, username, and IP address.
4. Field agents are dispatched and head for the target's location via helicopter.
5. Equipment in the helicopter searches for wifi networks and uses exploits to gain access to them.
6. Once the network with the correct IP address is found, the helicopter searches for the building where the signal is strongest.
7. The helicopter lands outside the building.
8. A field agent presses a button that starts playing “Baby” by Justin Bieber at an extremely high volume.
9. People will come outside of the building to complain.
10. While they're distracted, field agents sneak into the building and search for the device that was used to send the request.
11. A field agent opens the browser console on the device and ensures that the cookies on scratch.mit.edu are legitimate.
12. If they are, the agent phones headquarters to say that the tag can be changed.
13. The agents hop back in the helicopter, stop the music, and fly back to headquarters.
!
- FalconGunner99
-
1000+ posts
Tagging userscript
But what if they're using a proxy???1. Add a button that says “Change tag”.Yeah IDK how to store tags… I could store them in a server.aputurk.tk database, but then what prevents people from setting others' tags?Yeah that looks perfect. Exactly what I was hoping for.?$("a.black.username[href=/users/MegaApuTurkUltra]").append("<span style='color:gray;'> - Certified MLG Quickscoping Snipar</span>");
It's a start
Although as I write this I notice it also quotes you as what you're tagged xP
Now… how to add a UI?
EDIT: also looks like it tags everyone else as the same thing…
2. When someone clicks the button, they'll be prompted to enter a tag.
3. The geolocation API is used to determine their general location. This information is sent to the server along with the chosen tag, username, and IP address.
4. Field agents are dispatched and head for the target's location via helicopter.
5. Equipment in the helicopter searches for wifi networks and uses exploits to gain access to them.
6. Once the network with the correct IP address is found, the helicopter searches for the building where the signal is strongest.
7. The helicopter lands outside the building.
8. A field agent presses a button that starts playing “Baby” by Justin Bieber at an extremely high volume.
9. People will come outside of the building to complain.
10. While they're distracted, field agents sneak into the building and search for the device that was used to send the request.
11. A field agent opens the browser console on the device and ensures that the cookies on scratch.mit.edu are legitimate.
12. If they are, the agent phones headquarters to say that the tag can be changed.
13. The agents hop back in the helicopter, stop the music, and fly back to headquarters.
Checkmate, developers.

; Oh this? This is just my semicolon. I got it a long time ago, it's quite innocuous. Don't worry about it.
You —> http://i.imgur.com/iVHfwLc.gifv
- djdolphin
-
1000+ posts
Tagging userscript
Hmm… I have no ideas that wouldn't be a privacy concern. But what if they're using a proxy???
Checkmate, developers.
Last edited by djdolphin (April 13, 2015 02:04:20)
!
- MegaApuTurkUltra
-
1000+ posts
Tagging userscript
8/8 great system, would use again1. Add a button that says “Change tag”.Yeah IDK how to store tags… I could store them in a server.aputurk.tk database, but then what prevents people from setting others' tags?Yeah that looks perfect. Exactly what I was hoping for.?$("a.black.username[href=/users/MegaApuTurkUltra]").append("<span style='color:gray;'> - Certified MLG Quickscoping Snipar</span>");
It's a start
Although as I write this I notice it also quotes you as what you're tagged xP
Now… how to add a UI?
EDIT: also looks like it tags everyone else as the same thing…
2. When someone clicks the button, they'll be prompted to enter a tag.
3. The geolocation API is used to determine their general location. This information is sent to the server along with the chosen tag, username, and IP address.
4. Field agents are dispatched and head for the target's location via helicopter.
5. Equipment in the helicopter searches for wifi networks and uses exploits to gain access to them.
6. Once the network with the correct IP address is found, the helicopter searches for the building where the signal is strongest.
7. The helicopter lands outside the building.
8. A field agent presses a button that starts playing “Baby” by Justin Bieber at an extremely high volume.
9. People will come outside of the building to complain.
10. While they're distracted, field agents sneak into the building and search for the device that was used to send the request.
11. A field agent opens the browser console on the device and ensures that the cookies on scratch.mit.edu are legitimate.
12. If they are, the agent phones headquarters to say that the tag can be changed.
13. The agents hop back in the helicopter, stop the music, and fly back to headquarters.
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- Discussion Forums
- » Advanced Topics
-
» Tagging userscript