Credit where credit is due, this is inspired by ScriptMouse's script but has zero lines of code in common. Rosa's script was also a great reference for submitting comments to AO3.
Features:
- sleek-looking comment box with all amenities: drag it around, resize it (on desktop)
- automatic darkmode
- works on mobile, although it does look slightly different (buttons are icon-only)
- submit the comment directly from the dialog - no copying around
- select your pseud to comment with
- comment text is cached for 1 month as you type
- character counter warns you if you're exceeding AO3's limit
- insert highlighted text of the fic into the comment at the press of a button
- setting option whether quotes are to be in italics or blockquote
- open/close dialog via a recognizable button on the bottom-right of the screen (sticky, always in view)
- open/close dialog via a keyboard shortcut of your choice (on desktop)
- dialog will remember where you put it, and reopens at the same position
- when submitting the comment, the work page will reload to show you the comment
- won't interfere while posting or editing your own works
TBA: make it work with my Comment Formatting script (to add the formatting buttons bar)