Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

userChrome.css don't work

  • 9 件の返信
  • 1 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: 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.'''

この投稿は khoa030634 により に変更されました

選ばれた解決策

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) ?

この回答をすべて読む 👍 0

すべての返信 (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.

この投稿は khoa030634 により に変更されました

more options

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

more options

選ばれた解決策

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.

この投稿は khoa030634 により に変更されました

more options

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