runtime.onMessageExternal
Use this event to listen for messages from other extensions or web pages.
Read More at MDN DocsSafe to Use
runtime.onMessageExternal
is not safe to use.
It’s supported by 34% of global browsers.
Browsers
Version Breakdown
Full Support
Full Support
Full Support
Full Support
Full Support
Partial Support
Since Safari 15.4, this event is also fired in response to a message from webpages allowed in externally_connectable
.
Partial Support
This event is only fired in response to a message from an extension's containing app, not webpages nor other extensions.
Partial Support
Since Safari 15.4, this event is also fired in response to a message from webpages allowed in externally_connectable
.
Partial Support
This event is only fired in response to a message from an extension's containing app, not webpages nor other extensions.