GNOME Bugzilla – Bug 462447
[patch] epiphany no-history mode
Last modified: 2007-08-06 10:30:13 UTC
Also known as pr0n mode.
Created attachment 92849 [details] [review] avoids saving history to disk when history is not enabled :)
Ah of course this needs a UI, I'm not sure if this would also require disabling cookies?. I mean allowing them but not storing them on the actual user profile.
See also bug 329680 and bug 145386
Also check bug 455504
Created attachment 92851 [details] [review] Adds a menu item next to Work Offline and the logic behind This is the UI part, note that we would be missing cookie management and caching. We can name the option "disable history" or something like that maybe?. I have no idea about cookies and even less idea about caching. chpe?
+ g_object_set (G_OBJECT (history), "enabled", !enabled, NULL); Let's add the public function to ephy-history.h instead. Also I think setting the history to disabled should write the history to disk, if it's dirty. Cookie management is indeed a problem, since it's handled internally by gecko... I don't think we can just turn if off without losing all saved cookies, iirc...
Created attachment 92870 [details] [review] A combined patch. So, what about this one?
ephy_history_set_enabled should only save if ::dirty is TRUE, no? And didn't you say the UI would be an extension, and ephy just provide the necessary APIs? :)
Created attachment 92881 [details] [review] backend bits Ok, this should do it.
Committed. I guess I can close this one, private browsing and other stuff is on other bugs.