The method that prevents the window that the iframe script pops up from overwriting the parent window
- 2020-03-30 03:53:30
- OfStack
Baidu is put into the frame, the use of search will jump to the parent frame, but the tomato search has successfully put him into the frame, but I do not understand, he is how to achieve!
Defined in the parent window
var location = new Object()
// or var location = "" That could be