Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

How can I make a small window with no toolbars or other chrome?

  • 2 个回答
  • 3 人有此问题
  • 6 次查看
  • 最后回复者为 Mike Cooper

more options

I want to create a second Firefox window that is smaller and has no chrome (toolbars, etc), so I can use it for things like pop out videos or reference pages. I could just pop out a window and manually remove all the things, but then this affects my main window next time I restart Firefox.

I want to create a second Firefox window that is smaller and has no chrome (toolbars, etc), so I can use it for things like pop out videos or reference pages. I could just pop out a window and manually remove all the things, but then this affects my main window next time I restart Firefox.

所有回复 (2)

more options

Are you using the javascript method window.open() to create the popup? If so, you could try the features parameter.

https://developer.mozilla.org/en-US/docs/DOM/window.open

Note that by default, Firefox preserves some features, but you might be able to let those go by toggling various settings in about:config.

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the filter box, type or paste window_ and pause while the list is filtered

For each of the preferences starting with

dom. disable_window_open_feature.

if the value is true, the script cannot remove that feature. If you toggle it to false by double-clicking, then your window.open() should be able to strip that feature. Unfortunately, this is not site-specific, so other sites also would have permission to omit those features.

more options

I'm not trying to do this on a particular page as a developer. I'm trying to do this for any page as a user. I guess I could make a bookmarklet that does this by opening a page in a new window and disabling as many features as I care to.