问题
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
回答1:
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.
来源:https://stackoverflow.com/questions/15230137/hide-bar-address-in-popup-chrome