I would like to disable the transition animation when I hit F11 to go full screen on Firefox.

The animation slowly pulls up all the tabs and bars off the screen instead of immediately hiding everything.

2 Answers 2


In the newest versions of Firefox:

  1. Open the about:config website
  2. Set toolkit.cosmeticAnimations.enabled to false

Tested on:

  • Firefox 57.0b9 (32-bit) from the Debian experimental branch running on Debian testing (buster)
  • Firefox 56.0 (64-bit) running on Ubuntu 17.10
  • Firefox 68.0 (64-bit) running on FreeBSD 13.0-CURRENT


  • 2
    Unfortunately this doesn't seem to work in Firefox 77.0.
    – jmkjaer
    Jun 8, 2020 at 10:19
  • This is no longer the answer for the "newest versions of Firefox".
    – Herohtar
    Sep 14, 2022 at 21:12

Firefox 83.0:

  1. Open the about:config
  2. Change full-screen-api.transition-duration.enter from 200 200 to 0 0.
  3. Change full-screen-api.transition-duration.leave from 200 200 to 0 0.
  • 2
    Hmmm, I've got all those set to zeros, but it still does not disable the animations for me on Firefox 83.0. Nov 23, 2020 at 10:45
  • 1
    This disables the fade-to-black transition that happens when going fullscreen with the Fullscreen API, but has no effect on the UI element animation that the question is referring to.
    – Herohtar
    Sep 14, 2022 at 21:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.