Steps to reproduce
I’m developing an extension that should inject my html on a page (content script). I add buttons to the DOM and try to hang on them the click handler, but neither of which does not work. Tried onclick and addEventListener.
Also during the execution of the content script object nodes look weird (see attachment). They are not many properties (including onclick).
Comments and activity
Changed Title from “Not wording event for injected html” to “Not wording events for injected content scripts”
- Microsoft Edge Team
Changed Status to “Not reproducible”
Thank you for providing this information about the issue. This is supported; you can refer to basic documentation of edge extensions and samples at https://docs.microsoft.com/en-us/microsoft-edge/extensions/guides/creating-an-extension
The MS Edge Team