Search Support

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

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

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

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!

All Replies (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.