在弹出窗口中隐藏栏地址(chrome) [英] hide bar address in popup ( chrome )

查看:212
本文介绍了在弹出窗口中隐藏栏地址(chrome)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找这个,但我找不到解决方案。

I'm looking for this, but I don't find the solution.

我正在打开弹出窗口:

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');

一切正常,但它不起作用,至少在chrome中,我需要它工作。
我找到了像 location = no 这样的解决方案(但它不起作用)并使用jquery-ui或其他库...但我需要使用纯javascript ...

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...

有人知道吗?

编辑

在此之后,我需要隐藏最大化和最小化的按钮。提前感谢您的帮助。

After this, I'd need hide buttons of maximize and minimize. Thanks in advance for any help.

编辑2

最小化的是什么并最大化按钮?可以在弹出窗口中删除它们吗?

And what about minimize and maximize buttons? Is possible delete them in a popup?

非常感谢,Daniel

Thanks very much, Daniel

推荐答案

大多数浏览器不允许您隐藏页面的地址。这是出于安全原因,否则可能会在您面前放置钓鱼网站,您可能根本不知道。

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.

这篇关于在弹出窗口中隐藏栏地址(chrome)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆