Home (All Topics) → Technology → Software → AI-Created Software
Page Monitor watches a region of a web page you pick, such as a price, a stock notice or a table, and tells you when it actually changes: not when an ad rotates or a view counter ticks over. Checks run on a schedule inside your browser, so they work on pages you’re signed in to. It works in Vivaldi, Chrome, Edge, Brave and other Chromium browsers (116 or later).

vivaldi://extensions (or chrome://extensions) and turn on Developer mode.After changing a file in src/background/ or src/lib/, press the reload arrow on the extension’s card.
Changes to the popup or management page take effect the next time you open them.
Open a page you care about, click the Page Monitor button, then Watch a region of this page. The browser asks for permission to read that site, then the picker takes over the page.
Reopen the popup afterwards to name the watch and set how often it runs.
To watch a whole page without picking a region, use Add by URL on the management page (right-click the icon and choose Options, or Manage in the popup).
Nothing runs while the browser is closed. A check that fell due while it was shut runs at the next start. If that matters, a server-side watcher such as changedetection.io is the better tool.
↑ widens to the parent, ↓ narrows into a child, ← → move between siblings.Backspace undoes the last move, however far you’ve wandered, and Home returns to where you clicked.Enter confirms, Esc cancels.Alt (Option on a Mac) to click the page itself instead, for example to reopen a modal.A click usually lands on a small nested element when you meant the card around it, so the arrow keys are the part that matters. The picker swallows ordinary clicks so choosing a region can’t navigate away. The bar can be moved to the top of the window with the ⇅ button.
Page Monitor stores up to six ranked selectors for each region (a stable id, a test hook such as data-testid, an aria-label, stable classes, an anchored path, then a full path) and tries them in order, so a small redesign doesn’t break the watch. It also stores a fingerprint of the region’s words. If a selector still matches but the words no longer overlap, the watch reports Region may have moved instead of a bogus change.
A watch can read several regions of the same page, so a product’s price and stock notice cost one page load. Regions are joined under their labels ([Price], [Stock]) into one text and one diff, and a region that stops resolving names itself. Add, rename, reselect and remove regions from the watch’s own page.
Each watch has one load setting, cheapest first:
| Mode | What it does |
|---|---|
| Automatically (default) | A background request, moving to a hidden tab if the region isn’t in the raw HTML. Remembers which worked, and the watch list says which one it settled on |
| Background request, no page | Fetches the HTML. Can’t see anything drawn by JavaScript |
| Hidden tab | A background tab, loaded plainly |
| Hidden tab, told it’s on screen | As above, but the page is told it’s visible and gets animation frames, for sites that won’t render in the background |
| Foreground tab | A real tab in your window, switched to and back. Takes focus for the check |
| Separate window | An unfocused window, maximized by default. Never takes focus |
Automatically only ever chooses between the two invisible options; it never puts a page on screen without being asked. Watches with recorded steps and hash-routed addresses (#/orders/5) always use a tab.
Use a tab for anything signed in, location-specific or locale-specific. Cookie sessions work in background requests, but tokens kept in the page’s localStorage, headers set by its JavaScript and the Geolocation API only work in a tab. Background requests send your browser’s own Accept-Language and If-None-Match / If-Modified-Since, so an unchanged page costs a 304.
Each watch chooses what to compare:
disabled, checked and aria-expanded, and state-like classes (out-of-stock, is-*), so a Buy button going disabled shows as Add to cart [button disabled].alt, aria-label, title and SVG names, for pages that say things with pictures: swatches, ratings, availability ticks.Class names that carry meaning lists classes a site uses for state (no-stock, oos). State mode counts them, the rendered view outlines them, and a change reads no-stock appeared. Only plain class names are accepted.
Also per watch: ignore patterns (regular expressions removed before comparing, for counters and timestamps), a minimum change size in characters, and whether link and image addresses count. Changes show as a line diff with the changed words highlighted. Changing any of these settings takes a fresh baseline instead of reporting the difference as a change.
Some regions only appear after a choice: a size picked, a panel expanded, a tab opened. Press Need to click first? in the picker (or Record steps on an existing watch), use the page normally, then press Done and pick the region. Every step replays before every check.
Each row shows how the last run ended, when, how the page was loaded, the schedule, the next run and the first line of the text it’s holding (Show text opens all of it). Watches can be tagged, searched, sorted and filtered. Duplicate on a watch’s page copies its settings, not its history.
The Changes page lists every change across watches, with an Open page link and the before and after side by side. Each watch’s page also keeps a run log of every check (capped at 50 by default), so a watch that stopped running can be told from one that found nothing. Runs started by hand are marked.
Retry-After on 429 and 503 is honored.403 or 429 on a background request is reported as Refused by the site; switch that watch to a tab.
Export and Import on the settings page save and load every global setting and every watch’s settings, but not snapshots, history or site access. Imported watches start fresh and need access to their site allowed again; watches with recorded steps come in paused, and the import message lists their steps so you can check them first.
The Scheduled backup card saves the same file into a folder inside Downloads every N days, as page-monitor-backup-<date>-<time>.json. The schedule is checked hourly. The latest backup is always kept; each earlier day keeps only its newest backup, for as many days as Earlier backups to keep allows. Only files Page Monitor saved are deleted. Back up now makes one at once.
Restore puts everything back the way a backup recorded it, after showing what the file holds: watches not in the backup are deleted, watches still here get the backup’s settings and keep their history, and new ones start fresh. Every file goes through the same checks as an import.
If backups land as download.json, another extension that renames downloads is overriding the name. Download Router puts suite backups back; for others, check their settings.
| File | Purpose |
|---|---|
manifest.json |
Manifest V3, module service worker |
src/background/service-worker.js |
Service worker: lifecycle and the message router |
src/background/scheduler.js |
Tick alarm and finding due watches |
src/background/checker.js |
Loading pages, comparing, notifying |
src/background/backup.js |
Scheduled backups, run by shared/backup.js’s scheduler |
src/lib/extractor.js |
Selector building and resolving, text extraction. A plain script, run in the picker, the offscreen document and check tabs so all three read alike |
src/lib/storage.js |
Watch settings, snapshots, history, export, import and restore (cleanMonitor, cleanSteps) |
src/lib/url-utils.js |
Canonical addresses, fragments, hash-route detection |
src/lib/actions.js |
Replaying recorded steps in a tab |
src/lib/wake.js |
Makes a hidden tab render like a visible one |
src/lib/diff.js |
Line and word diff, change size, hashing |
src/lib/signals.js |
Class names that carry meaning |
src/lib/render.js, render-view.js |
The sandboxed frame for rendered HTML and the Markup / Rendered switch |
src/lib/list-view.js, modes.js, schedule.js |
List sorts and filters, mode labels, schedule arithmetic |
src/lib/backup.js |
Backup prefix, folder and file shape (binds shared/backup.js) |
src/offscreen/ |
Offscreen document that parses fetched HTML with the browser’s own DOMParser |
src/content/ |
Picker, region highlight, step recorder and rehearsal overlays, and the shield that keeps overlay clicks from the page |
src/popup/, src/options/ |
Toolbar popup; management, changes and settings page |
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 |
test/ |
Node tests (see Tests) |
icons/ |
Icons, and build-icons.py, which draws them (without the infolific.com badge: run tools/brand/badge-icons.py on the PNGs afterwards) |
screenshot.png |
The screenshot above |
| Permission | Why |
|---|---|
storage, unlimitedStorage |
Watch settings (synced), snapshots, history and run logs (local) |
alarms |
The tick that runs due checks, and the hourly backup check |
scripting, activeTab |
Running the picker on the page you clicked from, and reading regions in check tabs |
notifications |
Telling you about a change |
offscreen |
Parsing fetched HTML, which a service worker can’t do |
downloads |
Saving scheduled backups and removing old ones |
| Optional host access | Asked for one site at a time when you add a watch, so checks can read it. Revoking it marks that site’s watches as needing permission |
shared/sender.js.cleanMonitor: addresses must be http/https, recorded steps must be ones the recorder could have made, and unknown fields are dropped. Watches with new steps come in paused.sandbox and default-src 'none', so it runs nothing and fetches nothing. Fetched pages have their on* attributes renamed before the offscreen document parses them, so no inline handler is ever created. Links are built only from http/https addresses. Page text is written with textContent.isTrusted), and password and payment fields are never recorded.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.
cd test
npm install # jsdom, for the integration suite; don't commit node_modules
node run-backup.mjs # backup schedule, retention and file format
node run-integration.mjs # checkMonitor against a mocked browser API and network, with a real DOMParser
2.7.0 — infolific.com branding: a “Made by infolific.com” footer on the options and popup pages, 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.8 — No more “Executing inline event handler violates … Content Security Policy” errors from offscreen.html. Fetched pages have their on* attributes renamed before the offscreen document parses them, so the parser never creates an inline handler. HTML-mode watches read the same as before.
2.5.7 — Follows the plugin template: the worker checks message senders with shared/sender.js, and content-script messages are accepted only from a tab’s top frame. The README uses the template’s sections, with a screenshot.
2.5.6 — Scheduled backups run on the suite’s shared backup code (shared/backup.js). Backup files, and restoring old ones, are unchanged.

