# How to and do i need to ensure message from my extension?

**URL:** <https://discourse.mozilla.org/t/how-to-and-do-i-need-to-ensure-message-from-my-extension/106294>\
**Category:** Development\
**Created:** [October 6, 2022, 11:10pm UTC](https://discourse.mozilla.org/t/how-to-and-do-i-need-to-ensure-message-from-my-extension/106294 "2022-10-06T23:10:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![juraj.masiar](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/juraj.masiar/32/30587_2.png) [@juraj.masiar](https://discourse.mozilla.org/u/juraj.masiar)\
**Post date:** [October 7, 2022, 6:55am UTC](https://discourse.mozilla.org/t/how-to-and-do-i-need-to-ensure-message-from-my-extension/106294/2 "2022-10-07T06:55:32Z")

</div>

I don’t think other extensions can send you messages to that listener.  
For that there is this API:

> **[runtime.onMessageExternal - Mozilla | MDN](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessageExternal)**
>
> Use this event to listen for messages from other extensions or web pages.

---

_[View the full topic](https://discourse.mozilla.org/t/how-to-and-do-i-need-to-ensure-message-from-my-extension/106294)._
