Danbooru

Tooltip userscript broken

Posted under General

I just posted an updated version. Consider this a beta release; it works for me, but your mileage may vary. I still need to do some internal code cleanups, but otherwise everything should work.

Changes:

  • Works on Firefox and Chrome (as far as I've tested).
  • Translation notes are displayed on the tooltip thumbnail (try browsing the note index to test it out).
  • Smarter tooltip placement. Tooltips should no longer be placed outside the viewport or on top of the thumbnail.

Hmm...weird, all of a sudden it won't work on the main posts page, it just sits there with Yayoi eating and never loads. On the other hand, it works on text links in the Appeals thread, and on images in the note index.

Fencedude said:
Hmm...weird, all of a sudden it won't work on the main posts page, it just sits there with Yayoi eating and never loads. On the other hand, it works on text links in the Appeals thread, and on images in the note index.

Sometimes that happens when a request times out in the background. Refreshing the page and trying again should fix it. It can also happen if you're trying to view a tooltip for a post that doesn't exist (i.e. a post that has been double-deleted, or a non-safe post on safebooru).

If it's neither of those, then I dunno. Give me a link to the page where it happened and I'll look into it.

I don't know why, but while everything works 100% on my other PC, here on my home PC the tips are always placed way at the bottom of the page, i.e. I always have to scroll down to see them (which pretty much makes it useless). Firefox on both.

1