Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

userChrome.css don't work

  • 9 odpowiedzi
  • 1 osoba ma ten problem
  • 76 wyświetleń
  • Ostatnia odpowiedź od khoa030634

more options

I try to disable the transition to fullscreen by following the steps. But after restart the Firefox ESR (waterfox), the rule don't apply. The rule:

/* Minimize fullscreen transition time */
#navigator-toolbox[fullscreenShouldAnimate] {
    transition: 0ms !important;
}
I do set the
toolkit.legacyUserProfileCustomizations.stylesheets
in about:config already.
I try to disable the transition to fullscreen by following the [https://www.userchrome.org/how-create-userchrome-css.html steps]. But after restart the Firefox ESR (waterfox), the rule don't apply. The rule: <pre> /* Minimize fullscreen transition time */ #navigator-toolbox[fullscreenShouldAnimate] { transition: 0ms !important; } </pre> '''I do set the <pre>toolkit.legacyUserProfileCustomizations.stylesheets</pre> in about:config already.'''

Zmodyfikowany przez khoa030634 w dniu

Wybrane rozwiązanie

I think that this CSS code is about showing the navigator toolbox in Full Screen mode when auto-hide is enabled.

The prefs only work when you use JavaScript to switch to Full Screen mode.

What animation do you want to control and for what cases (manual switch from normal mode to full screen like via F11) ?

Przeczytaj tę odpowiedź w całym kontekście 👍 0

Wszystkie odpowiedzi (9)

more options

Where did you find it? I don't think these are the proper steps to do this task.

more options

I get instructions from here.

more options

I can't see how this could work now. Did you try the about:config solution?

more options
Yes, I have set the
toolkit.legacyUserProfileCustomizations.stylesheets
in about:config to true but it won't work for some reason.

Zmodyfikowany przez khoa030634 w dniu

more options

No, did you try to modify full-screen-api.transition* preferences?

more options

Wybrane rozwiązanie

I think that this CSS code is about showing the navigator toolbox in Full Screen mode when auto-hide is enabled.

The prefs only work when you use JavaScript to switch to Full Screen mode.

What animation do you want to control and for what cases (manual switch from normal mode to full screen like via F11) ?

more options

Yes, I wanna control the manual switch from normal mode to full screen via F11 without the navigator toolbox doing the moving up transition.

Zmodyfikowany przez khoa030634 w dniu

more options

Now it works fir some reason. Thanks for the help btw.