microsoft-edge

Support for scroll bar styling in Edge Browser

柔情痞子 提交于 2019-12-11 02:58:01
问题 It looks like you can use the IE-specific scrollbar styles like: scrollbar-face-color, scrollbar-track-color, etc. through IE 11, but not with Edge. Is there an alternative for Edge? 回答1: It's hard to know specifically, without official documentation, clear indications, or official word from the dev team, but it seems unlikely based on previous comments about the purpose and design goals of Edge. Here's why I say that: The properties you're referring to were originally added to IE8 as

Launching Microsoft Edge with URL from code

天涯浪子 提交于 2019-12-11 02:57:28
问题 I need to launch the Microsoft Edge browser with a specific URL from a c# application. How can I do that? What's the best way to retrieve the path where Microsoft Edge is installed and call it passing the appropriate arguments? I would like to launch it directly without installing any webdriver. I saw this How to open URL in Microsoft Edge from the command line? but couldn't make it work from code. Thanks. 回答1: Process.Start("microsoft-edge:http://www.yourpage.co.uk"); 回答2: I figured that out

How to obtain keyboard layout for Microsoft Edge and other windows hosted in ApplicationFrameHost.exe

女生的网名这么多〃 提交于 2019-12-11 02:04:31
问题 As we all know, Windows's keyboard layouts are thread-specific. When a layout changes, a message is dispatched to the foreground thread by the shell. So if one wants to obtain the most recent system-wide keyboard layout, one must do something like this: const HWND foregroundWindow = ::GetForegroundWindow(); const DWORD foregroundThread = ::GetWindowThreadProcessId(foregroundWindow, NULL); const HKL layout = ::GetKeyboardLayout(foregroundThread); This works fine for most native Windows apps.

IE and Edge flexbox bug?

别来无恙 提交于 2019-12-11 01:14:07
问题 I've noticed an anomaly in Edge and IE when using flexbox with scrolling columns coupled with a horizontal scroll. The following codepen demonstrates correct functionality in Chrome and FireFox; however, there is an extra scroll bar on the very right of the view for a slight vertical overflow (the height of the horizontal scroll bar) that is only present in IE 11 and Edge: Original Codepen Example The raw html for reference: <body> <div class="app-master"> <div class="app-sidebar-spacer"> <

on('load') does not work for opened popup in internet explorer 11

喜夏-厌秋 提交于 2019-12-11 00:18:21
问题 I do not recall the last time I used popup for anything, but :( I want to open new window and when it is opened I want to shout "1". Window opens in all browsers, but in IE 11 / Edge it does not alert(). <html> <head> <script src="//code.jquery.com/jquery-3.1.1.min.js"></script> <script> $(document).ready(function(){ $('#button').on('click',function(e){ e.preventDefault(); var win = window.open ('/test.html') $(win).on('load',function(){ alert ('opened'); }); }); }); </script> </head> <body>

JS Base64 string to downloadable pdf - Edge

故事扮演 提交于 2019-12-10 23:37:36
问题 I have an issue at them moment, where in all browsers and platforms, I can convert a bse64 string to a PDF file using: function runReport_onComplete(response) { var element = document.createElement('a'); element.setAttribute('href', encodeURI("data:application/pdf;base64," + response.Report)); element.setAttribute('download', "LoginInquiry.pdf"); element.style.display = 'none'; document.body.appendChild(element); element.click(); document.body.removeChild(element); } I have done some research

This PHP script doesn't work in Internet explorer and Microsoft Edge but works in Chrome/Firefox/Safari/Opera

亡梦爱人 提交于 2019-12-10 22:37:10
问题 I used PHP 5.6 I wrote a php script which reads in a text file and picks a random line from it, then sends to the html whenever the button "Get a random line" is clicked. In Chrome/Firefox/Safari/Opera, this works fine but in Internet explorer and Microsoft edge, the output is always the same. It works only for the first time and doesn't change output after the first button click I mean, for the second and further clicks, the output has to change. Is there something that I have to handle

Assignment to read-only properties is not allowed in strict mode in [background: url({{XXX}}) no-repeat center center

风流意气都作罢 提交于 2019-12-10 22:23:50
问题 I am getting this error in Edge but in chrome everything is fine Unable to understand what is wrong here... <div class="container-fluid project_img" style="background: url({{_project.images.web}}) no-repeat center center;"> </div> Error in Microsoft Edge: Assignment to read-only properties is not allowed in strict mode in [background: url({{_project.images.web}}) no-repeat center center; in ProjectDetailComponent 回答1: Use instead <div class="container-fluid project_img" [style.background]="

Microsoft Edge PDF inline issue

蹲街弑〆低调 提交于 2019-12-10 18:49:42
问题 Our Rails web app generates PDFs using wkhtmltopdf and sends them to the client. This works in every web browser we've tested it with except Edge. We've tried rendering the response in a couple of different ways, this is how it was originally: kit = PDFKit.new(@html_content) render text: kit.to_pdf, content_type: 'application/pdf' This opens the PDF viewer with the PDF displaying correctly in every browser that we tested with except Edge where the browser displays: Something's keeping this

finding all other formats for a Google font beside “woff2”

不羁的心 提交于 2019-12-10 18:17:59
问题 In a previous question of mine it was pointed out to me that " woff2 " format doesn't work on Microsoft Edge . So I have to use an alternative syntax of @font-face if I want my website to look good in Microsoft Edge. Original CSS @font-face{font-family:'Dosis';font-style:normal;font-weight:200;src:local('Dosis ExtraLight'), local('Dosis-ExtraLight'), url(http://fonts.gstatic.com/s/dosis/v4/RPKDmaFi75RJkvjWaDDb0vesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');} @font-face{font-family:'Dosis';font