Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

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

  • 2 antwoorden
  • 3 hebben dit probleem
  • 6 weergaven
  • Laatste antwoord van 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.

Alle antwoorden (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.