bug fix: failed in firefox when external domain iframes in dom