12345678910111213141516171819 |
- <!DOCTYPE html>
- <html>
- <head>
- <!-- 1. 从 URL 参数中提取目标地址 -->
- <script>
- const params = new URLSearchParams(window.location.search);
- const targetUrl = params.get('redirect_open'); // 例如 ?url=http://oa.cmbchina.com
- if (targetUrl) {
- // 2. 延迟 5 秒后通过 meta 刷新跳转(无界面闪烁)
- setTimeout(() => {
- window.location.href = targetUrl + (targetUrl.includes('?') ? '&' : '?') + 'from_redirect=' + Date.now();
- }, 5000);
- }
- </script>
- <!-- 3. 确保页面完全空白 -->
- <style>html, body { display: none; }</style>
- </head>
- <body></body>
- </html>
|