MicrosoftEdge-Extensions icon indicating copy to clipboard operation
MicrosoftEdge-Extensions copied to clipboard

[Bug - Edge Addons] Extension demo part 2 don't work anymore with the code

Open MichelLaplane opened this issue 1 year ago • 4 comments

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."

MichelLaplane avatar Jun 05 '24 23:06 MichelLaplane

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?

RanadhirMSFT avatar Jun 06 '24 08:06 RanadhirMSFT

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. 2024-06-06_10-23-32 2024-06-06_10-25-37 Thank you for your help

MichelLaplane avatar Jun 06 '24 08:06 MichelLaplane

Thank you @MichelLaplane for clarifying this. We'll contact the right team responsible and get this fixed as soon as possible!

RanadhirMSFT avatar Jun 06 '24 08:06 RanadhirMSFT

@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.

utkpatdev avatar Aug 29 '24 20:08 utkpatdev