• <tfoot id='nS1t8'></tfoot>

    1. <small id='nS1t8'></small><noframes id='nS1t8'>

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

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

        如何在 Google Chrome 中使用工具栏打开 window.open?

        时间:2023-10-01

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

          <legend id='LCpWM'><style id='LCpWM'><dir id='LCpWM'><q id='LCpWM'></q></dir></style></legend>
          <tfoot id='LCpWM'></tfoot>

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

                • 本文介绍了如何在 Google Chrome 中使用工具栏打开 window.open?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  以下 javascript 在 Firefox、Safari、IE 和 Google Chrome 中打开一个弹出窗口:

                  The following javascript opens a pop-up in Firefox, Safari, IE, and Google Chrome:

                  window.open("http://google.com", "foo", "toolbar=yes,location=yes,menubar=yes")
                  

                  但是,在 Google Chrome 中,工具栏(带有通常的前进和后退按钮等)不会出现在弹出窗口中.(在 Windows 和 Mac 上测试.)

                  However, in Google Chrome the toolbar (with the usual forward and back buttons, etc.) does not appear on the popped-up window. (Tested on both Windows and Mac.)

                  我该如何解决这个问题?我希望用户能够使用他们最熟悉的工具向前和向后导航.

                  How can I fix this? I would like the user to be able to navigate forward and back using the tools with which they are most familiar.

                  推荐答案

                  不幸的是,Chrome 在使用 window.open 时只支持一小部分窗口功能.如果您认为这是一个错误或问题,您可以将其提交到 [http://crbug.com].

                  Unfortunately Chrome only supports a small set of window features when using window.open. If you believe that this is a bug or an issue you can file it at [http://crbug.com].

                  如果您只使用 window.open(url) ,那么它将在同一个窗口中打开一个新标签页,其中包含您想要的按钮.

                  If you just use window.open(url) then it will open a new tab in the same window with the buttons you desire.

                  这篇关于如何在 Google Chrome 中使用工具栏打开 window.open?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何防止谷歌浏览器阻止我的弹出窗口? 下一篇:有没有办法确定一个 &lt;select&gt;下拉菜单是否打开?

                  相关文章

                • <legend id='JKz3M'><style id='JKz3M'><dir id='JKz3M'><q id='JKz3M'></q></dir></style></legend>
                    <bdo id='JKz3M'></bdo><ul id='JKz3M'></ul>

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

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

                      <tfoot id='JKz3M'></tfoot>