hide bar address in popup ( chrome ) [duplicate]

喜欢而已 提交于 2019-12-05 11:30:29

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!