Redirect 重定向问题:从一个网站重定向到另一个网站

Redirect 重定向问题:从一个网站重定向到另一个网站,redirect,Redirect,我的问题是我无法从一个站点重定向到另一个站点。我希望能够使我的代码去一个网站的瞬间,然后重定向 以下是基本代码: <button onclick="top.location.href = 'http://pub48.bravenet.com/passwd/logout.php?usernum=4049775127' 'http://infinitevideogames.weebly.com/';" target="_top">Logout</button> 我应该如

我的问题是我无法从一个站点重定向到另一个站点。我希望能够使我的代码去一个网站的瞬间,然后重定向

以下是基本代码:

  <button onclick="top.location.href = 'http://pub48.bravenet.com/passwd/logout.php?usernum=4049775127' 'http://infinitevideogames.weebly.com/';" target="_top">Logout</button>
我应该如何让infinitevideogames.weebly.com链接马上出现。
有没有办法让它立即转到bravenet,然后重定向到infinite视频游戏?我想你需要控制infinitevideogames.weebly.com,才能重定向回你的网站并注销。如果没有,您可以使用iframe并加载infinitevideogames几秒钟,然后使用javascript settimeout函数注销。

您可以控制pub48.bravenet.com吗?我无法控制这一点,因此您基本上希望在pub48站点上注销并重定向回您的站点,对吗?请尝试以下操作:函数logut\u func{window.location='logout link';}函数load_iframe_logout{document.getElementById'MyFrame'.src='link';setTimeoutlogut_func,800;}