FAQ Database Discussion Community


VBScript to detect Facebook IE window, press Like and close the window

facebook,internet-explorer,vbscript
I tryed to make a script to detect the IE window that is opened on Facebook and hit the Like button. Let's say I have 10 IE opened. Only one of them is on a page on Facebook. I want my script to detect that IE window, click this button:...

User Getting Logged out in IE when closing browser

internet-explorer,session,cookies,p3p
I am running a Drupal 7 site and am noticing a problem on IE9, when the browser window is closed the user is logged out. We have "remember me" module enabled and the cookie is set to not expire. There is no issue on Chrome or any other browser, you...

Background-image style with JS not working in ie9

javascript,jquery,html,internet-explorer
I'm working on a site and im having some issues with my slider in IE9. What I've done is that I've made a div that gets the background image changed every few seconds depending on the img tags within. You can see it in function here: http://diakondk.quine.pil.dk/ It works wonders...

IE 11 issue with flexbox item with max-width

html,css,internet-explorer,internet-explorer-11
In IE11 when an item items don't properly center if they have maximum width property. This example however works in Chrome and FF. .container{ display: flex; justify-content: center; align-items: center; background-color: blue; width: 100%; } .box{ background-color: red; flex-grow: 1; display:flex; max-width: 200px; } http://jsbin.com/riloravopu/7/edit...

Internet Explorer hover/rgba/opacity/css3 compatibility

css3,internet-explorer,hover,internet-explorer-9,rgba
I am using CSS3 with an rgba alpha opacity hover to display text over an image when the user hovers. Works fine in chrome, firefox and safari but when trying in internet explorer (9) it just shows the image and hovering does nothing. Check out the code here: http://jsfiddle.net/b16pow50/ div...

IE 11 Error message - Could not complete the operation due to error 800a025e

javascript,html,internet-explorer,exception,internet-explorer-11
I am getting the following error message in IE 11 : Could not complete the operation due to error 800a025e. This error is being thrown when range.select() is called function ExtendSelection() { var sel; if (document.body.createTextRange) { // Internet Explorer var range = document.body.createTextRange(); range.moveStart('character', 0); range.collapse(true); range.moveStart('character', 29); //causes...

How do I prevent jquery from reloading an animation in IE mouse hover?

jquery,internet-explorer,internet-explorer-9
I have an animation that plays on mouse over on a containing div. In IE9+ if the user hovers over an element inside that container it replays the animation. My basic setup is: <div class="book"> <img src="bookcover.jpg" /> <div class="overloay"> <p class="title">Book title</p> <a href="#">read book</a> </div> </div> When the...

How to close an Internet Explorer instance inside an Excel VBA

excel,vba,internet-explorer,excel-vba
I'm running an Excel VBA macro which opens a IE instance, extracts data from a URL and then is supposed to close the instance again. Dim IE As Object Set IE = CreateObject("InternetExplorer.Application") Set IE = GetObject("new:{D5E8041D-920F-45e9-B8FB-B1DEB82C6E5E}") ' Do stuff... ' Clean up IE.Quit Set IE = Nothing I looked...

History token fires twice if the URLhas a special character in IE

java,internet-explorer,gwt
I have a code that is working perfectly fine in firefox and chrome, but not very well in IE. I am using GWT 2.5.1 . The issue is that i am sending a string to query via the URL. If that string contains special character like % or ^ or...

How to rotate and translate using CSS in IE8?

css,internet-explorer,internet-explorer-8
We've added some new fancy css to our page that uses transform rules, however we need to keep compatibility with IE8 and those rules don't work there. All we did was rotate and translate a few elements and I managed to do the rotation in IE8 using this code: -ms-filter:...

JavaScript Date not working properly in IE8 [duplicate]

javascript,google-chrome,internet-explorer
This question already has an answer here: Javascript JSON Date parse in IE7/IE8 returns NaN 6 answers Chrome showing result as expected but IE-8 giving NAN when i execute the following: Chrome: d = new Date("2014 12 01") // results Mon Dec 01 2014 00:00:00 GMT+0500 (Pakistan Standard Time)...

Phonegap developer app javascript Errors

javascript,cordova,internet-explorer,windows-phone
I trying to run my phonegap app with the "Phongap Developer app" on my windows phone, but it's throwing strange javascript errors, like this: Object doesn't supprt property or method "defineProperty" Object.defineProperty(Detail, "name", { get: function () { return this._name; }, set: function (value) { this._name = value; }, enumerable:...

AJAX in Internet Explorer 11 - Don't cache

javascript,ajax,internet-explorer
I have an issue with AJAX in the IE 11. My page is asking sone values via AJAX form the server using this code: var xmlhttp; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp = new...

CSS MegaMenu Full Width in IE 10/11

javascript,jquery,html,css,internet-explorer
I am working on Superfish Menu with some custom styles to make menu full width and responsive. My project works perfectly on Google Chrome and Firefox, but not in IE 11. Take a look in this Sample * { margin:0; padding:0; } html { height: 100%; width: 100%; } body...

Underscore.js template IE9 / IE10 not returning right code

javascript,internet-explorer,underscore.js,template-engine,underscore.js-templating
I have this code in my js file var selectedTagElement = _.template('$("#selected_tag_item_template").html()', item = { tag: label, value: value }); $('#wrapper_id').append(selectedTagElement); and this in my html file <script type="text/template" id="selected_tag_item_template"> <div class="tag_item selected js-selected_tag_item" data-tag-value="<%= item.value %>" data-tag-label="<%= item.tag %>"><%= item.tag %> </div> </script> Everything is working fine in all...

Give HTML time to render its text

javascript,html,internet-explorer,vbscript,hta
I have a very long VBScript code which runs in an HTA. The script includes DOM manipulation, DLL calls, and other scrips. Now I had a problem because it takes a significant amount of time to render the text on screen because there are a lot of scripts that pause...

IE6 - custom tags without namespaces

javascript,html,internet-explorer
Is it possible in Internet Explorer 6 - yes, IE6 :( - to use custom tags without defining namespaces. Example: <!-- NS is namespace --> <html XMLNS:NS> <head> <style type="text/css"> NS/:myTag { color: #666; font-size: 20px; } </style> </head> <body> <NS:myTag> The quick brown fox jumps over the lazy dog...

Remove mysterious space that IE9 creates around

html,css,internet-explorer,internet-explorer-9
I'm trying to learn how to make crossbrowser pages and stuck at dealing with IE9: it creates some space near the <img>, see example Look at the rightmost image, it should appear here. If space doesnt appear, hover the mouse over the image. Can't imagine what's wrong, this image is...

Using angularJS click on enter form functionality in Internet Explorer

javascript,html,angularjs,internet-explorer,default
I have a form in angularJS like this: <form> <div class="row form-group"> <div class="col-xs-4"> <label>Product name:</label> </div> <div class="col-xs-8"> <input ng-model="vm.name" ng-disabled="vm.product.name"> </div> </div> <button ng-hide="1" ng-click="vm.addName()"></button> </form> The idea being that when a user enters a name the form locks it (inside addName()) and does an API call to...

Using getComputedStyle with IE 11

javascript,jquery,css,internet-explorer
NOTE: This has an update below. I will likely change description as it is not a getComputedStyle issue, it is an issue actually with print-media and the fact that Internet Explorer now supports document.styleSheets[].cssRules. I am a bit confused on this as I thought this worked and I am not...

website not working on Internet Explorer

internet-explorer,browser,cross-browser,hover
I have a vertical menu in a side bar with a hover over submenu however in IE the hover menu decides to appear in the middle of the page. I'm using IE11 so it doesnt support the IE only css. I'm not sure what has cause the problem..here is a...

jquery validation IE Object doesn't support property

jquery,internet-explorer,jquery-validate
I am using the jQuery validation plugin. If i try to set custom field to highlight it shows an error only in IE (tested on IE11 and IE10). Console error is Object doesn't support property or method 'closest' and points to the line in "highlight" part. The code is: $(document).ready(...

IE 7 and 8 Google Website Translator fails with Error: hasOwnProperty in element.js

internet-explorer,google-translate
We use the Google website translator dropdown on several web sites. A few days ago we noticed that initializing the dropdown shows JavaScript errors on IE 7 and IE 8. The exact source of the error is in line two of the code returned as http://translate.google.com/translate_a/element.js where it says a.hasOwnProperty(b[c])?...

Add special characters to HttpContext.Current.Response.AddHeader()

internet-explorer,c#-4.0,httpresponse
I want to generate PDF file with special characters. My code is as follows: MemoryStream memoryStream = // get memory stream relevant to pdf file HttpContext.Current.Response.Clear(); HttpContext.Current.Response.Buffer = true; HttpContext.Current.Response.ContentEncoding = System.Text.Encoding.UTF32; HttpContext.Current.Response.AddHeader("Content-Disposition", string.Format("attachment;filename={0}.pdf", downloadLink)); HttpContext.Current.Response.ContentType = @"application/pdf";...

Fancybox list of pictures not showing up in Internet Explorer

jquery,internet-explorer,fancybox
I am currently using fancybox for my image gallery. I am having serious difficulty with getting it to work well in Internet Explorer. Every other browser I have tried works - besides Internet Explorer. The Problem: Every time I reload the page, some of the pictures show, and others do...

Javascript - Apply() breaking IE 9

javascript,jquery,internet-explorer,internet-explorer-9
I have this object: var _intervals = { intervals: {}, _add: function (fun, interval) { var newInterval = setInterval.apply( window, [fun, interval].concat([].slice.call(arguments, 2)) ); this.intervals[ newInterval ] = true; return newInterval; }, _delete: function (id) { return clearInterval(this.intervals[id]); }, _deleteAll: function () { var all = Object.keys(this.intervals), len = all.length;...

Triggering a change event for Internet Explorer

javascript,jquery,internet-explorer,event-handling
I have several select menus that needs that need to have their change events triggered on page load, so that they can automatically use the change behavior from an on('change', ...) handler. I have it working fine in Firefox, but apparently this doesn't work in Internet Explorer. Example var changeEvent...

IE11 slow / freeze with AngularJS's ng-repeat rendering

javascript,angularjs,internet-explorer,browser
Currently I have a very sublte problem to solve with IE11 and AngularJS. My page consists of two nested ng-repeat to create a tabset with a table inside any tab. Here the code: http://pastebin.com/0fffPz5Z In the code, each application's object have around 1.000 item's related objects. With a Chrome, Safari...

Span display IE

html,css,css3,internet-explorer
I wrote this code, it's a link with transition .pictos { display: block; height: 70px; margin: 160px 0 30px; padding: 0 17%; width: 100%; } .pictos > div { background: none repeat scroll 0 0 rgba(0, 0, 0, 0.2); border: 1px solid #fff; border-radius: 50%; display: table-row; float: left; height:...

HTML/CSS menu not working on IE

html,css,internet-explorer
I'm working on a website and I was happy that all was looking good on Chrome, Firefox and Safari. Then it came it suddenly in my mind, I started sweating, the heart started beating fast.. oh God, I have to test it on IE! And, of course, it doesn't work...

No video with supported format and MIME type found

internet-explorer,firefox,video,html5-video
So i have this video element on my website <videogular vg-responsive="true" vg-theme="config.theme.url" vg-player-ready="onPlayerReady($API)" vg-complete="onCompleteVideo()" vg-theme="config.theme.url"> <vg-media vg-src="config.sources" vg-tracks="config.tracks" vg-native-controls="true"> </vg-media> IF i view this in chrome there is no problem and the video is displayed if however i view the same page in Firefox i get the following error: No...

How to consistently crash IE 10&11? Reproducing “Internet Explorer to close and reopen the tab”

javascript,html,css,internet-explorer
This is a stupid question. Is there a way to consistently produce this error in Internet Explorer 10&11 with Javascript, css or HTML? A problem with this webpage caused Internet Explorer to close and reopen the tab. This is not for malicious webpage, I need to test some plugin and...

store Hebrew in database with utf- 8 encoding using php and mysql

html,mysql,internet-explorer,encoding,utf-8
I am building a web site with database in Hebrew (using php and mysql). on general I use chrome to test my job... today I tried explorer :-0 (yeh... you must be thinking "why the f*** would he do it... ;) ). I found out that all the data that...

Internet Explorer misinterprets html tags

html,css,html5,internet-explorer
Internet Explorer misinterprets website: it reads <tag></tag>bla bla</tag><//tag> instead of <tag>bla bla</tag>. For instance the code of the nav section is: <nav> <ol> <li><form action="Algemene Voorwaarden Bijles Studio.pdf" method="get" target="_blank"> <button>algemene voorwaarden</button> </form> Bla Bla </li> </ol> </nav> But the inspect element function of IE shows the following: <nav></nav> <ol>...</ol>...

Does ie read stylesheets outside of conditional comments?

html,internet-explorer,stylesheet,conditional-comments
I've been doing a bit of reading around this subject, and I can't seem to find an answer that specifically answers this question. Using this code as an example: <!--[if lte IE 7]> <link rel="stylesheet" type="text/css" href="ie-style.css" /> <![endif]--> <link rel="stylesheet" type="text/css" href="style.css" /> Would IE6 open and run it-style.css...

Character rendering is different (IE/Chrome)

html,css,google-chrome,internet-explorer
I'm trying to figure out why does the arrow symbol render differently on Chrome and Internet Explorer but without any success. Surprisingly IE displays it correctly while Chrome has problems with rendering. Ignore the difference in size, it is due to zooming. Chrome IE Regarding CSS, there is only Eric...

What is the proper way to get the value of a React