Price Tracker Chrome Extension Generator

Price trackers combine a content script (read the price from the page), storage (history), and alarms (periodic re-checks). This generator wires all three.

Edit the prompt — it's just a starting point.

What gets generated

  • JSON-LD first price detection, CSS-selector fallback
  • chrome.alarms background re-checks (service-worker safe)
  • Desktop notification on a price drop
  • Price history persisted in chrome.storage.local

Typical permissions

storagealarmsnotificationsscripting

Questions

Can a service worker run a timer?

No — MV3 service workers are terminated when idle. The generated extension uses chrome.alarms, which wakes the worker on schedule.

Deeper reading: Manifest V3 Service Workers: The Complete Mental Model

Other generators