formhistorycontrol-2 icon indicating copy to clipboard operation
formhistorycontrol-2 copied to clipboard

Add the item to clear the history

Open wvxwxvw opened this issue 4 years ago • 14 comments

Don't forget about privacy. I was surprised to find that there was no way to clear history. How so? =)

wvxwxvw avatar Dec 29 '19 14:12 wvxwxvw

There are multiple ways to clear the form history stored by this add-on. You can either use the Cleanup option (automatic and manual) or simply select and delete one or multiple (all) items.

Note that for this (or any other add-on) there is no way to clear the history maintained by the browser itself. You can however enable the Override Autocomplete option to prevent the browser from storing history.

Also note: if this add-on is removed, so will be the data.

stephanmahieu avatar Dec 29 '19 15:12 stephanmahieu

I understood. I didn't notice multiple selection via the context menu. But it's not convenient. You have so much extra stuff in the context menu of the page, and there is no such simple and obvious function in it.

You just need a separate button in the lists. And the option in the settings "delete at the end of the session", excluding abnormal closing.

wvxwxvw avatar Dec 29 '19 16:12 wvxwxvw

This add-on does not support sessions you may have on a page. So cleaning up after a session is not possible. Further more only multiline fields are (by design) associated with a page (url).

If you wish to retain your data only for a short period you could use the cleanup option and set the retention period to 1 day.

stephanmahieu avatar Dec 29 '19 17:12 stephanmahieu

I meant browser sessions.

wvxwxvw avatar Dec 29 '19 17:12 wvxwxvw

So clear all history when the browser exits?

stephanmahieu avatar Dec 29 '19 18:12 stephanmahieu

Yes, when I exit, my history is cleared standard browser tools. I would like that the add-on would have the ability to clean up after a normal exit.

wvxwxvw avatar Dec 30 '19 10:12 wvxwxvw

And, in addition, still simplify access to the function of clearing the entire history. Open a dialog, open the context menu, select all, and click delete. This is too long algorithm for such a simple and obvious function. You have a context menu of the button, which has an excess of extra items, why not add a "full cleaning" item?

wvxwxvw avatar Dec 30 '19 10:12 wvxwxvw

Unfortunately there is no shutdown hook available in the WebExtensions API to perform actions just prior to shutdown.

stephanmahieu avatar Jan 10 '20 15:01 stephanmahieu

And to delete a folder ...^firstPartyDomain=..., through API too it is impossible?

You at least add the usual full cleaning. I temporarily put this folder in the AutoIt cleanup script. But I use it (the script) only before the profile backup. Need a standard full cleaning, on easily accessible button, not somewhere there, for thirty clicks.

wvxwxvw avatar Jan 11 '20 07:01 wvxwxvw

No the WebExtension API, by design, does not support any method to interact directly with files or folders on the host OS. The framework/API available to extensions is designed with security, privacy, reliability and stability in mind.

It is possible to create extensions that use native code designed for a specific OS but they fall in a different category and that is not the way I want to go.

stephanmahieu avatar Jan 11 '20 13:01 stephanmahieu

Well, let's at least a button and an item in the context menu of the extension. Can be done with confirmation.

wvxwxvw avatar Jan 12 '20 00:01 wvxwxvw

Check 👍

stephanmahieu avatar Jan 12 '20 16:01 stephanmahieu

I have not found.

wvxwxvw avatar Jan 13 '20 01:01 wvxwxvw

Patience....

stephanmahieu avatar Jan 13 '20 15:01 stephanmahieu