js判斷 if(self!=top) top.location=self.location self : 指當(dāng)前的窗口(frame) top : 最頂級(jí)的窗口 parent : 父級(jí)窗口