Danbooru

New FireFox extension [Updated]

Posted under General

EDIT: NEW VERSION OUT! WOOOOOOOOOOOOO!

Anyway, after a rather long hiatus, I finally got off my ass and fixed some bugs, as well as added some new functionality.

What's new?

  • Fixed bug when using the %rating% token with some pictures.
  • Improved compatibility with Unix
  • Added auto-download tag whitelist
  • Added auto-download tag blacklist
  • Added compatibility with other Danbooru-like websites (moe imouto, Gelbooru, Sankaku Complex)
  • Added %website% token to naming options
  • Fixed bug with preferences' log checkbox
  • Added option to add underscores instead of spaces to tags
  • Improved documentation

The tag white/blacklist is there to help with the autodownload mode. If you activate it, sometimes you end up with tons of pics you just aren't interested in. So, to avoid that, you can either:
a) Put the tags you don't want to autodownload on the blacklist
b) Put only the tags you're interested in autodownloading in the whitelist

The whitelist has the added function to add another layer of possibilities when saving pics. You can set a filename for a specific tag, and it'll be used instead of the general filename when saving that pic.

The new version is out at Mozilla ( https://addons.mozilla.org/en-US/firefox/addon/9769 ), but since the servers don't update at the same time, I'm currently having problems installing it from there (I can see it in the developers dashboard, but can't install...), so, I uploaded it to my site.
Get the new version here:
http://www.cuberocks.net/Danbooru/DanbooruDownloader_v1.5.1.xpi

-Old Post-
Hello everyone.

I've been lurking Danbooru since quite some time, and I found myself saving pics quite often, so I decided to write a small extension to do it automatically. This extension will add a small panel to the status bar whenever you're viewing a Danbooru post (i.e. http://danbooru.donmai.us/post/show/####) with the text "Click to save". Clicking it will do as it says. You can configure where the pics will be saved at in the Options panel from the Add-ons window.

Here are some preview pics (if there's a way to embed pics in a post, please tell me so I can update it):

View post page: http://www.cuberocks.net/Danbooru/ffext_screenshot1.jpg

After clicking: http://www.cuberocks.net/Danbooru/ffext_screenshot2.jpg

Options window: http://www.cuberocks.net/Danbooru/ffext_screenshot3.jpg

Explorer window on target dir: http://www.cuberocks.net/Danbooru/ffext_screenshot4.jpg

And here's the download link:
http://www.cuberocks.net/Danbooru/DanbooruDownloader_v1.2.xpi

EDIT: Well, it was pretty much a given, 'cos I rock so much ( ;) ) but it seems it works flawlessly in FF3 as well. Updated the download link with the updated version (meaning, where I tell FF3.x it's compatible)

Oh, and currently it's translated to spanish and english. I'm not a native english speaker, so any corrections regarding that are appreciated.

Any requests, ideas, improvements, etc. are welcome as well.

Updated

T5J8F8 said:
Came in expecting new FINAL FANTASY tags to mess with. Left disappointed. No one loves Opera?

Updated to avoid further confusion. I keep forgetting how many meanings "FF" has.

jxh2154 said:
Sounds neat. I do already use an extension for something similar to this, but it's a cool idea I'm sure some will use. Thanks for the heads up.

Wait, there was already an extension similar to this one?
I hate coding stuff that's already done >_<
Mind sharing the name so I can feel frustrated?

Cube said: Wait, there was already an extension similar to this one? I hate coding stuff that's already done >_< Mind sharing the name so I can feel frustrated?

Well, it's not danbooru-specific. Save Image in Folder is the one I use, so I can save images to a pre-set folder by double clicking on them. That's all I use it for though, your extension might have options it doesn't, or vice versa. I don't know if they're identical.

Cube said:
Oh, I know about that. I don't want to install it 'cos many extensions I like haven't been ported over. However, it seems there's a way to run FF2 and FF3 simultaneously, and I'm looking into it.

I used to run both firefox and lolifox simultaneously, and last I checked lolifox was still based on FF2 and compatible with FF2 extensions so you could do it that way. Currently I'm running FF2 on a U3 drive for danbooruing and Chrome for general browsing.

LaC said:
Ah, I had no idea it was so much trouble on Windows. On Mac, you can have both without special tricks.

Yeah, I noticed that. Most of the 'guides' I found on how to run FF2+FF3 were on Mac.

Extension updated, version 1.5 out.

Changelog:

* Fixed bug when using the %rating% token with some pictures.
* Improved compatibility with Unix
* Added auto-download tag whitelist
* Added auto-download tag blacklist
* Added compatibility with other Danbooru-like websites (moe imouto, Gelbooru, Sankaku Complex)
* Added %website% token to naming options
* Fixed bug with preferences' log checkbox
* Added option to add underscores instead of spaces to tags
* Improved documentation

LaC said:
Twenty people are now going to ask you to work on danbooruup.

I know, and I was afraid of that >_>
I already started working on it, but, TBH, I find it overwhelming. It's incredibly complex.

Let me begin to realize those fears... I neeeed updated danbooruup! Anyway I rename every single image I save into a standardized format I have (which can't really be automated), so I just use the "save image in folder" extension and then rename in Picasa, although this does look pretty neat.

jxh2154 said:
Let me begin to realize those fears... I neeeed updated danbooruup! Anyway I rename every single image I save into a standardized format I have (which can't really be automated), so I just use the "save image in folder" extension and then rename in Picasa, although this does look pretty neat.

I know, DanbooruUp is really useful. I'm quite busy in weekdays (stupid work), and my weekends aren't as open as they used to be, but I'll see what I can do.

Anyone got any idea where I can contact the original author? It'd help me a ton if he could answer some questions I have, even if I have to do the bulk of the work myself.

1