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")
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.
Enabling Chrome Menu AccessOnce open, find the Settings option in the Hamburger Menu, the three dots or three lines in the top-right section of the browser. Once you open Settings, locate the Appearance section. The “show home button” will show that it is disabled. Click this item to enable it.
Windows - Press F11 (or Fn + F11 ). Mac - Hover your mouse at the top of the screen, then click the green circle in the top-left corner of the screen when it appears.
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].
If you just use window.open(url) then it will open a new tab in the same window with the buttons you desire.
There is a bug open for Chrome: https://code.google.com/p/chromium/issues/detail?id=82522
It has not received a lot of attention from Google. Vote for it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With