Danbooru

[Userscript] Danbooru EX

Posted under General

daniel95312 said:

Is there a way to use this script at the same time as the favorite mode Danbooru natively provides?

Seconding this. I've lost the ability to remove favorites from post pages.

I replaced the mode menu in favor of tag scripts + metatags:

  • To mass unfavorite posts: switch to tag script mode (hotkey: 1), set your script to -fav:<your_name>, select the posts to unfav, then click apply (hotkey: shift+A).
  • To favorite posts: as above, with fav:<your_name> as your tag script.
  • Another way to favorite posts: switch to preview mode (hotkey: tilde), click a thumbnail, then hit F to fav it. (I may not have released this feature yet. Can't remember).
Protips:
  • Use ctrl+A to select all posts on the page. This lets you mass unfavorite posts quickly.
  • Keep fav:<name> as tag script #1 and -fav:<name> as tag script #2. Then you can quickly switch to favorite/unfavorite mode with the 1 or 2 hotkeys.
  • You can vote on posts using upvote:<name>/downvote:<name>.

Okay I guess that works,thank you. Unfortunately it is not as streamline since you have to click post then apply the script.

Mikaeri said:

Weird bug, but when trying to view post #2035644 it hides the sidebar. Turning off the script turns it back to normal.

Have you tried out other posts? On my side, everything looks fine...?

provence. said:

Have you tried out other posts? On my side, everything looks fine...?

Yeah, other posts work fine. It's just that one in particular for some reason.

Is this script still supposed to work, or has it been abandoned? Because nothing different from the vanilla site shows up for me, even if it's the only userscript enabled.

It's not abandoned, I still use it myself, it's just that these days I've been spending what free time I have working on the site itself.

Trying opening the dev console (hit F12) and checking if there are any errors listed there.

evazion said:

It's not abandoned, I still use it myself, it's just that these days I've been spending what free time I have working on the site itself.

Trying opening the dev console (hit F12) and checking if there are any errors listed there.

No error at all shown with either firebug or the inline palemoon console.

Edit: works fine with chromium, I guess it's just not compatible with palemoon for some reason. Ah well.

Updated

Line 536 of danbooru-ex.user.js throws a TypeError when post.file_ext is undefined.

This occurs when the user level is below Gold and the post contains a censored tag.

I've got a minor issue with DanbooruEX.
DanbooruEX has its own header that is pasted on top of the normal Danbooru header, which is mostly fine, because the DanbooruEX header has everything that the normal Danbooru header has, just with some extra stuff as well.
Except the DanbooruEX header also covers up the news feed at the very top of the screen (and because the normal Danbooru header is brought downwards a little bit by the news, the bottom of the normal Danbooru header peeks out a bit from the bottom, which just looks clunky). If I want to see the news, I have to turn off DanbooruEX.
Here's a picture of the result. It looks clunky, and it looks clunky because it's covering up something that it's not supposed to cover up.
https://orig00.deviantart.net/5760/f/2017/271/4/c/1_danboex_header_problem_by_adriannrorymod-dbovqnq.png

I tried using this script but the mode panel is missing along with the 'Go' button cut it half, In EX settings 'Enable Mode Menu' has been checked.
Thumbnails also do not preview on hover instead tags are shown like in vanilla.

The dev console shows three errors
https://i.imgur.com/JLp58bB.png

AncientJumper said:

I tried using this script but the mode panel is missing along with the 'Go' button cut it half, In EX settings 'Enable Mode Menu' has been checked.
Thumbnails also do not preview on hover instead tags are shown like in vanilla.

Because of issue #3795, many user scripts were broken, including Danbooru EX.

The dev console shows three errors
https://i.imgur.com/JLp58bB.png

I only see the one error, which is unrelated to the user script.

I just updated to the latest version of Danbooru EX, and for some reason the translation notes of post #1321022 look like this.
Tried using another browser (Opera) with no userscript installed, tags look fine. I am using Chrome on Windows 7, by the way.
Can you please look into it? Thanks!

EDIT: noticed that if I click "Resize to window" tags go in the right place. Pic size doesn't change tho. So basically I am seeing the tags in the place where they'd be with pic fullsize.

Updated