How to disable fullscreen fade out in firefox

In about:config set ‘0 0’ to this two:

full-screen-api.transition-duration.exit
full-screen-api.transition-duration.enter

:/

web