iframe cross-platform shim