我想在新窗口中打开一个URL,在x秒之后或页面完成加载后我想再次关闭它.
我现在正在使用:
window.open('http://otherurl.com', 'newwindow', 'width=300, height=250'); return false;
'otherurl'不是域名,因此我无法控制该URL.
我怎样才能做到这一点?
javascript url
javascript ×1
url ×1