Donmai

[Userscript] EventListener

Posted under General

santander said:

Is it possible to use this on mobile?

If you can find a userscript manager that works on a mobile browser. However, the style effects are designed with a desktop display in mind, so it probably won't look good or be that manageable.

Pushed Version 24 which primarily adds artists as a subscribe event.

  • Additions
    • Artist events can now be subscribed (both on posts and users)
    • New user setting to mark dmails as read when opening a dmail from the notice
  • Changes
    • Removed autosubscribe
    • Removed subscribe links on INDEX endpoints
    • Simplified the subscribe links on SHOW endpoints
    • Overwrote the dmail controls in notice

I talked about removing autosubscribe a while back. This functionality is already covered by the "show creator events" setting.

The INDEX subscribe links aren't really that necessary, and since subscribing should be a low frequency event, it's just as easy to do from the SHOW pages, plus they added a lot of noise on some pages.

For the subscribe links on SHOW pages, it used to be that the controls shown would update after updating the user setttings, however, since that is also a low frequency event, that functionality was removed as well. If a subscribe event is enabled/disabled in user settings, the controls can be shown simply after a page refresh.

Lastly, about the dmail controls in the notice. They worked, but they always caused the page to refresh, which can cause one to lose their place when looking through the notice. The overwritten controls still achieve the same results, visually affecting the dmail once they get a success result from Danbooru, and giving an error message otherwise.

Updated

1 2 3 4