I'm looking for this, but I don't find the solution.
I'm opening a popup using:
window.open(url, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=yes, copyhistory=no, width=w, height=h, top=top, left=left');
All is ok, but it doesn't work, at least in chrome, and I need it working. I found solutions like location=no (but it doesn't work) and use jquery-ui or others libraries...but I need with pure javascript...
Anyone know about this?
EDIT
After this, I'd need hide buttons of maximize and minimize. Thanks in advance for any help.
EDIT 2
And what about minimize and maximize buttons? Is possible delete them in a popup?
Thanks very much, Daniel
var winFeature = 'location=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes'; window. open('Result. html','null',winFeature); In many solutions, just the location=no attribute can hide the address bar (in both IE & Chrome).
Step 1: Type about:flags in the Chrome address bar and hit Enter. Step 2: Scroll down the list until you see Compact Navigation. Step 3: Enable Compact Navigation and let Chrome restart to access the feature. Step 4: Once the Chrome opens, right-click one of the tabs and then select Hide the toolbar.
Switch to full-screen mode Another simple way to hide the URL bar in Chrome is to go full-screen by pressing F11 or Fn + F11 , depending on whether the Function (Fn) key is locked or unlocked. Remember that this method will hide the tabs as well and only open the current tab in full-screen mode.
No you can't. Imagine spoofing https://yourbank.com/ instead of http://fakesite.com/ . The only way to see a different URL is to proxy the response, or putting it in a frame. The only way to "hide" your URL would be to use frames.
Most browsers do not allow you to hide the address of the page anymore. This is for safety reasons, otherwise a phishing site could be placed in front of you and you would have no idea.
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