webextension_scripts/src/background.js
/*
	Autodelete browsing history older than 9 days old.

	1.	Save the current date/time - 9 days.
	2.	Delete browsing history older than 9 days old.
*/
Autodelete browsing history older than 9 days old.
1.      Save the current date/time - 9 days.
2.      Delete browsing history older than 9 days old.
Autodelete browsing history older than 9 days old . 1 . Save the current date / time - 9 days . 2 . Delete browsing history older than 9 days old .
function autodelete() {
	let date = new Date();
	date.setDate(date.getDate() - 9);
	db.Timeline.where("end").below(date).delete();
}
function autodelete ( ) { let date = new Date ( ) ; date . setDate ( date . getDate ( ) - 9 ) ; db . Timeline . where ( "end" ) . below ( date ) . delete ( ) ; }
Autodelete browsing history older than 9 days old.
Autodelete browsing history older than 9 days old .
// Save the current date/time - 9 days. // Delete browsing history older than 9 days old.