How to pop out a Firefox wind开发者_开发技巧ow without an address bar or status, basically what i need is a bar minimum window that renders my html.
As far as I know, it's possible in neither Firefox nor Internet Explorer any more for security reasons.
If you're building a web application, you could try Mozilla Prism:
Prism is a simple XULRunner based browser that hosts web applications without the normal web browser user interface. Prism is based on a concept called Site Specific Browsers (SSB). An SSB is an application with an embedded browser designed to work exclusively with a single web application. It doesn’t have the menus, toolbars and accoutrements of a normal web browser.
If you need to serve web pages to the public, it's not for you, though. It needs client-side installation.
You can do it like this:
<a href="#" onclick="window.parent.open( 'http://www.google.com',
'','toolbar=0,location=0,directories=0,status=0,menubar=0,' +
'scrollbars=yes,resizable=yes,width=400,height=300').focus();
return false;">
Open Window
</a>
精彩评论