WarningUnsavedComment triggers a warning when users have not saved comment or message in Article Comment, Blog and Message Wall, if the community has Message Wall or Article Comment enabled. It can not modify Discussions.
When users start typing comment or message and stop for a while, a banner will appear at the bottom left of the page. Users can click the banner to jump to the unfinished comments or dismiss the banner by clicking symbol "x" at the right side. Banner only disappears completely if some of the comments or messages are published or users cancel all of the unfinished ones.
If users reload or quit the browser session while the unfinished comment or message is not published, a confirmation box will show up. This is for safe circumstance if they accidentally close the tab or the broswer before publishing comment.
Installation