Wednesday, January 16, 2019

Configure Firefox to remember form changes when accidentally leaving a HTTPS page?

On some webpages, changed form content gets lost when the user (accidentally) leaves and goes back to the page (before submitting the form).


Example scenario: Bob edits a wiki page in Firefox. He changes existing content of the textarea and adds many new paragraphs. While typing, he accidentally presses Alt+. Whoops, now he is on the previous page. He clicks Firefox' "Next page" button to get back to the edit page. But, oh no, all his changes are gone.


As far as I tested, Firefox' default behaviour for forms on HTTP pages is fine: it keeps the changed content. But the same form on a HTTPS page "forgets" all unsaved changes. (assuming the webmaster didn't implement anything special)


Because it works for HTTP but doesn't work for HTTPS, it seems to be the responsibilty of the browser. I assume they deactivated it for security reasons. Is that correct?


Can this behaviour be disabled (in about:config)? Is it possible that Firefox remembers unsaved changes on HTTPS pages in the same way it does on HTTP pages?


I'm not talking about permanently saving the content with the help of a Firefox extension; it's not necessary to save form changes to be able to retrieve them anytime. I want to prevent content loss only for the situation when the user is navigating accidentally away and then going back immediately after (< 30 seconds).




Related


If you submitted the form and something went wrong, see:


If you want to save all your form changes, see:


If you want to prevent this problem for visitors of your website:

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...