rayquaza01 / historycleaner Goto Github PK
View Code? Open in Web Editor NEWFirefox addon that deletes history older than a specified amount of days.
License: MIT License
Firefox addon that deletes history older than a specified amount of days.
License: MIT License
Hi @Rayquaza01 thank you for your work!
It would be a nice addon if this extension could also be capable of removing cookies, cache, etc..
Thank you again, best regards
I'd like to request a feature to whitelist websites. Clear the entire history means I need to retype my most visited websites.
It would be nice to be able to do a "forget" on selected domains every Firefox shutdown.
I've always wanted a way to make history expire like this and I was elated when I found this add-on. However, a lot of people rely on browser history chiefly to recall the names of certain webpages such as YouTube videos which have been removed. I think it would be cool to be able to exempt certain websites from cleaning so that users can have a rolling browser history with the ability to still keep a long-term history for specific websites.
The notifications preference is ignored when behavior is set to delete all history. See background.ts line 165.
It would be nice, if the number of days are automatic synced with other Computers.
If not, do you have any plans to develop Chrome version?
i decided to enable the notifications from this addon to see when it would clear old history... big mistake, so i disabled notifications again because of these:
(1) after the first cleanup of the day, the notifications that keep appearing every few minutes are mentioning the same 'before date' with the time as 00:00:00... what's the point of doing the same thing over and over?
I'd understand this if the addon would also use the current time (hh:mm:ss) when calculating the reference timestamp to delete before of, but since it's ignoring the time and just rounding up to days why show the notification if it didn't clean anything?
(2) as a result of the issue above, i'm getting a TON of cleanup notifications when simply reading random articles online... maybe the default "idle length" is not long enough when the notifications option is enabled?
and (3) - the notifications that show up say that the cleanup action happened at a time that differs by a few hours from the current local time. Looks to me that the time reported in the notification is the UTC time instead of the local time.
Could you please add an option to clean also the downloads history?
Firefox never does it, for some reason..
Dear Developer(s),
Thank you for an awesome product!
I have used the addon once or twice but both times had a hard time understanding the descriptive lines:
"Set the number of days to keep history items in the options page. Setting it to 0 will disable history deletion"
Does Setting it to 0 will disable the history deletion add-on or will it retain the history forever (bloating the places.sqlite file) until manually deleted?
You might want to change these lines correspondingly at all the places to put it more clearly.
Thanks and keep up the good work!
Sincerely,
Inderjeet
Hi! I'd like to suggest to add an option to clear the history only once a day. I have idle length: 60, trigger mode: idle and it tries to clear history all the time. But only one launch per day is enough.
Firefox Nightly for Android supports installing every extension by following their guide:
https://blog.mozilla.org/addons/2020/09/29/expanded-extension-support-in-firefox-for-android-nightly/
From what I have seen a lot of extensions work now. But this one doesn't. It installs but it's not able to delete the history. (No error message shown)
So I ask you if it's possible to make it work?
In my opinion the best way for keep the history database cleaned and complete is delete all web sites with only 1 visit (or more).
For that will be great have also the option > Delete History by visit into a date period.
Thanks.
In d5822e the notification checkbox was disabled, so no matter what the user selects, a notification is always shown. Why was that changed? What is needed to re-enable the notification checkbox?
I wondered if it could be possible to do the same with cache files? so if the website haven't had a visit for more than specificied duration it will clean up all cache files related to it?
Hi,
I installed History Cleaner a day ago but it doesn't work.
My sidebar shows History going back to "Older than 6 months" so I set "Number of days to keep history" to 90 days in Preferences, but the folders and files for history older than this are still there. I've left Firefox idle for well over the 1 minute mark a number of times and also restarted my browser/machine.
I might've missed something although the only thing I see in Prefs is a box to increase/decrease the number of days -- Thanks
OS X 10.14.6 Mojave
Firefox 70.0b7
Addon ver. 1.2.3
I am receiving search suggestions from my deleted history. I cannot find these web sites in my history.
Windows 10 Pro 20H2
Firefox 89.01
Addon ver. 1.3.0
I suggest that you implement the same functionality as the legacy add-on Deletebutton to revive it as a WE in your add-on.
It's not possible to figure out that History Cleaner automatically performs its actions. The extension Cookie AutoDelete indicates automation.
I guarantee that you get more users if you extend the title of your project by adding "auto", because no other extension automatically clears the history as far as I know.
Does not work with FF 83.0 (64-bit).
It seems to install, i can set days, but no icon appears. Does not seem to delete anything either.
With Manifest v3, all event listeners in the background script must be at the top level. In History Cleaner, the idle listener is not set at the top level. Because the idle length is user set, we need to fetch the idle length from storage before creating the event listener (which can't be done at the top level), and the listener is removed if the trigger mode is not idle.
Because of this, having a user set idle length seems to be impossible with Manifest v3. Removing the event listener when it's not in use also seems impossible.
There are a couple ways to handle this:
Option 1:
Deprecate the idle length option on Manifest v3, but keep idle support in. Idle length will always be 60 seconds. Even if the trigger mode is not idle, the idle event listener will still trigger (but it won't do anything).
Option 2:
Deprecate idle entirely on Manifest v3. Change the default trigger mode to the new timer mode. (Triggers at a set interval, Defaults to 24 hours).
Personally, I'm leaning towards option 2. Clearing history on idle doesn't make a lot of sense (the cutoff time is set to midnight, so unless the extension behavior is set to delete all history, history is only actually deleted once per day anyway). Clearing history only once per day was the intention of the startup trigger mode, but if you always leave your browser open then it will only trigger once. With the timer trigger mode, it will still trigger once every day even if you always leave your browser open.
What I want feedback on is:
(Note: I am planning on keeping the Firefox version on Manifest v2 for the foreseeable future. Neither idle length nor the idle trigger will not be deprecated on the Firefox version. However, I am considering making timer mode be the default for new installs on all versions.)
Currently, you have to set a number of days after which history is deleted. But if you set it to 0, the add-on itself is disabled.
I came across this add-on because I was looking for a way to disable my download history, but not set private-browsing mode, which also disables pinned tabs. (Ironically, that's all that clearing "Remember browsing and download history" does, and if you tell Firefox to remember again, it turns out that it never forgot your pinned tabs in the first place.)
However, the minimum number of days I can select is 1, which means that my history is still remembered for up to a day. It would be useful if there were a method of having the add-on simply delete my history immediately. I know there is a button that does that, but having this happen automatically would be much more useful.
Typically, I would expect setting the number of days to 0 to immediately delete my history, and setting it to -1 to be what disables the add-on. But since that would cause a problem for people who update to a newer version, it can't be the method to implement. People currently using 0 and expecting it to mean the add-on is disabled need to have continuity. So, perhaps strangely, I suggest a setting of -1 to mean that history is immediately deleted. Either that or a new option for the purpose.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.