HistoryBlock
HistoryBlock copied to clipboard
Add support for removing cache entries
Based on this MDN article it is possible to remove cached items based on a duration of time.
- Listen on page visit
- Capture timestamp when blacklist-hit occurs
- When blacklist processing occurs (tab closes, etc), go back and remove cached entries from that timestamp onward
This implementation may have collateral damage (if user opens blacklisted tab, then opens a bunch of non-blacklisted tabs, for instance), but destroying cache entries is rather innocuous and will not 'harm' non-blacklisted sites.
Should be optional and the default is 'on'.