Fetch a taglist when you're updating your journal/editing entries
Any problems/suggestions/comments please email me at my afuna livejournal.com email, leave a comment here at us.o, or leave a comment on this journal entry. Or, well, anywhere, really, but those are a few suggestions in case you don't know how to get in touch with me ;).
Am working on autocomplete as time permits, and I'd appreciate any suggestions in that area as well.
The script will probably contain the most updated form of this text, but here goes:
Usage notes:
now works with all journals. Thanks, ciaran_h -- you're awesome :D
cmd-clicking /ctrl-clicking on the tags will open the tagspage in a new tab
when expanded, the list shows all tags. When collapsed, it shows the top $n tags based on usage frequency, where $n is a number you define. If there are many tags tied for $nth place, it shows all of them. The top $n tags are bolded for emphasis; if you don't like it, you can get around this by setting $n to 0 or a negative number
there is no auto-complete, but tags that match what you type will be marked by a gray border. Also, clicking on a tag in the list should update the textbox
the tags list will show up in both when you update and edit. It will also automatically detect the journal you're posting to
Random notes:
I used to get the data from the tags management page, but now I'm parsing it from http://username.livejournal.com/tag/?format=light
was thinking of caching the tags, but then I remembered that GM has a problem with UTF-8 encoding, and I think that certain languages require UTF-8. Would rather not risk it
does not work with the script that restores the old update.bml appearance. Both of us move things around using javascript, so, um, yeah. Might be possible to integrate the two though
There is a hidden uglification setting built in which moves the icon to the bottom and removes music/location textfields. I've deliberately hidden it because I plan to use it, but I don't think anyone else would appreciate it
if anyone should want to grab any part of this and use it for any reason, say to merge with another script, then go ahead (do I even have to say that? Heh). However, if you discover any bugs when you take the code, please contact me so I can fix it as well
I need to clean up my code
Changelog:
2007.01.07
fixed bug where "&" were showing as "&" (thanks to turloughishere for pointing it out)
changed whitespace in the tag url to a '+', in keeping with the tag url conventions on LJ
there is no journal dropdown when you're logged out, so check whether it exists or not
2007.01.16
remembers whether you have the tagslist expanded or not
2007.01.27
reworked the code to use the journal's /tag/ page, so that it works on all journals (thanks so much to ciaran_h for the idea and the code!)
add a comma when there's none at the end to make sure that tags don't merge together
gray box around tags that match what you're typing; bolded the top $n tags
clicking on a tag will replace all text up to the last comma
Tired of thousand's of scraps??
Want to have more privacy but don't have enough time to manually delete all scraps?
Here I provide you "Scrap Deleter".
Delete all the scraps in you...
This is a very simple script, one of my earliest. When you install this script you ll logout as soon as you login to www.orkut.com.
No special use, just fun....
Envia Scraps para todos os seus amigos (Totalmente refeito em 16/10/2006)Mass scrap all or a chosen few of your friends in an easy way.
Just click the invite link of any community....
Hides AD'S on top And Keep the Calendar By Alexonlu@hotmail.comI find the Windows Live Mail AD script by Marcos using the method to remove the AD iframe like in the Hotmail AD Hider remover.But ...
Tracks the subtle editorial changes CNN makes to their headlinesProvides a visual listing of historical headlines CNN has used for a given link. Older headlines appear highlighted in reverse-chrono or...
Move photos additional informations on top of the group/set listIsn’t it annoying to scroll down a long list of groups and tags to ge...
Removes autocomplete="off" attributesBy removing the autocomplete="off" attribute from the del.icio.us login page, this script allows Firefox to remember and auto-enter login info for the si...
Makes [Edit Video Info] able to open in new tabsGo to modify a number of video info in Youtube and gone crazy to do them one-by-one? Check the script out ;-)
æÃ†â€™³Ã...
Login D-Link ADSL router admin web-interface on return key pressed.
This is very simple script which enables submit-on-return for buggy web-login form of D-Link 502 ADSL router admin interface. To ...
Leave a comment