Home (All Topics) → Technology → Software → AI-Created Software
Clears your browsing history on a repeating schedule, then adds back a list of URLs you choose, so the address bar keeps suggesting the sites you want and nothing else. It can also clear history once on demand, and back its settings up to a folder every few days.
Everything runs locally. The extension makes no network requests, reads no page content and has no host permissions.

vivaldi://extensions and turn on Developer mode.Click the toolbar button or press Ctrl+Shift+H (Cmd+Shift+H on macOS) to open the options page.
Set Run every (minutes) (5 or more, since each run clears all history) and enter one URL per line. Blank lines and surrounding whitespace are ignored. Only http:// and https:// addresses can be written to history; anything else is skipped.
Save & Start saves the settings and starts a repeating alarm. On each run the extension:
The first run happens after one full interval, not immediately. Edits to the saved list take effect on the next run without restarting.
Stop Automation cancels the alarm and keeps the interval and URL list. The status line shows whether automation is running and when it next runs.
Clear History Now deletes all history immediately, after a confirmation prompt. It does not add any URLs back.
Export Settings downloads every setting as JSON: the interval, URL list, whether automation is running, and the backup schedule. The filename is the current local date and time:
history-automator-settings-2026-09-06-150322.json
That is history-automator-settings-YYYY-MM-DD-HHMMSS.json, with the time as six unseparated digits.
Export captures what is currently in the form, not what was last saved, so it reflects edits you haven’t committed with Save & Start.
Import Settings reads a file back. It validates before applying anything and reports the specific problem if the file is malformed. On success it restores every setting in the file: it fills the form, saves to storage, restores the backup schedule, and starts or stops automation to match automationRunning. If the file lists sites that aren’t in your current URL list, it names them and asks first, because every run adds those URLs back to your history and they show up as address-bar suggestions; saying no cancels the import. If the file would start automation that isn’t already running, it asks first; saying no imports everything else and leaves automation off. If automation is running and the file would make it run more often, it also asks; saying no keeps the current interval. When it starts automation, or automation was already running, the alarm is recreated with the imported interval. Older files without automationRunning or backupSchedule leave those as they are.
{
"app": "history-automator",
"formatVersion": 1,
"exportedAt": "2026-09-06T15:03:22.481Z",
"settings": {
"interval": 60,
"urlList": [
"https://www.google.com",
"https://www.youtube.com"
],
"automationRunning": true,
"backupSchedule": {
"enabled": true,
"everyDays": 3,
"keep": 3,
"folder": "History Automator Backups"
}
}
}
Import also accepts a bare { "interval": 60, "urlList": [...] } object, so a hand-written file works. interval must be a whole number of 1 or more; anything under 5 is raised to 5. urlList must be an array of at most 1,000 URLs, each at most 2,048 characters, and the file must be under 1 MB. automationRunning and backupSchedule are optional; in backupSchedule, missing or out-of-range values fall back to the defaults (every 7 days, keep 3) or the nearest allowed value.
The Scheduled Backup section saves the same file Export does, on its own, into a folder inside your downloads folder:
History Automator Backups/history-automator-backup-2026-09-06-143052.json
History Automator Backups, can be several levels deep (Backups/History Automator), and is created if it doesn’t exist. Browsers only let extensions save inside the downloads folder, so a location elsewhere on disk isn’t possible.Changes to these fields are saved as soon as you leave each one; they don’t need Save & Start.
Old backups are cleared only after a new one has finished saving. The count works in calendar days:
So with a keep of 3, backups on Monday (two), Wednesday, Thursday, Friday and Saturday leave you with Saturday’s plus Friday’s, Thursday’s and Wednesday’s; both of Monday’s go.
A backup holds every setting: the saved interval and URL list, whether automation was running ("automationRunning"), and the backup schedule itself ("backupSchedule"). Restore one with Import Settings as usual; that restores all of it, including starting or stopping automation. Backups use what was last saved, not unsaved edits in the form, and are skipped while the saved URL list is empty, so an empty setup never pushes out a good backup.
Cleanup counts backups in every folder, so after you change the backup folder, the ones in the old folder still count and are removed in turn. It only touches files the extension saved itself that are still listed in the browser’s download history: clearing download history leaves those older backups on disk for good, and files you move or rename are never deleted. Each backup shows up in the browser’s download list like any other download.
Deletion is total and irreversible.chrome.history.deleteAll() wipes the entire history database, not a date range. There is no undo and no confirmation on scheduled runs. Anything you wanted to keep is gone.
History only. Cookies, cache, downloads, autofill data, site data, and open tabs are untouched. This is not a general privacy wipe.
Chrome Sync propagates deletions. If history sync is on, clearing here can remove history from your other signed-in devices too.
Google account activity is separate. History stored server-side under Web & App Activity lives at myactivity.google.com and is unaffected by this extension.
Timestamps cluster. Every seeded URL is recorded with a visit time of the moment the run executed, so they all share essentially the same timestamp.
Alarms need Chrome running. Nothing fires while the browser is closed. Chrome runs overdue alarms shortly after the next startup.
Titles may be missing. URLs added through chrome.history.addUrl() appear without page titles until the page is actually visited.
Backups land in the downloads folder as download.json Another extension that renames downloads is overriding the backup’s name. The browser forgets the name an extension asks for whenever any extension renames downloads, so that extension has to put it back. Download Router does this; for others, turn them off or check their settings.
| File | Purpose |
|---|---|
manifest.json |
Manifest V3, module service worker |
background.js |
Service worker: the toolbar button, the automation alarm and run, scheduled backups, the Back Up Now message |
backup.js |
This plugin’s backup folder, file prefix and file contents, on globalThis.HistoryBackup. A plain script shared by the worker and the options page (tested in Node) |
options.html |
Options page, opened in a tab |
popup.js, popup.css |
Options page logic and styles (named from an earlier version where the UI was a popup) |
shared/backup.js |
Shared backup helpers and scheduler, on globalThis.SharedBackup. Do not edit here |
shared/sender.js |
Shared message-sender checks. Do not edit here |
shared/suite.js |
Link to the Plugin Suite Backup Manager, on globalThis.SuiteLink. Do not edit here |
shared/brand.js |
The “Made by infolific.com” footer on this plugin’s pages (logo, plugin page and hub links). Do not edit here |
shared/infolific.png, shared/infolific-24.png |
The infolific.com logo, for the footer and (24px) the top of this README |
icons/ |
Toolbar and extension icons |
test_backup.mjs |
Node tests: node test_backup.mjs |
screenshot.png |
The options page, for this README |
| Permission | Why |
|---|---|
history |
Delete history and add URLs back |
alarms |
Schedule the repeating run, and check hourly whether a backup is due |
storage |
Keep the interval, URL list and backup schedule |
downloads |
Save scheduled backups and remove old ones |
Manual export doesn’t use downloads. It builds a blob URL and clicks a generated link from the options page.
options.html (checked with shared/sender.js).http(s) URLs are ever written to history.shared/suite.js) answers only the manager’s fixed extension id. It can report the backup schedule and last backup, start a backup, and open the restore page with a backup file. It never writes settings itself, so a file it hands over goes through the same checks and confirmation as one picked on that page.
The service worker is event-driven and unloads when idle. Chrome wakes it when the alarm fires, so performAutomation() reads the URL list from chrome.storage.local on every run rather than holding it in memory. This also means edits to the saved list take effect on the next run without restarting the alarm.
chrome.action.onClicked opens the options page because the manifest declares no default_popup. Adding one would suppress that event.
Scheduled backups run from the service worker, which has no URL.createObjectURL, so the file is written through a data: URL with chrome.downloads.download().
The backup’s path is passed to chrome.downloads.download() and repeated as a filename= parameter in the data: URL. Once any extension listens to chrome.downloads.onDeterminingFilename, the browser forgets the requested filename and only the most recently installed listener’s suggestion counts, even if it suggests nothing. So this extension doesn’t listen there itself (that would cancel out other extensions’ routing), and a routing extension such as Download Router can read the path from the URL and suggest it back.
backup.js (with shared/backup.js) has tests for the schedule defaults, folder cleaning, when a backup is due, and retention:
node test_backup.mjs
2.7.0 — infolific.com branding: a “Made by infolific.com” footer on the options page, linking to this plugin’s page and the infolific.com hub for AI-created software (shared/brand.js); a small infolific.com badge on the icons; and the manifest’s homepage_url points to the plugin’s page, so the extensions page shows a Website link.
2.6.0 — Works with the new Plugin Suite Backup Manager, which shows this plugin’s backup schedule and last backup, can start a backup, and can hand a backup file to the restore page here.
Only the manager’s extension id is answered (shared/suite.js).
2.5.9 — Follows the plugin template: the Back Up Now message is checked with shared/sender.js and accepted only from the options page, and the manifest sets minimum_chrome_version and the toolbar icon sizes. README rewritten in the suite’s standard layout, with a screenshot.
2.5.8 — The service worker is now an ES module ("type": "module"), loading its helpers with import instead of importScripts(). No change in behaviour; alarms, settings and backups carry over.
2.5.7 — Scheduled backups run on the suite’s shared backup code (shared/backup.js). Backup files, and restoring old ones, are unchanged.
2.5.6 — manifest.json is plain JSON again (its comments are gone), so tools other than the browser can read it. No change in behaviour.

