阅读:3777回复:6
Firefox绝不仅仅是个浏览器
在Firefox/Mozilla上可以开发基于XUL的有丰富界面的跨平台internet应用程序,下面是个例子,请用Firefox看
http://www.faser.net/mab/chrome/content/mab.xul 或者 http://www.faser.net/img/faser_one_list_news.png |
|
1楼#
发布于:2005-03-26 22:18
太专业了````````
|
|
|
2楼#
发布于:2005-03-26 22:18
asahi:如果这么发展下去会不会出现IE目前的问题,就是和系统关联太多,一旦有安全漏洞危害太大。 XUL实际上只是一个界面,和微软的XAML差不多,它的权限和HTML代码是一样的,如果那个保存按钮有效的话,也只能通过Javascript或者是服务器上的脚本运行,对于本机的权限是很有限的,具体请看下面的文字。 http://www.xulplanet.com/tutorials/xulqa/q_secure.html is XUL security different than HTML? XUL and HTML have exactly the same permisssions with respect to what operations that can and cannot do. The only way to run privileged code, for example to read a user's bookmarks or files from disk, is to sign the code with a digital signature, or have the code installed as chrome. XUL files loaded from the local file system which have not loaded from chrome (meaning, loaded from a file: URL) have the same permissions as remote XUL. Only XUL loaded from chrome using a chrome: URL gains special permissions. The same restrictions also apply to any other type of content, for instance if you wanted to load HTML through chrome, it would also have full permissions. Downloads About XULPlanet Contact Us mozilla.org mozdev.org MozillaZine.org |
|
3楼#
发布于:2005-03-26 22:18
呵呵,其实整个Firefox界面本身就是一个XUL,
我们用的几乎所有Gecko内核产品的界面,几乎都是XUL 写的。像Mozilla, Netscape, Thunderbird... |
|
|
4楼#
发布于:2005-03-26 22:18
如果这么发展下去会不会出现IE目前的问题,就是和系统关联太多,一旦有安全漏洞危害太大。
比如楼主的第一个链接,那个保存按钮不能使用,如果能使用的话,保存在什么地方?本机?还是直接发送到网站?这个程序能不能读取客户端文件信息?如果可以,那么怎么样防止本机的个人文件不被传输到网上。IE的ActiveX就是因为功能太强大才造成了安全性不佳的状况。 |
|
5楼#
发布于:2005-03-26 22:18
好神气`啊``究竟是什么呢?希望谁能告诉下我``
|
|
|
6楼#
发布于:2005-03-26 22:18
rich client.
the future of web. |
|