2 ms·
I'd be surprised if sites had permission to read a chrome-extension:// URL. That'd be a sizable privacy leak.
by SquareWheel 7y ago
I'd be surprised if sites had permission to read a chrome-extension:// URL. That'd be a sizable privacy leak.
- mmcwilliams 7y agoI'm not sure about the chrome-extension protocol, but this API still seems to be present: https://developer.chrome.com/extensions/runtime#method-sendMessage https://developer.chrome.com/extensions/runtime#method-sendM...
- penagwin 7y agoI just tested in chrome 77, and I could only do `chrome.runtime.sendMessage("clngdbkpkpeebahjckkjfobafhncgmne", {},{},console.log)` from within the Stylus extension page, not from an external page like hacker news.