internet-explorer-11

IE11 Angular 2 error “Expected identifier, string or number”

耗尽温柔 提交于 2019-11-30 13:42:37
问题 Well, I have created site using Angular 2. When I run "ng-serve" command and trying to test my site using "http://localhost:4200" in Google Chrome and IE11 it works perfectly, but, if I build project using "ng-build --prod", host it on IIS. Site still works on Chrome, but IE11 shows the following errors: I googled it and found that it was maybe reserved words in my identifiers key:value pairs. So I added Apostrophes(') arround my keys. For example I had the following object: user

What happened to “Always refresh from server” in IE11 developer tools?

余生长醉 提交于 2019-11-30 11:41:46
问题 Do the F12 developer tools in Internet Explorer 11 also have the "Always refresh from server" feature of the developer tools in IE 8-10? I see the "Clear browser cache... (Ctrl + R)" button on the Network tool, but clicking on it appears to do nothing (the Temporary Internet Files folder still has files in it afterward). I also have the "Check for newer versions of stored pages:" setting set to "Every time I visit the webpage", but this does not appear to always refresh external assets. Can

Remove 1px transparent space from CSS box-shadow in IE11?

a 夏天 提交于 2019-11-30 11:17:06
I'm using CSS box-shadow to mimic a background that "bleeds" to the edges of the browser window. It works great in Chrome, Firefox, Safari, and Internet Explorer 9 & 10. However, Internet Explorer 11 renders a transparent 1px "space" before the left (negative) box-shadow. Take this HTML: <div class="wrapper"> <div class="widget">Test</div> </div> And this CSS: .wrapper { background:red; padding:20px 0; } .widget { width:600px; height:400px; margin:0 auto; text-align:center; background:white; box-shadow:20em 0 0 0 white, -20em 0 0 0 white; } In most browsers, the widget DIV has a white

Masking input characters without type=password

倾然丶 夕夏残阳落幕 提交于 2019-11-30 11:03:02
So I have a problem with newer browsers saving passwords. Say I have a password box like so: <input type="password" autocomplete="off" /> New browsers like IE11 and Safari in iOS 7.1 have started ignoring the autocomplete="off" in password boxes specifically and offer the user to save the password. In my company (a bank), we view this as a security concern. I was wondering if anybody has solved this problem yet. Maybe somebody has written a javascript plugin that masks a normal input[type=text] so that the autocomplete="off" attribute will be respected. Update: For a little more information,

Google Fonts not working in Internet Explorer (IE) 11

两盒软妹~` 提交于 2019-11-30 09:05:23
Currently putting together a site using Google Fonts. Everything works in IE6 through 10, Firefox, Chrome, and on mobile browsers. However on IE 11 no fonts load and everything is displayed using fallback fonts (sans-serif etc). This same issue seems to have been discussed on the following two pages but with no resolution: Google Code MSDN Forums I have not been able to find a solution either and am wondering if anyone here has a workaround in place. Using the Web Font Loader javascript instead of the default method of adding fonts works in IE11 for me. https://developers.google.com/fonts/docs

IE 11 document.selection does not work [closed]

好久不见. 提交于 2019-11-30 08:52:42
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I am trying to deselect selected content in HTML editor. I have used selection.empty() function for deselecting content it is working fine up to IE10 but it is not working in IE11. Also the create function is not working in IE11 Is there any alternative function for this? 回答1: IE11 replaced the legacy API with a

IE 11: Image doesn't scale down correctly within flexbox

不打扰是莪最后的温柔 提交于 2019-11-30 08:28:44
I'm trying to use flexbox to place two images in a column. In this case, the width of the div container is smaller than the width of the image. In Chrome the image perfectly fits into the div container, but it doesn't in IE, and I don't know why. div.outer { width: 400px; display: flex; flex-direction: column; justify-content: space-around; } div.inner { width: 100%; border: 1px solid red; } img { width: 100%; height: auto; } <div class="outer"> <div class="inner"> <img src="http://placehold.it/480x360"> </div> <div class="inner"> <img src="http://placehold.it/480x360"> </div> </div> https:/

IE 11 sends different User-Agent header to different subdomains

江枫思渺然 提交于 2019-11-30 08:14:56
Well, I've been working on an User-Agent based shared-session protection between subdomains. I was extremely surprised that it's been working well until IE 11 preview was released recently. There are 2 subdomains example.com and sub.example.com I've intercepted requests to both domains and it seems that USER-AGENT HTTP Header being sent to each domain is different. Request to example.com has: User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko Request to sub.example.com has: User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727;

IE11 Angular 2 error “Expected identifier, string or number”

时光毁灭记忆、已成空白 提交于 2019-11-30 08:06:42
Well, I have created site using Angular 2. When I run "ng-serve" command and trying to test my site using " http://localhost:4200 " in Google Chrome and IE11 it works perfectly, but, if I build project using "ng-build --prod", host it on IIS. Site still works on Chrome, but IE11 shows the following errors: I googled it and found that it was maybe reserved words in my identifiers key:value pairs. So I added Apostrophes(') arround my keys. For example I had the following object: user:UserViewModel={ Username:"", Age:0 }; and changed this to: user:UserViewModel={ 'Username':"", 'Age':0 }; Also

findIndex() method issue with internet explorer

独自空忆成欢 提交于 2019-11-30 08:00:30
问题 I am doing some tests with differents browsers using the Selenium::Remote::Driver module. I would like to check if I find some item in my web site list, list from a framework JavaScript (which creates grids). For this case I have to use JavaScript snippet allowed by Selenium::Remote::Driver . I wrote the following code $script = q{ var paramProgramName = arguments[0]; var list = $('#c-list').dxList('instance'); var items = list.option('items'); var index = items.findIndex(function(el){ return