Danbooru

Can I mass delete my favorites?

Posted under General

Do a search for your favorites (fav:AM-sama), then enter this for your URL:

javascript:for (i in (thumbs = document.getElementById("post-list").getElementsByTagName("span"))) if (/thumb/.test(thumbs.getAttribute("class"))) Favorite.destroy(thumbs.id.replace(/p/,''));Only does one page at a time, untested (of course), and might miss some if Danbooru can't keep up with that many pending requests at once.Make the "javascript" part a bookmark, stick it on your bookmarks toolbar (assuming FF), and alternate between clicking that and refreshing after the pending requests go through.

Updated

evazion said:
You can increase the number of thumbnails per page by adding a limit parameter to the URL, like this. That should make it easier.

Interesting, it didn't work for me just clicking on your link but I did it manually with another tag and it did.

Very useful.

M-sama said:
Just wondering if there's a way to delete all favorites as opposed to clicking each individual one?

Pray tell, why'd you want to do that? Is there some new stupid law I haven't heard about yet?

jxh2154 said:
Interesting, it didn't work for me just clicking on your link but I did it manually with another tag and it did.

Very useful.

Same here even after clearing cache (unless I get this wrong). But nice indeed.
(Not forgetting about RaisingK's awesome unlimited paginator.)

M-sama said:
No new law or anything as far as I'm aware, I just want to keep the number of favorites I have down to a respectable level. 3468 is way too much.

Oh, but then killing everything is no solution. Proper care and gardening of favourites includes actually reviewing them, not just burning everything to the ground periodically.

葉月 said:
Proper care and gardening of favourites includes actually reviewing them, not just burning everything to the ground periodically.

Funny that you mentioned it that way, since burning everything to the ground periodically is actually a widely used farming technique.

My apologies for being off-topic, I just read your comment and remembered my great-grandfather doing this in his tobacco fields in northern Greece when I was a kid. Oh, the memories...

...Ahem.

evazion said:
You can increase the number of thumbnails per page by adding a limit parameter to the URL, like this.

This is cool. It'd be nice if you could choose the number of thumbnails per page in your settings instead of having to input that every time though.

Fred1515 said:
Funny that you mentioned it that way, since burning everything to the ground periodically is actually a widely used farming technique.

I'd like to see you maintaining an English lawn this way. This has certain uses, but is not applicable when you have something that takes a long time to grow amongst the weed. Which I'd imagine favourites should be.

1 2