lagrange icon indicating copy to clipboard operation
lagrange copied to clipboard

Private browsing mode

Open emilis opened this issue 4 years ago • 8 comments

Gemini is a new internet protocol which:

  • Takes user privacy very seriously

gemini://gemini.circumlunar.space/

Gemini is also intended to be very privacy conscious, to be difficult to extend in the future (so that it will stay simple and privacy conscious), and to be compatible with a "do it yourself" computing ethos.

gemini://gemini.circumlunar.space/docs/faq.gmi

In this context I suggest to make a setting for "Clean history on exit" AND keep it checked by default for new users.

emilis avatar Nov 23 '20 20:11 emilis

IMO the privacy that the spec talks about concerns what happens when talking to other computers.

There is a certain level of privacy and security to one's files on the local computer, but I concede that theoretically a bad actor could go looking into ~/.config and find all kinds of data.

A setting for "clean history on exit" is pretty simple to implement so I can add that, but I disagree about having it checked by default. Lagrange's runtime state is designed to be fully and seamlessly restorable on relaunch, and that's the UX I want to keep.

skyjake avatar Nov 24 '20 06:11 skyjake

Well... we do have "incognito windows / tabs" for the mainstream web browsers. They do erase history by default.

Gemini is supposed to be more private than the web, so this seems appropriate.

emilis avatar Nov 24 '20 06:11 emilis

I've just created a pull request for private browsing mode (pull request #123).

Br0000k avatar Jan 28 '21 21:01 Br0000k

As temporary workaround (on Linux) to get the history cleaned on exit is to use Firejail to sandbox the lagrange process.

This way each process get a completely separate sandbox of the filesystem that is deleted when the process exits.

I currently use firejail to do this with firefox, so that no history is saved, each process is completely isolated and that my settings and plugins are immutable.

rzetterberg avatar May 26 '21 07:05 rzetterberg

"clean history on exit" is pretty simple to implement so I can add that

Has this been added yet? I find it quite annoying to see my last browsed page whenever I launch it and couldn’t find either an setting to disable history nor erase history-on-close.

le-jun avatar Jan 17 '22 08:01 le-jun

It has not been implemented yet.

annoying to see my last browsed page

Would you actually prefer a setting that specifies which tabs are opened at launch? With such options like "restore previous tabs", "homepage", "about:blank", etc.?

Cleaning history on exit has other consequences, like all known feed entries becoming unread since the app doesn't remember if you've visited the corresponding URLs or not.

skyjake avatar Jan 17 '22 09:01 skyjake

Cleaning history on exit has other consequences, like all known feed entries becoming unread since the app doesn't remember if you've visited the corresponding URLs or not.

Oh, that’s right! Don’t use those so didn’t come to my mind.

Would you actually prefer a setting that specifies which tabs are opened at launch? With such options like "restore previous tabs", "homepage", "about:blank", etc.?

That would be great. On setup I thought that setting homepage meant "the on start" page. An option to do so would ease my mind.

le-jun avatar Jan 17 '22 10:01 le-jun

Version 1.11 will have an option to "Restore tabs at launch". Disabling that will instead just open each window to the chosen homepage instead of the old tabs. (You can bookmark "about:blank" and make that your homepage.)

skyjake avatar Feb 28 '22 08:02 skyjake