-
Notifications
You must be signed in to change notification settings - Fork 1.8k
message event sent when devtools are opened. #812
Comments
DevTools backend and content scripts talk to each other via Maybe you could use a similar approach in your application/extension to ignore messages from other extensions? I'm going to close this issue since it doesn't seem very actionable. 😄 |
@bvaughn thanks.
|
I thought I did elaborate above 😄 I was suggesting you could do a similar thing as React DevTools does: tag your messages with some unique identifier and then filter out any messages not containing your unique identifier (a whitelist). |
@bvaughn nvm, yes you did elaborate it above. thanks for doing it again. |
No worries 🤣 I thought maybe my explanation just didn't make sense. |
Hi,
I have setup a message event handler that parses the data sent via message event in my app. Whenever I open react devtools it fires many message events whose source is sometimes
Window
and it looks like -Right now I am blocking these message event by doing this -
I wanted to know why these message event are being sent and what it is the best way to block these event. I get these message events in both firefox and chrome.
Thanks.
The text was updated successfully, but these errors were encountered: