[Userscript] Tag suggestions

Started by Rene_Z
Posted
12 replies
Login to subscribe to responses
Rene_Z's avatar
Posts: 26
Rene_Z
Artist
Not a Llama - Happy April Fools Day!
Wallet After Summer Sale

Description
This userscript adds a tag suggestion box below the tag box when uploading a new image or editing the tags of an existing image.
You can click on a tag to add it to the image or click on the "x" to remove images with that tag from consideration when generating suggestions.
The suggestions are based on images with the same or similar tags (for obvious reasons only the newest 100 images).

Image:


Download
You need Greasemonkey for Firefox or Tampermonkey for Chrome (or equivalent add-ons that can load userscripts).
Download v1.0

Also check out my other userscripts: Group/Hide similar images on a page, Images per page dropdown
Posted Report
Sff's avatar
Posts: 156
Sff
Happy Derpy!
Magnificent Metadata Maniac - #1 Assistant
Bronze Bit
Wallet After Summer Sale

What does it mean?!?
Recently the userscript stopped working, probably because of the pulled jQuery support. Are there any plans to update it?
Posted Report
St@SyaN's avatar
Posts: 681
St@SyaN
Artist
Perfect Pony Plot Provider - Uploader of 10+ images with 350 upvotes or more (Questionable/Explicit)
Birthday Cake - Celebrated MLP's 7th birthday
Magnificent Metadata Maniac
Equality - In our state, we do not stand out.
The Power of Love - Given to a publicly verified artist with an image under their artist’s tag that has reached 1000 upvotes
Cool Crow - "Caw!" An awesome tagger
Economist
Fine Arts - Two hundred uploads with a score of over a hundred (Safe/Suggestive)
Best Artist - Providing quality, Derpibooru-exclusive artwork

Site Moderator
Still can be used, if manually add
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js

in header
Posted Report
Background Pony #70A5
@St@SyaN
Not quite. Requiring jQuery gets the suggested tags list to load, yes, but the script’s other functions still appear to be broken and refuse to work in either of my browsers.
For example, judging by the description, clicking a suggested tag is supposed to add it to the tag editor instead of producing an error into the console.
Posted Report
Sff's avatar
Posts: 156
Sff
Happy Derpy!
Magnificent Metadata Maniac - #1 Assistant
Bronze Bit
Wallet After Summer Sale

What does it mean?!?
@St@SyaN
The fixed userscript recently stopped working properly. Clicking on suggested tags no longer adds them to the image and produces this error in the console

userscript.html?id=b9d51423-637d-4f89-baa7-a9c2439d5368:58 Uncaught TypeError: Cannot read property ’click’ of undefined
at window.addTag (userscript.html?id=b9d51423-637d-4f89-baa7-a9c2439d5368:58)
at Object.addTag (userscript.html?id=b9d51423-637d-4f89-baa7-a9c2439d5368:333)
at HTMLSpanElement.eval (userscript.html?id=b9d51423-637d-4f89-baa7-a9c2439d5368:316)
at HTMLSpanElement.dispatch (userscript.html?id=b9d51423-637d-4f89-baa7-a9c2439d5368:6)
at HTMLSpanElement.q.handle (userscript.html?id=b9d51423-637d-4f89-baa7-a9c2439d5368:6)
window.addTag @ userscript.html?id=b9d51423-637d-4f89-baa7-a9c2439d5368:58
addTag @ userscript.html?id=b9d51423-637d-4f89-baa7-a9c2439d5368:333
(anonymous) @ userscript.html?id=b9d51423-637d-4f89-baa7-a9c2439d5368:316
dispatch @ userscript.html?id=b9d51423-637d-4f89-baa7-a9c2439d5368:6
q.handle @ userscript.html?id=b9d51423-637d-4f89-baa7-a9c2439d5368:6
Posted Report
Interested in advertising on Derpibooru? Click here for information!
Deutsche Miraculous Ladybug Forum

Derpibooru costs over $25 a day to operate - help support us financially!

Syntax quick reference: *bold* _italic_ [spoiler]hide text[/spoiler] @code@ +underline+ -strike- ^sup^ ~sub~