I want to open a link in the same window and in the same tab that contains the page with the link.
(我想在同一窗口和包含带链接的页面的同一选项卡中打开一个链接。)
When I try to open a link by using window.open
, then it opens in new tab—not in the same tab in the same window.
(当我尝试使用window.open
打开链接时,它会在新选项卡中打开 - 而不是在同一窗口的同一选项卡中。)
ask by user1065055 translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…