I have a problem with IE11: I open new window in js and bind to it an event in old window. But it isn't work when old window is inactive. When I fast switch tabs -it work and also it work when I use window.blur to remove focus from new tab.
There is my code:
var win = window.open(url);
//win.blur(); trash solution
this.bindLoadEvent(win, function() {
element.invoke();
});
bindLoadEvent: function (win, handler) {
if (win.addEventListener) {
win.addEventListener('load', handler, true);
} else {
win.attachEvent('onload', handler);
}
}
It's seems like IE doesn't fire events in inactive tabs.
P.S. Also I tested it in Firefox and Chrome - it's work great.