确定浏览器窗口是否有地址栏 [英] Determine if browser window has an address bar

查看:78
本文介绍了确定浏览器窗口是否有地址栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我正在寻找一种方法,使用JavaScript来确定浏览器

窗口是否有地址栏。


谢谢,

Raffi

解决方案

Raffi在11上说了以下内容/ 21/2005 3:56 PM:



我正在寻找一种方法,使用JavaScript来确定浏览器窗口是否有地址吧。




你不能。


-

Randy
comp.lang.javascript常见问题 - http://jibbering.com/faq&新闻组每周

Javascript最佳实践 - http://www.JavascriptToolbox .com / bestpractices /


Randy Webb写道:

Raffi于2005年11月21日下午3:56发表以下文章:



我正在寻找一种方法,使用JavaScript来确定浏览器窗口是否有地址栏。



你不能。

-
Randy
comp.lang.javascript常见问题 - http://jibbering.com/faq &新闻组每周
Javascript最佳实践 - http://www.JavascriptToolbox.com/bestpractices /




打开窗口时,可以使用location属性指定。

有没有办法得到这个当前窗口的属性?我知道

这可以用于窗口大小和可能的位置。


Raffi

>有没有办法在当前窗口获取此属性?


Nop。绝对没办法。


Hi,

I''m looking for a way using JavaScript to determine if the browser
window has an address bar.

Thanks,
Raffi

解决方案

Raffi said the following on 11/21/2005 3:56 PM:

Hi,

I''m looking for a way using JavaScript to determine if the browser
window has an address bar.



You can''t.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/


Randy Webb wrote:

Raffi said the following on 11/21/2005 3:56 PM:

Hi,

I''m looking for a way using JavaScript to determine if the browser
window has an address bar.



You can''t.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/



When opening a window, you can specify this with the location property.
Is there no way to get this property for the current window? I know
this can be done for the window size and possibly position.

Raffi


> Is there no way to get this property for the current window?

Nop. Absolutely no way.


这篇关于确定浏览器窗口是否有地址栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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