changing iframe url changes parent window url

前端 未结 2 988
萌比男神i
萌比男神i 2021-01-26 20:43

i\'m using following page to display content of a url in a iframe and changing it based on input value .





        
2条回答
  •  囚心锁ツ
    2021-01-26 21:13

    You may notice that even something like this results in the same. This is a technique called frame-busting. It's in their page's code:

    
    

    If you have a server, that can respond with a HTTP/1.1 204 No Content header, you may be able to "deactivate" this frame buster as described here.

提交回复
热议问题