gildas-lormeau / SingleFile

Web Extension for saving a faithful copy of a complete web page in a single HTML file
GNU Affero General Public License v3.0
14.31k stars 945 forks source link

Provide support for an option to not auto-close a tab after cancelling a web page save #1490

Open touwys opened 4 days ago

touwys commented 4 days ago

The dialogue for saving a web page with SingleFile, presents the user with the option to either save, or to cancel, saving the page.

It follows that if the user opts to cancel, the browser tab for that web page gets closed as soon as the save dialogue closes — that is, if the SingleFile configuration calls for it — as per Options > User interface > auto-close the tab after the page is saved > enabled. I expected the tab not to get closed, because the web page save was cancelled. Therefore, no need to auto-close the tab.

If appropriate, could you please provide support for an option to not have the tab closed whenever a page is not saved? Example:

Screenshot

Thank you, and thank you very much too, for his splendid add-on.