PsionicCuttlefish
Supernova
- Joined
- Apr 10, 2012
There are a handful of webpages on the internet that have a special function, if something dynamic is being done in it; attempting to navigate away from or close out the page springs up a popup saying something along the lines of
Is there any possibility such a function could be added to the "Create New Thread/Post In Thread/Compose Private Message) pages, such that it triggers if the page is navigated away from in any way other than Post/SendPM, Preview, or Save As Draft?
Because I was writing up a post, but paused to close out several other unneeded tabs...and one single misclick closed out the wrong tab, and lost everything I had written. And it's not the first time it's happened in the past few months. Aaaaaaggh. DX
Would this be simple to add to the forum software? Or would it be an involved coding project? If the latter, then alas but nevermind.
as its main purpose is to prevent accidental page-leaving and losing whatever is being worked on.Are you trying to leave this webpage?
--Yes, leave the current page
--No, don't leave the current page
Is there any possibility such a function could be added to the "Create New Thread/Post In Thread/Compose Private Message) pages, such that it triggers if the page is navigated away from in any way other than Post/SendPM, Preview, or Save As Draft?
Because I was writing up a post, but paused to close out several other unneeded tabs...and one single misclick closed out the wrong tab, and lost everything I had written. And it's not the first time it's happened in the past few months. Aaaaaaggh. DX
Would this be simple to add to the forum software? Or would it be an involved coding project? If the latter, then alas but nevermind.