I solved the problem by checking document.hasFocus()
as a first thing in the window.blur
callback. If it gets triggered wrongly, at least the document does still has focus.
The problem was probably due to using HTML 5 tags such as article
and section
which confused the old IEs.