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
0 answers

App Package (appx) does not install WebExtension to Edge

I implemented the example from Create and consume an app service and extended it by a WebExtension (it uses the AppServiceProvider for native messaging), which resides in a folder Extension within the AppServiceProvider project. But the created…
0
votes
0 answers

Communication from Extension to PWA in Edge

I am trying to send a URL from my Edge Extension to Windows Progressive Web App. I can't seem to find a way to establish this connection. It seems edge doesn't support sendMessage to other extensions or apps.
0
votes
0 answers

why MakeAppx generate 0 kb file?

I have developed cross browser extension and i want to deploy it on Microsoft store so refer https://learn.microsoft.com/en-us/microsoft-edge/extensions/getting-started#Publishing when i generate Appx file of my extension using MakeAppx pack /d…
0
votes
0 answers

JavaScript Drag-n-Drop shows an additional icon on Edge Browser

I am creating an application in C# that will support drag and drop on Edge browsers. From C# application on drag, I am customizing cursor icon, and I want to retain this cursor icon until drop happened on a browser. For drag and drop support on…
jai
  • 1
  • 1
0
votes
1 answer

Substitute for the lack of identity API?

I have a chrome extension which I would like to convert into an Edge extension. I attempted to use the conversion tool provided by Microsoft (here) but it doesn't work, at all. I load the extension and the program just hangs, without updating the UI…
wh-dev
  • 537
  • 5
  • 18
0
votes
0 answers

How to get the opened popup?

I'm developing an MS Edge extension (using JavaScript), which periodically refreshes current window using the following call: window.location.reload(1); When, however, the page I'm currently on was opened as a result of a previous POST request, the…
Artak
  • 2,819
  • 20
  • 31
0
votes
1 answer

JavaScript handling and event listeners

This is within the context of an edge extension but it will work with Standard JavaScript. The extension must; 1 Be able to recognise when a new tab is opened. 2 Replace the new tab with a designated URL rather than about:blank etc. 3 Have links…
user10510141
0
votes
1 answer

New Tab Extension for Edge Against Polcy

Is developing an Extension for Microsoft Edge, that customizes (or replaces) the new tab page against Microsoft's policy? This appears to be the case, but I am not sure if I am interpreting it correctly. I would like to develop a custom new tab, as…
0
votes
2 answers

How do you determine identity in a Microsoft Edge extension?

In a Chrome extension a developer is able to determine user identity using the following: chrome.identity.getProfileUserInfo(function callback) Microsoft Edge does not seem to have the same functionality. Is anyone aware of a method for determining…
OrangeFrog
  • 285
  • 4
  • 12
0
votes
1 answer

Converting Chrome Extension to Edge Extension, Permissions issue

I have a chrome extension I have made and I want to convert it to Edge using the Microsoft Edge Extension Converter, everything works fine except for the popups tabs and cookies permissions "content_scripts": [ { "matches": [ …
0
votes
2 answers

Can I create a browser extension that prevents download of specific file types and forwards user to a link?

I want to create an extension that prevents Office documents download and instead opens them in Office Online. Do browsers (preferably Chrome and Edge) have such API and what code do I need to write to implement my idea?
0
votes
1 answer

Edge Extension Local Storage

We are converting an extension from Chrome to Edge and the local storage is not behaving as expected. In the extension we have an options page defined in the manifest as so: "options_ui": { "page": "options.html" }, After converting to Edge…
user351711
  • 3,171
  • 5
  • 39
  • 74
0
votes
1 answer

How to resolve an identification issue when publishing a Microsoft Edge extension?

I have made appx file, i have tested on Windows App Certification Kit Toolkit and also installing extension in windows 10 running properly, but when I publish the extension to the Store, it gives me this error: "App Policies: 10.1.1…
0
votes
2 answers

How to share Network tab of chrome to different users, realtime?

Looking forward to a free or commercial solution: During a web page presentation, QA, back-end and front-end developers need to view network traffic, while scenario is being played in browser. With a motto to identify problematic server (Http Api)…
Abhijeet
  • 13,562
  • 26
  • 94
  • 175
0
votes
1 answer

Detect Edge light/dark theme change

Is there a way for a web page to detect when the theme in Microsoft Edge changes (Light/Dark)? For example, if the application is running in high contrast I can use the -ms-hight-contrast to apply different CSS. For Edge Light/Dark theme, is there a…
Amir Saad
  • 31
  • 3