Works for iframes of arbitrary depth and IE 8 too. The fix is included on every page, likely overkill.