Chrome extension: How to remove orphaned script after chrom extension update
问题 I have a chrome extension with a popup page which passes a boolean variable to my content page via simple one-time requests. The content page would then do some action based on the status of the boolean variable passed from the popup page. This was working perfectly until I accidentally removed the extension (still in developer mode, the extension is unpacked) and had to re-load it. This caused an extension context invalidated error to appear in the popup inspection console and the webpage