Firefoxの通知ポップアップのフォントサイズ,表示時間変更


概要

Firefoxにおける通知ポップアップのフォントサイズが小さく目に悪い,なおかつ表示時間が長すぎるので修正するためにユーザースタイルから変更した.

方法

  1. about:configalerts.disableSlidingEffectflaseにしておく.

  2. Stylishに次のコードを追加する.

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

@-moz-document url("chrome://global/content/alerts/alert.xul") {
    .alertText{
      font-size: 11pt !important;
    }
}

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

xulファイルを見ればだいたい分かる.

参考

Customize timeout of notifications? : reddit