Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

How to adjust the duration for displaying push-messages in Firefox?

  • 1 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi Matthew Thomas

more options

So I'm trying to make Firefox's push-notifications be displayed for a longer duration than the usual; I'm hoping to get them to stay visible for several minutes, instead of a few seconds. Perhaps the is a solution that doesn't require us to mess with the responsible API by ourselves? Another matter, also concerning those push-notifications: may it be possible to force them to always appear for a specific website, independently of the status of the Firefox-window? In our current case, they only seem to appear if it's minimized. Any help would be greatly appreciated!

So I'm trying to make Firefox's push-notifications be displayed for a longer duration than the usual; I'm hoping to get them to stay visible for several minutes, instead of a few seconds. Perhaps the is a solution that doesn't require us to mess with the responsible API by ourselves? Another matter, also concerning those push-notifications: may it be possible to force them to always appear for a specific website, independently of the status of the Firefox-window? In our current case, they only seem to appear if it's minimized. Any help would be greatly appreciated!

Tất cả các câu trả lời (1)

more options

Hi,

Go to about:config and set alerts.disableSlidingEffect false.

Then, use Stylish or userChrome.css to apply this style:

/**/ @namespace "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";

@-moz-document url("chrome://global/content/alerts/alert.xul") { #alertBox[animate] { animation-duration: 4s !important; } } /**/

This should override the duration for you. Modify the 4s to whatever duration you want.