Metafilter User Tagger
January 27, 2015 7:54 AM   Subscribe

Metafilter User Tagger
A Greasemonkey script that allows adding custom tags beside usernames. It places a small link after usernames on posts/comments which can be clicked to open the tagger UI. From here you can create the tag [text and color] and it will instantly be applied to all occurrences of this username. Clicking an existing tag will open the UI again to edit or delete it.

Tags are stored locally in Greasemonkey's sqlite db accessed by GM_setValue and GM_getValue permissions.

You can read the source code at the gist and click the "Raw" button there to install it.

Usage examples:
- Tag people in their areas of expertise: physicsmatt knows his physics
- Tag people with their usernames on different sites: pb @pbausch

Tested on Firefox 35 with the modern/dark theme, so if you have a different configuration and something is off please let me know.
Role: Programmer
posted by xqwzts (6 comments total) 5 users marked this as a favorite

"Knows satchels" :)
posted by joseph conrad is fully awesome at 8:32 AM on January 27, 2015

"end well"
posted by oneswellfoop at 1:22 PM on January 27, 2015 [1 favorite]

What does it say next to my name?
posted by cjorgensen at 1:53 PM on January 30, 2015

I've installed this, thanks, along with greasemonkey. Some quick thoughts:

- if the tag starts with a @, it could be formatted into an active url for twitter (although I guess that messages with the onclick UI--but there are options)
- I think the background should be transparent by default
- more people might see this and appreciate it on metatalk
posted by sylvanshine at 7:20 PM on February 1, 2015 [1 favorite]

My hack to get transparent, with a border. :)

thanks for the inspiration to look at a script for the first time in a long while.

So it appears to work fine on the old mefi styling too.
posted by sylvanshine at 9:48 PM on February 1, 2015

Thanks for the ideas sylvanshine, if you've done any enhancements that can be added to the script please consider forking the gist and pinging me with the gist id/url to pull it back into the main script [unfortunately GitHub doesn't seem to have a GUI for pull requests on gists yet].

I'll try to add a solution for active links in tags [a small href/img that will only be added if a link is detected], and a checkbox for transparent tags [using the color picker to set the border color instead of the body].

If anyone has other ideas or stuff they'd like to see in it, do share!
posted by xqwzts at 4:26 PM on February 9, 2015

« Older Sketchy Weather - quick doodles about the weather...   |   Pilgrimage of Desire: A Travel... Newer »

You are not currently logged in. Log in or create a new account to post comments.