Disable Firefox Full Screen Animation Guide
In this article
To disable the animation that occurs when entering or exiting full screen mode in Mozilla Firefox, you must access the advanced configuration editor known as about:config. By modifying the specific preference full-screen-api.transition-duration.enabled and setting it to false, you can eliminate the sliding or fading transition, resulting in an instantaneous switch to full screen. This modification is particularly useful for users who find the animation distracting, those seeking to reduce input latency, or individuals using lower-end hardware where the transition animation may cause momentary stuttering or frame drops.
What You'll Need
- A computer running a current version of the Mozilla Firefox web browser.
- Administrative access to the browser settings (standard user permissions are usually sufficient).
- A basic understanding of how to navigate the browser's address bar.
Step-by-Step
- Open the Firefox Browser: Launch Mozilla Firefox on your operating system. Ensure that you have a tab open and that the browser is functioning normally before attempting to modify internal configuration settings.
- Access the Configuration Editor: Click into the address bar (URL bar) at the top of the window. Type
about:configand press the Enter key. - Accept the Warning: Firefox will display a warning page stating "This page is a feature of Mozilla Firefox, but it is not meants for everyone." This is a safety measure because changing the wrong setting can affect browser stability. Click the button labeled "Accept the Risk and Continue" to proceed to the preferences list.
- Search for the Transition Preference: At the top of the page, you will see a search box labeled "Search preference name." Carefully type or copy and paste the following string:
full-screen-api.transition-duration.enabled. - Locate the Specific Entry: As you type, Firefox will filter the thousands of available preferences. Once the list narrows down, locate the row for
full-screen-api.transition-duration.enabled. You will see its current value, which is typically set totrueby default. - Toggle the Value: To disable the animation, double-click the preference row, or click the toggle button (represented by two arrows or a switch icon) on the far right side of the row. The value should change from
truetofalse. - Verify the Change: You do not need to click a save button, as changes in about:config are applied instantly. To verify that the animation is gone, navigate to a website with video content (like YouTube) or press the F11 key to enter full screen. The transition should now be immediate without any sliding movement.
- Close the Configuration Tab: Once you have confirmed the animation is disabled, you can close the
about:configtab and return to your normal browsing session.
Common Mistakes
One of the most frequent errors users make is misspelling the preference name in the search bar. Because about:config contains thousands of entries, a single typo—such as writing "transition-duration-enabled" without the period—will result in no matches being found. Always double-check the spelling or use the copy-paste method to ensure accuracy.
Another common mistake is confusing full-screen-api.transition-duration.enabled with other animation settings. For example, some users attempt to disable ui.prefersReducedMotion. While this setting tells websites that the user prefers reduced motion, it does not always override the browser's own internal UI transitions for full-screen mode. To stop the browser's specific full-screen slide, you must target the full-screen-api preference specifically.
Some users also mistakenly believe that restarting the browser is required for the change to take effect. While some deep-level changes in Firefox require a restart, the full-screen transition toggle is dynamic. If the animation is still present after toggling the setting to false, the issue is likely related to hardware acceleration or an OS-level setting rather than a failure of the about:config change.
Tips
If you find that disabling the animation makes the transition feel too jarring, you can revert the change at any time by returning to about:config and toggling the value back to true. There is no permanent damage to the browser profile when adjusting this specific setting.
For users who want a completely "static" experience, consider combining this step with the operating system's accessibility settings. In Windows, for example, you can go to Settings > Accessibility > Visual Effects and turn off "Animation effects." Doing this in tandem with the Firefox setting ensures that neither the OS nor the browser is adding artificial delays to your visual experience.
If you use multiple Firefox profiles, remember that about:config settings are profile-specific. If you have a separate profile for work and personal use, you will need to perform these steps in each profile individually to ensure the animation is disabled across all your browsing environments.
Troubleshooting
If you have set full-screen-api.transition-duration.enabled to false but the animation still persists, first check if you are using a third-party theme or a userChrome.css modification. Custom CSS files used to skin the Firefox UI can sometimes override default browser behaviors or introduce their own transition animations that are independent of the internal API settings. Try disabling your custom CSS or switching back to the default theme to see if the animation disappears.
Another possibility is a conflict with Hardware Acceleration. In some rare cases, the GPU handles the window transition in a way that mimics an animation even when the software trigger is disabled. To test this, go to Settings > General > Performance. Uncheck "Use recommended performance settings" and then uncheck "Use hardware acceleration when available." Restart Firefox and test the full-screen transition. If the animation is gone, you may need to update your graphics drivers to ensure the browser's API commands are being followed correctly by your hardware.
If the search bar in about:config is not returning any results for the preference, it is possible you are using a very outdated version of Firefox. Ensure your browser is updated to the latest version via the Help > About Firefox menu. If you are using a fork of Firefox (such as LibreWolf or Waterfox), the preference name might be slightly different or may have been disabled by default by the developers of that specific distribution.
Frequently Asked Questions
Does disabling this animation improve gaming performance?
While it won't increase your frames per second (FPS) inside a game or a web-based application, it removes the perceived delay when switching modes. This makes the browser feel more responsive, which can be beneficial for users who frequently toggle full screen during high-intensity tasks.
Is it safe to change settings in about:config?
Generally, yes, as long as you know exactly which preference you are changing. Modifying full-screen-api.transition-duration.enabled is a low-risk change that does not affect the stability of the browser or the security of your data.
Will this change affect how websites look?
No. This setting only affects the browser's internal transition when the window itself enters full-screen mode. It does not change the CSS animations, transitions, or layouts of the actual websites you visit.
Does this work for the F11 key and the video full-screen button?
Yes, this setting applies to the Full Screen API. This means it covers both the manual trigger of the F11 key and the programmatic trigger used by video players (like the full-screen icon on a YouTube video) to expand the view.
Can I disable all animations in Firefox at once?
There is no single "off" switch for every single animation in the browser, but you can search about:config for "animation" to find various other preferences. Additionally, setting ui.prefersReducedMotion to 1 can signal to many parts of the UI to simplify transitions.