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
1
vote
1 answer

Don't show gui after installation of Edge extension

After the installation of my uwp app through a package (i created a package but haven't published it to store yet) the installation window have a 'Launch' button, which launches GUI. But my app is an edge extension which uses background task and…
1
vote
1 answer

Microsoft Edge extension context menu not appearing

I'm trying to create my first Edge extension after being forced to use the browser for a while and finding that I actually quite like it. My extension just shows a new context menu entry on the page. The extension loads in Edge and appears in the…
1
vote
1 answer

Edge Extension Toolkit and missing extension button

I have converted my Chrome extension to Edge using the Converter Toolkit. The extension loads and alters the page correctly in Edge, however the Page Action button is not available in the toolbar. I've added the 20px image as others have pointed…
steve
  • 1,786
  • 1
  • 15
  • 29
1
vote
1 answer

Microsoft Edge Extension: will runtime.onInstalled fire when loading unpacked extensions?

I have a more complex call happening within the actual event but I cannot even get a simple alert to work. I'm testing the following: browser.runtime.onInstalled.addListener(function (details) { alert("hi"); });
moe
  • 51
  • 3
1
vote
1 answer

Edge extendsion chrome.storage.local 1MB limit

Porting an existing extension from chrome to edge and I'm having issues with the 1mb limit on chrome.storage.local. I used the function in this topic String length in bytes in JavaScript to find he size of the string and found if the json string is…
Brian
  • 307
  • 2
  • 15
1
vote
0 answers

Can I use a listener style filter with an "if" statement

I'm try to take a chrome/firefox extension and run it on Edge. The chrome extension creates a listener when a url is called. chrome.webRequest.onBeforeRequest.addListener(onBeforeRequest, {'urls': urls, 'types': ['main_frame']}, ['blocking',…
1
vote
1 answer

Edge Extension browser.runtime.sendmessage()

Trying to convert an extension from chrome to edge and I'm having an issue with browser.runtime.sendmessage() with a listener. To simplify things, I created a simple hello world extension. This new extension works in chrome but not edge. Anybody…
Brian
  • 307
  • 2
  • 15
1
vote
1 answer

Content script doesn't work in Edge extension

The extension is supposed to hide the video player of Netflix movie, but it doesn't have any effect after execution. The code for var hidePlayer can successfully hide the video player if it's executed in f12…
Jason Geng
  • 85
  • 1
  • 11
1
vote
1 answer

Microsoft Edge Extensions - Can we submit them? Is there an update page?

Can I submit my extension to the Windows store? If not, how will I know when Edge has opened this capability for all developers? Is there some update page or Twitter account or something (anything!) that I am missing!? I just noticed that there are…
user984003
  • 28,050
  • 64
  • 189
  • 285
1
vote
1 answer

Return all cookies in edge browser using chrome.cookies

Is it possible to get all cookies in Microsoft edge browser using chrome.cookies in edge browser extension. In webextension chrome browser extension will return all cookies when we call getAll() without a cookie url. But, this is not present in Edge…
Vickmaniac
  • 165
  • 9
1
vote
1 answer

Microsoft Edge WebNavigation redirect

I'm working with Microsoft Edge extension. I would to redirect users if they navigate in a specific url. In my background.js script I have this: browser.webNavigation.onBeforeNavigate.addListener( function(details) { …
1
vote
3 answers

Access localhost via Microsoft Edge extension background page

Recently we migrated a Chrome extension to Microsoft Edge. For Edge hasn't implemented native messaging, so we want to communicate with native app by websocket via Edge extension background page. After testing, we found that, in the background page…
BurningFish
  • 157
  • 1
  • 9
1
vote
1 answer

Microsoft Edge Extension tab content

I am exploring a bit on Microsoft Edge extension development. Basically I am trying to read HTML content of a tab. Below is code snippet from my solution. My manifest.json looks likes below { "name" : "HTML Reader", "version" : "1.0.0.0", …
Sandy
  • 11,332
  • 27
  • 76
  • 122
1
vote
0 answers

Drag&Drop from Edge extension

We are trying to develop an Edge extension, and the main goal of the extension is to drag and drop some HTML elements like images. Seems imposible to drop something outside of extension container (appear a restriction icon on element). To be more…
1
vote
1 answer

Is there a way Edge Extension can talk to local process /Native Proxy

Is there a mechanism in Edge Browser which can allow Edge Extension to communicate with local Process or a native proxy. I looked at Edge API roadmap but could not find anything relevant, link…
User123456
  • 179
  • 1
  • 5
  • 14