[Bug - Edge Addons] Extension demo part 2 don't work anymore with the code
When clicking on Display nothing happens and an error is visible in manage extensions
"Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist."
Hello @MichelLaplane , could you please provide more info on this issue? Is this occurring for any specific extension? Are you referring to the sample extension demo file on the repository?
Hello @RanadhirMSFT thank you for your reply. It is only for the samples called "Create an extension tutorial, part 2" here:
https://learn.microsoft.com/en-us/microsoft-edge/extensions-chromium/getting-started/part2-content-scripts?tabs=v3
I try lot of things all yesterday with no success.
I use the "Load unpacked" feature to test and the message appears in extension errors after clicking on display button.
Thank you for your help
Thank you @MichelLaplane for clarifying this. We'll contact the right team responsible and get this fixed as soon as possible!
@MichelLaplane, the sample extension that you are trying has no issues. You saw the error because none of the extensions can make any changes to any of Microsoft Edge's internal pages like edge://extensions or edge://settings. To test the extension, try it on any website from the internet opened in a tab in Microsoft Edge and you'll see that the extension works as expected.