如何屏蔽window.open打开窗口标题栏的url显示
2010-02-25 12:32
567 查看
http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_22902951.html
b0lsc0tt:InvoiceInsight,
Not with window.open. You would have to use a frame, iframe, etc to hide the URL. Javascript only provides limited options/settings for "popup windows" and modifying or setting the title is not one of them.
By the way, that practice is usually appreciated by web users so they know the page they are viewing. I can understand cases where you would want that hidden but it would be abused too.
Let me know if you have any questions or need more information.
b0lsc0tt
用frame就可以屏蔽了.
自己后来尝试这么做,发现并不是这么回事.原来是信任站点问题.不过又出难题了,怎么添加?继续google
b0lsc0tt:InvoiceInsight,
Not with window.open. You would have to use a frame, iframe, etc to hide the URL. Javascript only provides limited options/settings for "popup windows" and modifying or setting the title is not one of them.
By the way, that practice is usually appreciated by web users so they know the page they are viewing. I can understand cases where you would want that hidden but it would be abused too.
Let me know if you have any questions or need more information.
b0lsc0tt
用frame就可以屏蔽了.
<frameset rows="0,*" cols="*" framespacing="0" frameborder="no" border="0"> <frame src="javascript:false" name="topFrame" scrolling="no" noresize="noresize" id="topFrame" title="topFrame" /> <frame src="http://www.baidu.com" name="mainFrame" id="mainFrame" title="mainFrame" /> </frameset>
自己后来尝试这么做,发现并不是这么回事.原来是信任站点问题.不过又出难题了,怎么添加?继续google
相关文章推荐
- JavaScript基础 window.open(url,name,options) 弹出一个 新窗口 屏幕居中显示 获取屏幕的有效宽度
- window.open打开窗口居中显示
- 检测出调用window.open()打开的弹出窗口是不是被屏蔽了
- 用window.open打开的新窗口如何居中弹出
- window.open打开窗口时要使窗口去掉菜单栏、工具栏、标题栏,达到窗口最大化
- 如何防止window.open打开的弹出窗口被浏览器拦截
- window.open打开窗口时要使窗口去掉菜单栏、工具栏、标题栏,达到窗口最大化
- js window.open('url','_blank') 打开服务器端临时文件, ie窗口一闪而过
- 新窗口window.open() url不显示参数,后面页面可以接收参数 ——后面页面为html
- Window.open 打开的窗口标题中包含url
- JavaScript基础 window.open(url,name,options) 在新打开的窗口中写一些文字
- 用window.open方法打开新窗口显示提示信息
- JavaScript基础 window.open(url,name,options) 在新打开的窗口中写一些文字
- 子窗口在用window.open()方法打开后,如何关闭后刷新父窗口
- 用window.open方法打开新窗口显示提示信息
- 由window.open打开的窗口如何通知父窗口自己已经关闭
- JavaScript基础 window.open(url,name,options) 弹出一个 新窗口 屏幕居中显示 获取屏幕的有效宽度
- window.open()打开窗口的几种方式
- javascript:window.open 打开最大化窗口设置及详解
- javascript:window.open 打开最大化窗口设置及详解