I often have to edit a PR body. Sometimes this ends up including some moderately extensive editing and writing. Enough to care not to loose mid-edit.
More than once now I have accidentally navigated away from the page while editing without saving after writing almost everything I needed. It is so incredibly frustrating when it happens because its easy to do by mistake or due to inattention.
Even more infuriating is that when you hit back you see your in progress edit for a split second before the page reverts back to non-edit view with the last saved text, causing you to lose everything after teasing you with the possibility of its recovery.
Why can’t my browser either save my progress or at least WARN ME when I try to navigate away from the page for whatever reason while I have unsaved changes! This includes accidentally hitting back.