Danbooru

Multiple TagScript Userscript

Posted under General

Rather simple little userscript that allows you to quickly switch between multiple different tag scripts without having to go to Edit Tag Script each time.

This adds a simple block below "Mode" when Apply Tag Script is enabled, this will give you a link to switch between each tag script you have set.

Tag scripts are set via the "Edit Tag Scripts" option which should appear in the block.
Tag scripts are split by ",". So for example "1girl purple_hair long_hair hat crescent, 1girl purple_hair long_hair no_hat" would give you tag script links for "1girl purple_hair long_hair hat crescent" & "1girl purple_hair long_hair no_hat".
Simply clicking on the link should instantly switch between the tag script you were using and that one.

Download | Source

Known issues:
After editting the tag scripts, you will need to refresh the page for them to show.

Updated

Hmm, it seems to work ok, though it is a bit clunky and took a little while to get going for some reason. Definitely a useful tool though. I've wished for something similar whilst tag gardening in the past.

Looking at the code, this will likely fail on other *boorus and for people with custom CSS, right? There ought to be a better way to detect the current action mode than the background color I think. It's been a while since I've dug around in Danbooru's javascript though.

Shinjidude said:
Looking at the code, this will likely fail on other *boorus and for people with custom CSS, right? There ought to be a better way to detect the current action mode than the background color I think. It's been a while since I've dug around in Danbooru's javascript though.

This should be fixed now, it should check what the mode is set to, instead of the background color.

1