Add preliminary support for same-origin iframes