开发者

putting iframe around proxy loaded page

开发者 https://www.devze.com 2022-12-09 11:46 出处:网络
i have a proxy site which load开发者_运维问答s extrenal sites into an iframe. i have a concern some sites will try to redirect out of the iframe when its detected. is this valid ?No, redirection will

i have a proxy site which load开发者_运维问答s extrenal sites into an iframe. i have a concern some sites will try to redirect out of the iframe when its detected. is this valid ?


No, redirection will only reload the iframe and not the whole page, if this was your question :)


Yes it is, websites can detect being in an iframe and some would change the parent by javascript accordingly. However, simple HTTP redirection will only reload the iframe as Crimson said.

0

精彩评论

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