This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 2 பதிலளிப்புகள்
  • 3 இந்த பிரச்னைகள் உள்ளது
  • 6 views
  • Last reply by Mike Cooper

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.

All Replies (2)

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.

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.