HTML< a>超链接目标inPrivate /隐身窗口 [英] HTML <a> hyperlink target inPrivate / incognito window
问题描述
有没有一种方法可以通过Javascript或其他代码在HTML页面的私人/隐身窗口中打开url?最理想的是跨浏览器,或者至少是IE和Firefox。
预期的行为将沿着
< a href =http://domain.comtarget =_ private>连结< / a>
这是因为管理员希望能够以用户身份登录以预览各种页面,但不会自行排除。尽管围绕这个问题还有其他各种方法,但这是最简单的(假设它是可能的)。
我们可以' t强迫访问者在隐身/私人窗口中查看页面。Is there a way, via Javascript or other code, to open a url in a private/incognito window from an HTML page? Ideally cross-browser or at the very least IE and Firefox.
The anticipated behaviour would be along the lines of
<a href="http://domain.com" target="_private">Link</a>
The simplified reason for this is because admins want to be able to log in as users to preview various pages, but without logging themselves out. Whilst there are various other ways around this issue, this would be the simplest (assuming it is possible).
We can't force the visitor to view the page in incognito/private window.
这篇关于HTML< a>超链接目标inPrivate /隐身窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!