开发者

'pinging' if site busts out of frames

开发者 https://www.devze.com 2023-03-31 12:12 出处:网络
I was wondering if there is any method of checking if a site will bust out of an iframe before my app puts it in an iframe.

I was wondering if there is any method of checking if a site will bust out of an iframe before my app puts it in an iframe.

Alternatively maybe someone knows of a database api that has this info.

Currently I'm using a beforeunload event to prevent a site from taking over the开发者_如何学C page the user is currently on.

0

精彩评论

暂无评论...
验证码 换一张
取 消