Donmai

[Userscript] Displaypostinfo

Posted under General

Pushed Version 11 which primarily includes an update to the library code plus a few additions and fixes:

  • Additions
    • Ability to set the delay times on showing and hiding the post tooltips
  • Changes
    • Removed the post uploader from the user settings
      • This is now provided by the site
    • Have rendered user names (such as top tagger) respond to user tooltips
  • Fixes
    • Fix the header sizes for the post and domain statistics
  • Other
    • Updated the library version

Pushed Version 12 which primarily adds favorites styling back in that was removed as mentioned in forum #178506.

  • Additions
    • Adds back in the "data-is-favorited" attribute of post previews on the post index
    • Adjusts the heart icon on the post preview popup if the post is favorited
      • Advanced post tooltip must also be enabled for this
  • Changes
    • Changes the default for all settings to false
  • Fixes
    • Fixes how the user settings get propagated to other tabs

BrokenEagle98 said:

Pushed Version 12 which primarily adds favorites styling back in that was removed as mentioned in forum #178506.

  • Additions
    • Adds back in the "data-is-favorited" attribute of post previews on the post index
    • Adjusts the heart icon on the post preview popup if the post is favorited
      • Advanced post tooltip must also be enabled for this
  • Changes
    • Changes the default for all settings to false
  • Fixes
    • Fixes how the user settings get propagated to other tabs

Would it be possible to add the data-is-favorited attribute elsewhere too? Like if I view post #2751708 it doesn't show me that I have the parent favourited as it doesn't affect parent/child thumbnails whereas the old system did - as per my post in the changes thread this is one of the main things I used this for.

skylightcrystal said:

Would it be possible to add the data-is-favorited attribute elsewhere too? Like if I view post #2751708 it doesn't show me that I have the parent favourited as it doesn't affect parent/child thumbnails whereas the old system did - as per my post in the changes thread this is one of the main things I used this for.

Alright, I pushed Version 12.1 which now also runs in the post show view.

pantsukiller said:

Domain statistics section is broken now. Probably after this forum #202376 update

I pushed Version 12.2 which should fix this. I removed normalized source as an option though, since there is no easy way to get that from Danbooru, and trying to code that in manually is prone to errors/obsolesence.

1 2