microsoft-edge-extension

How to run Native Messaging example on Microsoft Edge?

删除回忆录丶 提交于 2019-12-06 14:34:18
I want to run SecureInput example but after I built and deployed NativeMessagingInProcess project, Extension loaded on Edge but secureinput.html file don't load content.js file. And, I checked on regedit, nothing isn't added. Did I do anything wrong? This's very different from Chrome and Firefox Native messaging extension. Have you hosted secureinput.html in a web server? Have you run it on Windows 10 insider preview build? According to Microsoft Edge extension API roadmap , Native Messaging APIs are supported only on build 15002 and above version. I guess Native messaging works with using

Error 0x2efd in Edge Extension HTTP Request

南笙酒味 提交于 2019-12-06 10:09:01
问题 I'm attempting to port a Chrome extension to Edge. The Chrome extension works fine, and all HTTP requests are working as expected. When these same requests fire in the port, I get this error: XMLHttpRequest: Network Error 0x2efd, Could not complete the operation due to error 00002efd. This issue seems to pop up for a lot of Microsoft stuff, including Windows Phone. Maybe there is a similar answer to my issue for this extension, but I'm permitting ALL URLs in my manifest... This is the request

Can't get Edge to Return a Promise in my WebExtension

二次信任 提交于 2019-12-06 08:10:59
I am trying to create a new tab using browser.tabs.create() from my background.js WebExtension as shown here: createTab: function () { var newTab = browser.tabs.create({ url: someUrl }); newTab.then(onCreated, onError); } The new tab creates in the browser , but when the last line is reached, an error is thrown: SCRIPT5007: Unable to get property 'then' of undefined or null reference The Locals window shows newTab is undefined . What am I doing wrong here? I thought that .create() would immediately return a Promise . I know create() is an asynchronous function - but my calling function doesn't

How to port a Chrome extension to another Web Browsers [closed]

有些话、适合烂在心里 提交于 2019-12-06 06:47:53
Closed . This question needs to be more focused . It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post . Closed 2 years ago . I wanted to know the best way to bring a Chrome extension on another browser, use Crossbrowser , re-coding is not an option as its very large. the best way to port a chrome extension is to look into WebExtension: https://wiki.mozilla.org/WebExtensions https://developer.mozilla.org/en-US/Add-ons/WebExtensions Firefox already is on its way to support it: https://blog.mozilla.org

Angular expression evaluates in Chrome extension but not in Edge extension

南楼画角 提交于 2019-12-05 01:42:23
I have a simple browser extension, using Angular (v1.6.3), but the Angular expression in the pop-up window of the browser extension is failing to evaluate in Edge, but it is in Chrome. The Angular expression is simply <div>{{2+2}}</div> . When I browse to a relevant website (as configured in the manifest file , namely http://marketplace.visualstudio.com , https://marketplace.visualstudio.com or http://www.bbc.com , and click the extension button, Chrome evaluates the html output to "4", but Edge evaluates the html output to "{{2+2}}". Chrome example Edge example I believe the html and angular

How can I install a Microsoft Edge extension without user interaction?

一曲冷凌霜 提交于 2019-12-05 01:25:00
问题 I'm currently working on a Microsoft Edge extension which will be deployed in an enterprise environment. The Edge extension has been currently installed manually (and reloaded at each browser restart since it's from an unknown source). For Internet Explorer extensions, the DLL can be registered on the system with RegAsm and a Registry tweak allows loading all add-ons (the IgnoreFrameApprovalCheck key, see this link) without any user prompt. Is there a similar way of adding Edge extensions

Edge: In-Process native extension and Windows.System.Launcher.LaunchFileAsync

我的梦境 提交于 2019-12-04 22:58:23
I have developed an edge browser extension (native messaging) using the in-process mechanism as described here (through an activation of OnBackgroundActivated ). Within OnBackgroundActivated , or to be more specific in OnAppServiceRequestReceived of the established app service connection, I am attempting to call Windows.System.Launcher.LaunchFileAsync(IStorageFile) . This doesn't appear to happen on the UI-Thread (although it does work in debug mode with a debugger attached). The problem that I am facing is, that the application is headless, and therefore there is no CoreWindow

Error 0x2efd in Edge Extension HTTP Request

房东的猫 提交于 2019-12-04 16:43:23
I'm attempting to port a Chrome extension to Edge. The Chrome extension works fine, and all HTTP requests are working as expected. When these same requests fire in the port, I get this error: XMLHttpRequest: Network Error 0x2efd, Could not complete the operation due to error 00002efd. This issue seems to pop up for a lot of Microsoft stuff, including Windows Phone . Maybe there is a similar answer to my issue for this extension, but I'm permitting ALL URLs in my manifest... This is the request: $http.get(url) .then(function () { }) .catch(function () { var args = arguments; }); I've also tried

How can I install a Microsoft Edge extension without user interaction?

笑着哭i 提交于 2019-12-03 15:42:40
I'm currently working on a Microsoft Edge extension which will be deployed in an enterprise environment. The Edge extension has been currently installed manually (and reloaded at each browser restart since it's from an unknown source). For Internet Explorer extensions, the DLL can be registered on the system with RegAsm and a Registry tweak allows loading all add-ons (the IgnoreFrameApprovalCheck key, see this link ) without any user prompt. Is there a similar way of adding Edge extensions automatically to the browser with no user interaction? Thank you! At least until now (7/29/2016),

How to publish Edge extensions on the Windows Store?

久未见 提交于 2019-11-30 10:40:13
问题 Since the Windows 10 Anniversary Update I started developing extensions for Edge. I'd like to publish some of them on the Windows Store however I don't know how. I'm currently sideloading the extension. How do you package it and submit it? 回答1: Updated (2017-07-11): Microsoft rolled out the next stage: It is now possible to submit an extension for review. Updated (2016-12-19): Microsoft Edge has published the packaging documentation, and also mentioned the following: Submitting a Microsoft