Tech
Shipping a Chrome Extension That Works Across Sites You Do Not Control
Building a Chrome extension that saves items from arbitrary third-party sites means every site is a hostile, unstable environment. Here is what actually broke, and what held.
Manifest V3 changes the shape of everything
The persistent background page is gone. Service workers terminate β aggressively, after roughly 30 seconds of inactivity β and any in-memory state dies with them.
Anything that must survive goes into chrome.storage :
// β dies with the worker
let c...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to