Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Rayquaza01/HistoryCleaner
Firefox addon that deletes history older than a specified amount of days.
https://github.com/Rayquaza01/HistoryCleaner
addon browser extension firefox-addon history
Last synced: 20 days ago
JSON representation
Firefox addon that deletes history older than a specified amount of days.
- Host: GitHub
- URL: https://github.com/Rayquaza01/HistoryCleaner
- Owner: Rayquaza01
- License: mit
- Created: 2017-02-07T23:16:37.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-12-11T00:02:56.000Z (about 2 months ago)
- Last Synced: 2024-12-11T00:28:25.365Z (about 2 months ago)
- Topics: addon, browser, extension, firefox-addon, history
- Language: TypeScript
- Size: 1.12 MB
- Stars: 85
- Watchers: 6
- Forks: 6
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# HistoryCleaner
[![](https://img.shields.io/amo/v/history-cleaner)](https://addons.mozilla.org/en-US/firefox/addon/history-cleaner/)
[![](https://img.shields.io/chrome-web-store/v/epoabannnmjdknejdggkgjoebomipene)](https://chrome.google.com/webstore/detail/history-cleaner/epoabannnmjdknejdggkgjoebomipene/)Firefox addon that deletes history older than a specified amount of days.
## Options
* Behavior
* Decides what history the extension will delete when it triggers.
* Either disabled, delete old history, or delete all history.
* Defaults to disabled, so the extension doesn't do anything until you configure it.
* Number of Days to Keep History
* Delete history older than midnight on the specified number of days ago.
* Only has effect if behavior is set to delete old history.
* Defaults to 0.
* Trigger Mode
* Whether the extension triggers on idle, on browser startup, or at a set interval.
* Defaults to idle (Firefox)
* Defaults to timer (Chrome)
* Idle Length (Firefox Only)
* Amount of time in seconds the browser should idle before triggering.
* Only has effect if trigger mode is set to idle.
* Defaults to 60, minimum 15.
* Timer Interval
* Interval in minutes between triggering.
* Only has effect if trigger mode is set to timer.
* Defaults to 1440 (24 hours), Minimum 1## Permissions
* `history`
* Used to clear browser history
* `storage`
* Used to save user options
* `idle`
* Used to detect when the browser is idle for the idle trigger mode
* `notifications`
* Used to send a notification when history is cleared
* Notifications are only sent if the user enables notifications in options
* `downloads`
* Used to clear download history
* Download history is only cleared if user enables the option
* `alarms`
* Used to set a timer for the timer trigger mode.## Building and Running
Clone this repository, and run `npm install` to install necessary dependencies and build tools.
* `npm run build:ff:watch` will build the extension in watch mode for development.
* `npm run build:ff:prod` will build the extension for production.
* `build:cr:watch` and `build:cr:prod` will build the manifest v3 version of the extension for Chrome.
* The manifest v3 (Chrome) source is located under `./cr-src/`, whereas the manifest v2 (Firefox) source is under `./src/`
* `npm run firefox` will load `./dist/` as a temporary extension in Firefox.## Acknowledgements
Icons used in History Cleaner are from [Pictogrammers](https://pictogrammers.com/). ([Pictogrammers Free License](https://pictogrammers.com/docs/general/license/))
## Links
[![](https://raw.githubusercontent.com/Rayquaza01/HistoryCleaner/master/src/icons/amo.png)](https://addons.mozilla.org/en-US/firefox/addon/history-cleaner/)
[![](https://raw.githubusercontent.com/Rayquaza01/HistoryCleaner/master/src/icons/cws.png)](https://chrome.google.com/webstore/detail/history-cleaner/epoabannnmjdknejdggkgjoebomipene/)