Comments (1)
Duplicate of #13
The WebExtension API to clear the cache is browsingData
. With the browsingData
APIs, you can only clear recent cache, cookies, history, etc.. There is no API to clear old cache like there is for history.
If you want to clear recent browsing data, there is a menu for this built into the browser. See Delete browsing, search and download history on Mozilla Support
Cookie AutoDelete might accomplish something similar to what you want. Along with cookies, you can configure CAD to clear other browsing data automatically. CAD uses a whitelist instead of expiration, so all cookies and other browsing data will be deleted for non-whitelisted sites.
I know you didn't mention cookies specifically, but for completeness, there is also an extension called Fresh Cookies which clears old cookies after an expiration.
Hope this helps!
from historycleaner.
Related Issues (20)
- [Feature request] Add cache data option HOT 4
- Form and search history not being deleted HOT 1
- [Feature request] Immediate history deletion HOT 2
- wrong timezone used when showing the notifications (and some related notification issues) HOT 2
- Clean also the downloads history? HOT 1
- Recommendation: Add "auto" to the title of the project HOT 4
- Add Firefox for Android Support (History API is not available in Firefox for Android currently) HOT 10
- Domain Exceptions HOT 1
- Option to clear history only once a day HOT 2
- Manifest v3 (Chrome) - Idle Trigger HOT 3
- Only clear selected domains
- re-enable notification checkbox HOT 2
- Notifications always on when deleting ALL history HOT 2
- (Solved) Dates Possible? HOT 1
- Getting spammed by notifications HOT 2
- Theme Icon on Chrome HOT 1
- [INFO] What does "Impossible" mean?
- What Firefox-history is cleared? HOT 3
- [Suggestion] Timer & Idle trigger option
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from historycleaner.