runtime.onMessageExternal

Use this event to listen for messages from other extensions or web pages.

Read More at MDN Docs

Safe to Use

runtime.onMessageExternal is not safe to use.

It’s supported by 34% of global browsers.

Browsers

ChromeMar 26, 2013v26.0.0
26%100%
100% of Chrome users are running a supported version.
SafariUnsupported
Safari does not support this feature.
EdgeJan 15, 2020v79.0.0
5%100%
There are no users of Edge running a supported version.
FirefoxJun 13, 2017v54.0.0
2%98%
There are no users of Firefox running a supported version.

Version Breakdown

 
Agent
Support
Adoption
Chrome
Mar 26, 2013 v26.0.0
26%100%
100% of Chrome users are running a supported version.
Mar 26, 2013 – Latest
v26.0.0+
26%100%

Full Support

Edge
Jan 15, 2020 v79.0.0
5%100%
There are no users of Edge running a supported version.
Jan 15, 2020 – Latest
v79.0.0+
5%100%

Full Support

Firefox
Jun 13, 2017 v54.0.0
2%98%
There are no users of Firefox running a supported version.
Jun 13, 2017 – Latest
v54.0.0+
2%98%

Full Support

Firefox for Android
Jun 13, 2017 v54.0.0
Firefox for Android supports this feature.
Jun 13, 2017 – Latest
v54.0.0+

Full Support

Opera
Jul 2, 2013 v15.0.0
1%100%
100% of Opera users are running a supported version.
Jul 2, 2013 – Latest
v15.0.0+
1%100%

Full Support

Safari
Unsupported
Safari does not support this feature.
Mar 15, 2022 – Latest
v15.4.0+
5%83%

Partial Support

Since Safari 15.4, this event is also fired in response to a message from webpages allowed in externally_connectable.

Sep 16, 2020 – Latest
v14.0.0+
5%93%

Partial Support

This event is only fired in response to a message from an extension's containing app, not webpages nor other extensions.

Safari on iOS
Unsupported
Safari on iOS does not support this feature.
Mar 15, 2022 – Latest
v15.4.0+
15%91%

Partial Support

Since Safari 15.4, this event is also fired in response to a message from webpages allowed in externally_connectable.

Sep 20, 2021 – Latest
v15.0.0+
15%93%

Partial Support

This event is only fired in response to a message from an extension's containing app, not webpages nor other extensions.

Contribute