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

`chrome.browserAction.setIcon()` Is not not persistent after tab reload?

When extension toolbar icon set via chrome.pageAction.setIcon() the icon reverted to default after tab reload (F5) In the documentation it says: If you want to create an icon that isn't always active, use a page action instead of a browser…
vanowm
  • 9,466
  • 2
  • 21
  • 37
1
vote
1 answer

Tab information not available within chrome.tabs.onActivated event callback

When I'm trying get tab information from within chrome.tabs.onActivated event callback when a tab switched via mouse click I get undefined result and error message Unchecked runtime.lastError: Tabs cannot be edited right now (user may be dragging a…
vanowm
  • 9,466
  • 2
  • 21
  • 37
1
vote
2 answers

MS Edge vertical tabs: scroll to active tab?

In MS Edge with a lot of vertical tabs when a newly created tab moved to near the top, it scrolls the tabs to the bottom, making active (new) tab out of sight. Is there a way prevent tabs from scrolling or at least scroll to the active…
vanowm
  • 9,466
  • 2
  • 21
  • 37
1
vote
1 answer

Extension on Edge on IE compatibility mode

I'm working on a browser extension, initially for Chromium browsers. The extension injects css and js files in the page, and modify content. We have tried to install it on Edge. It's work fine in most of cases, but doesn't work when a web page is in…
1
vote
1 answer

Firefox Extension FavIconUrl is super long. Any way to shrink it?

I am working on a cross-browser extension and use the "tabs API" (https://developer.chrome.com/docs/extensions/reference/tabs/) to store relevant information about each tab. One of these fields is the tab's favIconUrl. Problem In Chrome & Microsoft…
1
vote
3 answers

Uploading browser extension to Microsoft Partner Centre

I currently have continuous integration that updates an extension on Chrome Web Store and Mozilla Add On Market, however I am now trying to make a script that uploads to the Microsoft Partner Centre. Does anyone know how to upload via API to this…
user293895
  • 1,465
  • 3
  • 22
  • 39
1
vote
1 answer

chrome.topSites returning undefined in Microsoft Edge (Chromium)

I am trying to get the most visited sites in my chrome extension. I have been through Chrome Extension Developer Documentation. When I trying to get the property topSites from the chrome object, it returning undefined. But as per documentation it…
1
vote
1 answer

Edge extension with manifest_version:2 not works

I wanted to start to make an edge extension. I downloaded the official samples from github. Okaay.... I couldn't add it to edge because I got error: "The 'manifest_version' key must be present and set to 2 (without quotes)." I added it. But the…
1
vote
1 answer

My chrome extension is not working on Edge

I have a piece of code which works fine on chrome. I did the following step mentioned here. I'm able to load it properly, but the code doesn't run properly. In the background console only the url gets printed, no other consoles or alerts…
1
vote
1 answer

Symbol Server for Microsoft Edge Chromium

apologies if this is the wrong place or format for this question, but I have seen similar questions in the forum. Please point me to another location or formatting and I'd be happy to move my post to accommodate. My issue is, while trying to…
1
vote
1 answer

Ajax Call to Web API works in Chrome but not in Edge

I have created an Edge extension that currently makes an Ajax call to a web API i have also developed in order to request data. Currently after hours of testing, I know the Ajax call works correctly and returns the relevant data. My issue is the…
user12669123
1
vote
1 answer

Injecting data into HTML tag

I'm developing an extension for Microsoft Edge and have learned from the docs here https://learn.microsoft.com/en-us/microsoft-edge/extensions/guides/creating-an-extension#writing-a-more-complex-extension that I can use Javascript for data…
mr_incredible
  • 837
  • 2
  • 8
  • 21
1
vote
1 answer

Microsoft edge extension to get the list of all installed extensions

I am creating edge browser extension. Basically I want to disable the other installed extension, I have a code which is working on chrome extension: chrome.management.getAll(function (extensionInfo) { idExtensionEnabled = []; for (let i in…
dev
  • 49
  • 1
  • 6
1
vote
0 answers

Edge native messaging - Can more responses be sent to one request?

Using native messaging extension for Edge, is it possible to send more than one response to a single request? Besides other features my extension is intended to support file uploading, but I need to deal with the native message size limitation. Due…
kibitzerCZ
  • 487
  • 8
  • 20
1
vote
2 answers

Microsoft Edge Extension not showing icon in context menu when browser action not visible in address bar

I created a small extension for Microsoft Edge. It offers a right-click context menu item on certain elements. However, I noticed that the extension icon doesn't show up in the context menu if I don't have the browser action icon in the address bar.…
Gilrich
  • 305
  • 3
  • 13