microsoft-edge

Angular 2 not working with MS Edge

久未见 提交于 2019-12-29 07:03:28
问题 I get script errors when I'm loading my app in MS Edge. However Firefox, Chrome, IE11 all work, except for Edge... Here's a screenshot of the console: See here: HTML1300: Navigation occurred. localhost:23752 SCRIPT65535: Argument not optional zone.js (556,13) SCRIPT257: Could not complete the operation due to error 80020101. localhost:23752 (1,1) Unhandled Promise rejection: 'Zone' is undefined ; Zone: <root> ; Task: Promise.then ; Value: ReferenceError: 'Zone' is undefined ReferenceError:

Can you detect “Tablet Mode” in Edge and IE11 using JavaScript on Windows 10?

让人想犯罪 __ 提交于 2019-12-29 00:39:14
问题 I am thinking of making my UI to dynamically change to a more touch-friendly layout when the user switches "Tablet Mode" on, and switch back to our "desktop" layout if they turn Tablet Mode off. That requires (1) detecting tablet mode in JavaScript (2) detecting the on/off change of tablet mode. I prefer pure JavaScript and DOM (not jQuery, Modernizr etc). Reason: We have a high density (desktop like) user interface, which we can't easily just change. I wish to add spacing to be more touch

Selenium and Edge Dev (Chromium based)

﹥>﹥吖頭↗ 提交于 2019-12-28 06:51:32
问题 I'm trying to run a Selenium test with Java and Edge Dev (based on Chromium). I have downloaded the driver binary ( msedgedriver.exe , 64-bits in my case) from here. The version of my Edge Dev installed on Windows 10 is 76.0.152.0 (Official build dev 64-bit): Then, I have the following JUnit 4 test: import static org.hamcrest.CoreMatchers.containsString; import static org.hamcrest.MatcherAssert.assertThat; import org.junit.After; import org.junit.Before; import org.junit.BeforeClass; import

Why Download to xls feature doesn't work in Edge browser, but works in chrome

谁都会走 提交于 2019-12-25 18:45:39
问题 Below is my code for download to xls feature. I am not sure why its not woking in Edge. However , it works fine in chrome. There are no console errors too. Not sure which part of the below of line of code is not supported in Edge. Is there any other way to rewrite the below code so that it supports edge. $scope.downloadXls = function() { var repayments = $scope.repayments; var csvContent = "data:text/csv;charset=utf-8,"; var rows = [ [ "Payment No", "Installment", "Principal", "Interest",

Inline Animated SVG not loading in IE/Edge

依然范特西╮ 提交于 2019-12-25 09:38:18
问题 I've been trying to create a donut chart not too dissimilar to this example here: https://jsfiddle.net/4azpfk3r/ HTML: <div class="item html"> <h2>HTML</h2> <svg width="160" height="160" xmlns="http://www.w3.org/2000/svg"> <g> <title>Layer 1</title> <circle id="circle" class="circle_animation" r="69.85699" cy="81" cx="81" stroke-width="8" stroke="#6fdb6f" fill="none"/> </g> </svg> </div> <div class="item css"> <h2>CSS</h2> <svg width="160" height="160" xmlns="http://www.w3.org/2000/svg"> <g>

UWP: allow XSL transformation in a WebView for local content

╄→尐↘猪︶ㄣ 提交于 2019-12-25 08:55:23
问题 I want to display a local XML file on a WebView . The XML file references a local XSL file (in the same folder). But the stylesheet is not applied and the reason for this seems to be security concerns. If I open the file in the console of Edge I get XSLT8690: The system cannot locate the object specified. Is there a possibility to allow the XSL transformation of a local file (e.g. like here)? How can I display a local XML file, which references a stylesheet? 回答1: If your XML and XSL file are

VS2015Community (ASP.net Webapplication): Debugger does not stop himself after closing Edge

这一生的挚爱 提交于 2019-12-25 07:03:56
问题 created a new web application with one webform for testing. have windows 10, visual studio 2015 community edition. if i use internet explorer to open/debug the project and just CLOSE the internet explorer, then my debugger in visual studio does stop. if i use edge to open/debug the project and then CLOSE the edge, my debugger keeps running. bug? can i reach that the debugger also will stop when closing EDGE? 来源: https://stackoverflow.com/questions/31892449/vs2015community-asp-net

Microsoft Edge Extension tab content

我们两清 提交于 2019-12-25 04:27:08
问题 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", "author" : "Stack Memory", "browser_action" : { "default_icon" : { "20" : "icon_20.png", "40" : "icon_40.png" }, "default_title" : "Sample extension", "default_popup" : "index.html" }, "content_scripts" : [{ "js" : ["js/index.js"], "matches" : ["*://*/*"] }

Microsoft Edge Extension tab content

不问归期 提交于 2019-12-25 04:27:02
问题 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", "author" : "Stack Memory", "browser_action" : { "default_icon" : { "20" : "icon_20.png", "40" : "icon_40.png" }, "default_title" : "Sample extension", "default_popup" : "index.html" }, "content_scripts" : [{ "js" : ["js/index.js"], "matches" : ["*://*/*"] }

How to set up Microsoft Edge file association to open .htm files?

孤人 提交于 2019-12-25 02:44:16
问题 In my software I'm using ShellExecuteEx to open a report that is presented as a local .htm file. At times on some end-user systems there's no default file association for the .htm files. To set such file association up on a pre-Windows 10 system I'd install the following registry keys to use IE: Key: HKEY_CURRENT_USER\Software\Classes\htm.file\Shell\open\Command REG_SZ name: "" REG_SZ value: "C:\Program Files (x86)\Internet Explorer\iexplore.exe" "%1" Key: HKEY_CURRENT_USER\Software\Classes\