self.location.href

self.location.href;//当前页面打开URL页面

window.location.href;//当前页面打开URL页面
this.location.href;//当前页面打开URL页面
location.href;// 当前页面打开URL页面
parent.location.href;//在父页面打开新页面
top.location.href;//在顶层页面打开新页面 
原文地址:https://www.cnblogs.com/endv/p/9330561.html