window parent top self

在应用有frameset或者iframe的页面时

parent是父窗口

top是最顶级父窗口(有的窗口中套了好几层frameset或者iframe),如果当前窗口不是frameset,iframe,top 表示当前窗口

self是当前窗口

opener是用open方法打开当前窗口的那个窗口

原文地址:https://www.cnblogs.com/luluping/p/1864228.html