I would never rely on the source you mentioned. The problem is that MSIE fires a blur event for almost every element, <body on. Most other implementations are made by the exact oposite.
This may help if you explicitly specified a tabIndex for the body element , for example:
document.body.tabIndex = 1; document.body.onblur = function() { alert('body blur'); };
This works for me on FF5. However, I'm not sure how many versions from FF and how many implementations support this βcomplicatedβ workaround.
The next logical question: why do you need to fire the body blur event? The only reasonable thing I can think of is that you want to know when someone leaves your page? If so, I would recommend looking at the window itself, not the body.
window.onblur = function() { alert('window blur'); }
source share