internet-explorer-11

Favicon not working in IE11; works in FF and Chrome

白昼怎懂夜的黑 提交于 2020-02-23 09:11:47
问题 The problem (I have my favicon working in Firefox and Chrome already.) In Internet Explorer 11, my version, I can't seem to get the d*ng favicon to work. I have my file stored as .ico, and I have an alternate for Firefox, because you can use 64x64 .pngs in there. It shows the default icon IE has for pages. The info Windows Version - 10 Internet Explorer Version - 11 Icon file type - .ico The script <link rel="icon" type="image/x-icon" href="favicon.ico"> <link rel="shortcut" type="image/x

How do i get base64 encoded image from clipboard in internet explorer?

与世无争的帅哥 提交于 2020-02-19 06:12:19
问题 I searched a lot but didnt find getting base64 encoded data from clipboard. I can catch paste event and then assign event to variable with this clipBoard = e.clipboardData ? e.clipboardData : window.clipboardData; in chrome; i can get print screen which has been paste, like this if (clipBoard.types[0] == "Files") { var blob = clipBoard.items[0].getAsFile(); var reader = new FileReader(); reader.onload = function(event){ console.log(event.target.result); }; // data url! reader.readAsDataURL

Selenium performance with InternetExplorerDriver and IE11

点点圈 提交于 2020-02-06 07:58:35
问题 I am facing a very slow response when running my scripts on IE11. Sometimes, I get FocusWindowsClosed , ElementIsNotClickable . I have changed the zoom settings for all zones, created feature BFCACHE for IE in feature control, added capabilities into my code but nothing works for me. If anyone has any idea why I am facing this issue. Do i need to downgrade window or IE versions? I have also downloaded the same version of selenium client server with same IEDriver which is (3.8.0). 回答1: To

Selenium performance with InternetExplorerDriver and IE11

喜夏-厌秋 提交于 2020-02-06 07:58:09
问题 I am facing a very slow response when running my scripts on IE11. Sometimes, I get FocusWindowsClosed , ElementIsNotClickable . I have changed the zoom settings for all zones, created feature BFCACHE for IE in feature control, added capabilities into my code but nothing works for me. If anyone has any idea why I am facing this issue. Do i need to downgrade window or IE versions? I have also downloaded the same version of selenium client server with same IEDriver which is (3.8.0). 回答1: To

Custom Template in Azure B2C doesn't work in IE11 when JavaScript is enabled

半腔热情 提交于 2020-02-04 01:23:10
问题 I have a SignIn V2 policy in Azure Active Directory B2C I also enabled JavaScript Because I use it to manipulate some elements in the form. This configuration works well in Google Chrome, but whenever I try to run it in Internet Explorer 11, I get SCRIPT1002: Syntax error In the console, and the login button doesn't respond. This happens when JavaScript is enabled. When I disable it, the page works in IE11 (But my manipulations don't). Has anyone encountered this problem before? 回答1: I found

Select control created in React does not reset on browser refresh (IE11 and Edge)

☆樱花仙子☆ 提交于 2020-02-03 07:32:13
问题 I have a very simple React application with just one select control. See working application here. The select control has 3 values: Sunday, Monday and Tuesday. Sunday is the default value. Unfortunately on IE11 and Microsoft Edge, the select control gets stuck on the selected value even after a browser refresh! For example, select Tuesday and then refresh the browser - the select box does not return to Sunday, it gets stuck on Tuesday! On Chrome and Safari, I don't see this issue. (Note: You

IE 11 and IE Edge get file.type failed

社会主义新天地 提交于 2020-02-02 01:19:33
问题 "change .btn-file :file" : "getfileinfo", getfileinfo: function(e){ var fileInput = document.getElementById('fileupload'); var file = fileInput.files[0]; if(!file || (file.type != 'text/plain' && file.type != 'text/csv' && file.type != 'application/csv' && file.type != 'application/vnd.ms-excel' && file.type != 'text/csv')){ $('.alert-file').show(); $('.alert-file').delay(4000).fadeOut('slow'); return false; } var reader = new FileReader(); reader.onload = function(e) { $('#fileData').val

Printing Iframe in IE 11 only prints first page

落花浮王杯 提交于 2020-01-31 04:24:30
问题 I have the following code to print the content of a popup window: var frame = this._urlElement; if (frame) { var content = frame.contentWindow.document.getElementById("content"); if (content) { MarvalSoftware.UI.Dom.setStyles(content, { 'overflow': 'visible' }); } frame.contentWindow.focus(); frame.contentWindow.print(); } where _urlElement is an iframe, and its content doc has overflow: auto . When I print to PDF in IE11, I only see the first page, and the content is not cleanly cut off, nor

Fetch polyfill in React not completely working in IE 11

家住魔仙堡 提交于 2020-01-29 09:54:08
问题 This fetch works fine in Chrome: fetch( this.props.url, {credentials:'same-origin'}) .then( (data) => data.json() ) .then( (data) => { if( data.length > 0) { // do some stuff } else { console.log('No data Richard of the Beard of the Lewis.'); } }); I am using isomorphic-fetch , and I am polyfilling my promise with promise-polyfill. I'm using webpack and babel to compile the js. When I execute this code in IE11, the initial fetch of data executes and my response does contain the requested data

Loading another site without delay and positioning it correctly using CSS?

荒凉一梦 提交于 2020-01-25 09:29:06
问题 I have an angularjs web application that loads another site within an iframe in a specified div . Internet Explorer 11 loads the angularjs + requirejs so slowly, that I need to wait for around 4 seconds till the other site's loading is triggered (iframe's src injected into the dom ). <html> <body> <div ng-app="module"> <!-- happens after 3-4 seconds due to the delay mentioned above--> <div id="otherapp"> <iframe src="https://www.bing.com"> Another Site </iframe> </div> </div> </body> </html>