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!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

userChrome.css: notification-animation

  • 2 个回答
  • 1 人有此问题
  • 5 次查看
  • 最后回复者为 mrtodfod

more options

Version: 66.0.4 (64-bit) fedora -1.0 (linux fedora 28) I can't get following to work: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

@-moz-document url("chrome://global/content/alerts/alert.xul") {

       #alertBox[animate] {
               animation-duration: 999s !important;
       }

}

I also tried: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

  • { animation-duration: 999s !important;}

The file is correctly put under: .mozilla/firefox/0b1lldqo.default-1468459052444/chrome and named: userChrome.css

notify-send -t 440000 "hello"  : works just fine.

Thanks a lot, appreciate any help.

MR

Version: 66.0.4 (64-bit) fedora -1.0 (linux fedora 28) I can't get following to work: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); @-moz-document url("chrome://global/content/alerts/alert.xul") { #alertBox[animate] { animation-duration: 999s !important; } } I also tried: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); * { animation-duration: 999s !important;} The file is correctly put under: .mozilla/firefox/0b1lldqo.default-1468459052444/chrome and named: userChrome.css notify-send -t 440000 "hello" : works just fine. Thanks a lot, appreciate any help. MR

所有回复 (2)

more options

What do you want to achieve with this code in userChrome.css ?

Do you want the notification to stay on the window for a longer time?

more options

Yes, I want it to stay for longer, or until I click. Thanks.