Firefox does not support document.location.ancestorOrigins and document.referrer is not a reliable variable. Therefore checking parent origin can be erroneous in some cases. With this PR, the addon listens to messages from the parent frame to respond back.
Firefox does not support
document.location.ancestorOrigins
anddocument.referrer
is not a reliable variable. Therefore checking parent origin can be erroneous in some cases. With this PR, the addon listens to messages from the parent frame to respond back.