timsueberkrueb / webber

Making webapps superfluous since 2019
https://open-store.io/app/webber.timsueberkrueb
Other
14 stars 9 forks source link

[Feature request] Add the option to delete cache, config and shared files when closing #44

Closed ghost closed 3 years ago

ghost commented 3 years ago

Hello,

First, thank you very much for this app, which helps greatly ! My request is the following : currently there is no option to delete cache, cookies and history in a webapp created with Webber. Keeping them can be useful, but it can also be a flaw regarding privacy. Currently, the only way to delete traces is to remove files in ~/.cache/www-your-web-app, ~/.config/www-your-web-app, and ~/.local/share/www-your-web-app with the terminal.

Could you add a possibility to delete those when the webapp closes ?

Yours sincerely,

spartid

timsueberkrueb commented 3 years ago

Hey, thanks for the proposal!

Webber creates shortcuts that run Morph Browser's webapp-container. Therefore, Webber has limited control over the web view that displays the webpage; in fact it is limited to the command line options provided by webapp-container. Hence, this feature needs to be implemented in Morph Browser first before we can add it as an option to Webber.

webapp-container would have to expose a new command line option (e.g. --disable-persistent-storage) which would need to adjust the QtWebEngine profile used in the webview (e.g. by setting offTheRecord) similar to how it's done for the incognito mode of regular Morph Browser.

So I would recommend you to file this as a feature request for Morph browser.