Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: ignore unexpected message #354

Merged
merged 2 commits into from
Feb 17, 2024
Merged

fix: ignore unexpected message #354

merged 2 commits into from
Feb 17, 2024

Conversation

ueokande
Copy link
Owner

Ignore unexpected message from window.postMessage() on the content script. The content script can receive messages from other than the add-on, the loaded page or other addons.

close #351

@ueokande ueokande marked this pull request as ready for review February 17, 2024 03:34
@ueokande ueokande merged commit ac302cd into master Feb 17, 2024
2 checks passed
@ueokande ueokande deleted the message-parse-error branch February 17, 2024 03:52
/**
* The window.postMessage() is used to identify a frame id of the <iframe>
* element through the background script. Only Firefox supports to get the
* frame id of the <iframe> elementa and the other browsers do not support.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

elementa

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extension fills dev console with console.warn
2 participants