Questions tagged [microsoft-edge-extension]

Extension development for Microsoft Edge browser.

This tag is dedicated to questions about extension development for the Microsoft Edge web browser.

Starting with build 14291 for the Windows 10 Insider Preview, a selection of extension is now available for Microsoft Edge. When fully released to mainstream builds of Windows 10, extensions will be available via the Windows Store.

The Microsoft Edge extension API is documented here.

Accessibility: https://learn.microsoft.com/en-us/microsoft-edge/accessibility

Adding and removing extensions for preview builds of Microsoft Edge: https://learn.microsoft.com/en-us/microsoft-edge/extensions/guides/adding-and-removing-extensions

Debugging extensions: https://learn.microsoft.com/en-us/microsoft-edge/extensions/guides/debugging-extensions

Microsoft Edge extension API roadmap: https://learn.microsoft.com/en-us/microsoft-edge/extensions/api-support/extension-api-roadmap

Internationalization: https://learn.microsoft.com/en-us/microsoft-edge/extensions/guides/internationalization

Microsoft browser extension policy: https://learn.microsoft.com/en-us/microsoft-edge/extensions/microsoft-browser-extension-policy

Supported APIs: https://learn.microsoft.com/en-us/microsoft-edge/extensions/api-support/supported-apis

Supported manifest keys: https://learn.microsoft.com/en-us/microsoft-edge/extensions/api-support/supported-manifest-keys

Troubleshooting: https://learn.microsoft.com/en-us/microsoft-edge/extensions/troubleshooting

Package: https://learn.microsoft.com/en-us/microsoft-edge/extensions/guides/packaging

252 questions
0
votes
1 answer

Edge extension can not get upload file name in onchange event?

In Edge extension I want to get all upload file name.Here is my code: document.addEventListener('click', (event) => { const element = event.srcElement; const elementName = element.localName; if (elementName === 'input') { if…
王张军
  • 11
  • 3
0
votes
1 answer

Adding event listener for bookmark related events

Is there any way I can listen to event when a bookmark is getting added to edge favorites? Looking at the documentation, it appears browser.bookmarks.onCreated is not supported yet in edge. Is there any workaround?
0
votes
1 answer

Edge throws "SCRIPT5007: Object expected"

This code is from background script and throws error in MS Edge (works fine in Chrome) when function is called: const zoom = () => { console.log('zoom function'); browser.tabs.getZoom(z => { //....... }); } zoom function…
Wolf War
  • 1,503
  • 1
  • 15
  • 28
0
votes
1 answer

Edge getattribute() not working, returning null

I am trying to create an extension for edge and I currently facing an issue with the getAttribute() function. It's not returning me the attributes of the element that I am looking for. This is how my code looks like on Edge with out…
0
votes
0 answers

How to package and upload an extension developed for Edge Browser?

I have been through the document and followed the "Menifold.js" Procedure. But after that also I am still getting some errors in my developer account while uploading the extension. Listing Some of the errors message Package acceptance validation…
0
votes
1 answer

Embed iframe created in a js file in current web page when clicked on IE edge extension

I am trying to create a IE edge extension where in I want to embed a iframe (created in javascript file) in current web page when clicked on extension icon. I know we need to make use of content scripts but unable to understand how to inject them in…
0
votes
1 answer

How to pin the popup in Microsoft Edge extensions

I want to create a popup and pin it similar to what the History/Favs button does. How would I do that? thanks
Jeff Saremi
  • 2,674
  • 3
  • 33
  • 57
0
votes
1 answer

Reuse ETW mechanism within mixed technologies

I work on developing an Extension for the EDGE browser. The Extension (UWP App) consists of 3 parts: The Extension itself. (JavaScript code) The UWP application that is for Native Messaging purposes. (UWP) The Desktop Bridge app that allows…
Andriy
  • 84
  • 1
  • 9
0
votes
1 answer

SignalR hubs not loading in Edge for extension

For clarification, this question is about the pre-Chromium based version of Edge. I am trying to convert a Chrome extension to an Edge extension and did so using the Microsoft Edge Extension Toolkit. The extension connects to a local SignalR hub…
0
votes
1 answer

How to include a dll used by the bridge component for an Edge extension with NativeMessaging?

I was able to attach a debugger to the process of the Win32 bridge component used by my AppService. This way I sawy that I'm getting module (dll) not found errors. The dll is included in the Win32 directory of the UWP application (next to Win32…
Pieter
  • 1,751
  • 3
  • 30
  • 65
0
votes
1 answer

Publish an Edge extension to store

I see this question on stackoverflow, but that seem it is very old (one year ago How to publish Edge extensions on the Windows Store?). I tried, but I just got error: Sorry, your account type is not supported AAD (Azure Active Directory) accounts…
Freelancer
  • 837
  • 6
  • 21
0
votes
1 answer

How to capture keyboard pressess in an Edge extension

I've been building a small Edge extension, just to see how it goes, I've done a few for Chrome in the past. However, according to the Edge API docs, there's no support for the MDN "commands" manifest key to capture key presses. What's the equivalent…
0
votes
1 answer

Microsoft edge shows the URL when new tab is opened - extension

I have made an extension for chrome, which opens a specific website when new tab is opened. However it works fine with chrome, but when the same extension (with changes in manifest to make it compatible with edge) is tested on microsoft edge, then…
0
votes
1 answer

browser.windows.create throws error on EDGE extension

I have written the following code in the background.js file of an EDGE Extension: browser.windows.create({"url": request.openUrlInEditor, "incognito": true}); It throws error saying 'incognito' property is not recognized/undefined. If I remove the …
0
votes
1 answer

Microsoft Edge Extension Development | My extension can't connect my uwp app

https://learn.microsoft.com/en-us/microsoft-edge/extensions/guides/native-messaging The link above I have read is about how to establish a connection between uwp app and Microsoft Edge. According to that link, I created my "AppService" and…
Faruk NANE
  • 41
  • 11