Add iframe compatibility