• <i id='meBM6'><tr id='meBM6'><dt id='meBM6'><q id='meBM6'><span id='meBM6'><b id='meBM6'><form id='meBM6'><ins id='meBM6'></ins><ul id='meBM6'></ul><sub id='meBM6'></sub></form><legend id='meBM6'></legend><bdo id='meBM6'><pre id='meBM6'><center id='meBM6'></center></pre></bdo></b><th id='meBM6'></th></span></q></dt></tr></i><div id='meBM6'><tfoot id='meBM6'></tfoot><dl id='meBM6'><fieldset id='meBM6'></fieldset></dl></div>

        • <bdo id='meBM6'></bdo><ul id='meBM6'></ul>
        <tfoot id='meBM6'></tfoot>
        <legend id='meBM6'><style id='meBM6'><dir id='meBM6'><q id='meBM6'></q></dir></style></legend>
      1. <small id='meBM6'></small><noframes id='meBM6'>

      2. 如何使用 php 或 javascript 获取所有浏览器中当前打开的选项卡的 url?

        时间:2023-12-02
          <bdo id='f597D'></bdo><ul id='f597D'></ul>

            <legend id='f597D'><style id='f597D'><dir id='f597D'><q id='f597D'></q></dir></style></legend>

              <i id='f597D'><tr id='f597D'><dt id='f597D'><q id='f597D'><span id='f597D'><b id='f597D'><form id='f597D'><ins id='f597D'></ins><ul id='f597D'></ul><sub id='f597D'></sub></form><legend id='f597D'></legend><bdo id='f597D'><pre id='f597D'><center id='f597D'></center></pre></bdo></b><th id='f597D'></th></span></q></dt></tr></i><div id='f597D'><tfoot id='f597D'></tfoot><dl id='f597D'><fieldset id='f597D'></fieldset></dl></div>

                <tfoot id='f597D'></tfoot>

                  <small id='f597D'></small><noframes id='f597D'>

                    <tbody id='f597D'></tbody>
                1. 本文介绍了如何使用 php 或 javascript 获取所有浏览器中当前打开的选项卡的 url?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  如果有人可以指导一下或对如何使它成为可能知之甚少,请告诉我.

                  If anyone can guide a bit or have little knowledge how to make it possible, please let me know.

                  谢谢

                  推荐答案

                  您不能,此信息无法通过任何标准界面获得(除了您已经参考的窗口).你可以看到为什么.您不希望您的一个标签的网站所有者能够知道您所有其他标签的显示内容,这将大量侵犯您的隐私.

                  You can't, this information is just not available via any standard interface (except for a window you already have a reference to). You can see why. You wouldn't want the site owner for one of your tabs to be able to know what all your other tabs were showing, that would be a massive invasion of your privacy.

                  对于您已经引用的窗口,您可以获取该窗口正在显示的任何内容的 URL (window.location.href),也可能是其父窗口的 URL (window.parent.location.href)、顶级 (window.top.location.href) 和下级框架 (window.frames[n].location.href — 我想).但这不会让你得到你要求的标签.

                  For windows you already have a reference to, you can get the URL of whatever that window is showing (window.location.href), and possibly that of its parent window (window.parent.location.href), top-level (window.top.location.href), and subordinate frames (window.frames[n].location.href — I think). But that's not going to get you the tabs you asked for.

                  此信息可能通过各种浏览器的扩展机制(Firefox 插件、Chrome 扩展等)获得,但这仅适用于需要用户显式安装的浏览器扩展,并且(目前) 需要为每个浏览器供应商编写一个,并非所有供应商都提供扩展机制.

                  This information is likely available via the extension mechanism of various browsers (Firefox add-ins, Chrome Extensions, etc.), but that would be only for a browser extension, which requires an explicit install from the user, and (currently) requires writing one for each browser vendor, where not all vendors offer an extension mechanism.

                  另外:此信息肯定不会发送到服务器端(您标记了您的问题 php).

                  Separately: This information is certainly not sent server-side (you tagged your question php).

                  这篇关于如何使用 php 或 javascript 获取所有浏览器中当前打开的选项卡的 url?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何检测用户是否为同一会话打开两个选项卡? 下一篇:我想打开一个新标签而不是弹出窗口

                  相关文章

                  <tfoot id='kM0G4'></tfoot>

                    <small id='kM0G4'></small><noframes id='kM0G4'>

                    <legend id='kM0G4'><style id='kM0G4'><dir id='kM0G4'><q id='kM0G4'></q></dir></style></legend>
                  1. <i id='kM0G4'><tr id='kM0G4'><dt id='kM0G4'><q id='kM0G4'><span id='kM0G4'><b id='kM0G4'><form id='kM0G4'><ins id='kM0G4'></ins><ul id='kM0G4'></ul><sub id='kM0G4'></sub></form><legend id='kM0G4'></legend><bdo id='kM0G4'><pre id='kM0G4'><center id='kM0G4'></center></pre></bdo></b><th id='kM0G4'></th></span></q></dt></tr></i><div id='kM0G4'><tfoot id='kM0G4'></tfoot><dl id='kM0G4'><fieldset id='kM0G4'></fieldset></dl></div>
                      <bdo id='kM0G4'></bdo><ul id='kM0G4'></ul>