Adds buttons to insert HTML formatting, and shows a live preview box of what the comment will look like
יש גרסאות של סקריפט זה עם קוד מעודכן. הצג את כל הגרסאות
comment pages (/works/xxxxx/comments/xxxxx) don't have any of the div wrappers the script was observing for dynamically loaded comment boxes. we're observing one now, so the formatting bar shows up on those comments now too.
now supports the bookmark notes field. the @match list grows and grows but I refuse to just let it run on the entire domain.
@match
fixed issue on works with end notes that caused the actual comment box not getting the formatting buttons, and the end notes being treated like an editable textfield instead
Now works on Summary and Notes when posting or editing a work
I noticed that the script stopped working for all the dynamically loaded reply boxes: inbox replies, threaded replies and editing existing comments. I'm not sure why, but instead of XHR (which seems to be breaking fairly easily) it's now implemented as a DOM listener. Hopefully that's more robust and independent from the methodology AO3 uses to create the reply boxes.In addition, the script now also works on /chapters/xxxx where you sometimes get directed instead of /works/xxxx
now supports comments on AO3 News Posts
added @match statement so it will run when viewing works from inside a collectionadded @exclude statements (for post/edit/search work pages) to save the browser some load where it's guaranteed to not be needed
Sticky Comment Box support! For that it adds the button bar, but doesn't offer a preview which would just take up too much space.
slight code cleanup