Bug fixes:
- Fix localStorage sync to incognito tabs (freshItems variable was never reassigned)
- Fix overly loose domain matching —
foo.co.ukno longer matchesbar.co.uk
Reliability:
- Replace
setTimeoutwithchrome.alarmsfor MV3 service worker compatibility - Persist pending cookie domains to
storage.local, preventing data loss on worker suspension - Fix race condition in batch processing where concurrent cookie changes could be dropped
Cleanup:
- Parallelize cache initialization
- Remove verbose debug logging
- Deduplicate domain matching logic