Code Monkey home page Code Monkey logo

historycleaner's People

Contributors

dependabot[bot] avatar rayquaza01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

historycleaner's Issues

Whitelist Some Websites

I'd like to request a feature to whitelist websites. Clear the entire history means I need to retype my most visited websites.

Domain Exceptions

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.

wrong timezone used when showing the notifications (and some related notification issues)

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.

Clarification about description

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

Option to clear history only once a day

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.

[Suggestion] Delete history by visit.

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.

re-enable notification checkbox

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?

Clean cache?

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?

Add-on doesn't delete history

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

Recommendation: Add "auto" to the title of the project

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.

FF 83.0 not working

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.

Manifest v3 (Chrome) - Idle Trigger

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:

  1. Should the idle trigger be deprecated on Manifest v3? Or just idle length?
  2. Should the timer trigger be made default on all versions?

(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.)

[Feature request] Immediate history deletion

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.