https:// |
showToaster : function(title, options) { if(!_isToasterInitialized){ throw new Error("FinesseToaster.showToaster() : Finesse toaster is not initialized"); } if(_isToasterDisabled){ logger.log("FinesseToaster.showToaster() : FinesseToaster is disabled"); return; } var notification, toasterTimer; if (window.Notification && window.Notification.permission === PERMISSION_GRANTED) { if (document.hasFocus() === false || options.showWhenVisible) { if (_logger && AUTO_CLOSE_TIME > -1) { notification = _createNotification(title, options); toasterTimer = _setAutoClose(notification, options.autoClose); _addToasterListeners(notification, options, toasterTimer); } } else { _logger.log("FinesseToaster supressed : Page is visible and FineeseToaster.options.showWhenVisible is false"); } } return notification; }, |
_setAutoClose = function(notification, autoClose) { var autoCloseTime = (autoClose && !isNaN(autoClose)) ? autoClose : AUTO_CLOSE_TIME; var toasterTimer = setTimeout(function() { notification.close(); }, autoCloseTime); return toasterTimer; }, |
C:\Users\ |
@-moz-document url("chrome://global/content/alerts/alert.xul") { #alertBox[animate] { animation-duration: 600s !important; } } |
HKEY_CURRENT_USER\Control Panel\Accessibility |