GabLeRoux / webextensions-history-browser

🕘 Browse your firefox history like a boss.
https://addons.mozilla.org/en-US/firefox/addon/webextensions-history-browser/
MIT License
20 stars 1 forks source link

Feature request: Add a delete function for history entries #56

Open DaCowboy22 opened 1 year ago

DaCowboy22 commented 1 year ago

Can a delete function be added to this extension? Some sites show 10, 20, or more accesses in history using this extension with the search capability. I would like to be able to delete all history entries for a listed URL. I cannot find any add-ins or extensions for Firefox that can provide a list of history entries (especially with a search function) and allow those entries/records to be deleted. This would be an excellent platform to use for this stated additional functionality!

GabLeRoux commented 1 year ago

I think this is possible to implement.

According to history API on MDN (this is what we use), the following functions are available:

Here's compatibility table:

  Chrome Edge Firefox Opera Safari Firefox for Android Safari on iOS
deleteAll Yes 79 49 Yes
deleteRange Yes 79 49 Yes
deleteUrl Yes 79 49 Yes

webextensions-history-browser (this plugin) currently uses datatables. There is a datatables editor premium addon which would allow editing and/or deleting selected rows. I'm not sure about licensing so a custom implementation could also do the trick.

There are a few alternatives to datatables, here are a few ones which would support selection and deletion: