窗口位置href超时,目标_blank

我希望重定向发生时父网站保持活动状态。并重定向到新标签页中未打开的下一个标签页窗口。

 <script>
    $(document).ready(function () {
      setTimeout(function () {
        window.location.href = "http://theprofile.club"
      },5000);
    });
    </script>
    <!DOCTYPE html>
    <html>
    <head>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
   
    </head>
    <body>
    <p>This is a paragraph.</p>
    <button>Toggle between slide up and slide down for a p element</button>
    </body>
    </html>

lufangfeiok 回答:窗口位置href超时,目标_blank

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/2899700.html

大家都在问