Limits the number of items the browser will keep in history by days.
History Limiter Custom Extension
A personal edit of nschneirov's History Limiter put up to share.
Overall the logic remain unchanged from the original version.
Main changes:
- code reworks to eliminate need for jQuery and to facilitate manifest ver 2
- event page enabled
- no changes to logic, no new functions
The main aim of this edit is to make it event page enabled so it unloads when not needed thus saving memory.
=================
CHANGELOG:
1.2 [21/04/2018]
- back to using a set button to overcome the premature clear
- some minor UI changes
1.1.1 [10/05/2014]
- history will be trimmed right after the day value is edited
1.1 [27/04/2014]
- tidying and restructuring of code
- changed options page to auto save
- added textfield number check
- added working 0 days mode (no history)
Read more
Overall the logic remain unchanged from the original version.
Main changes:
- code reworks to eliminate need for jQuery and to facilitate manifest ver 2
- event page enabled
- no changes to logic, no new functions
The main aim of this edit is to make it event page enabled so it unloads when not needed thus saving memory.
=================
CHANGELOG:
1.2 [21/04/2018]
- back to using a set button to overcome the premature clear
- some minor UI changes
1.1.1 [10/05/2014]
- history will be trimmed right after the day value is edited
1.1 [27/04/2014]
- tidying and restructuring of code
- changed options page to auto save
- added textfield number check
- added working 0 days mode (no history)
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "History Limiter Custom", "version": "1.2", "manifest_version": 2, "description": "Limits the number of items the browser will keep in history by days.", "icons": { "48": "icon.png" }, "background": { "scripts": ["bg.js", "common.js"], "persistent": false }, "options_page": "options.html", "permissions": [ "history" ]}
Read more