Firefoxの通知ポップアップのフォントサイズ,表示時間変更
概要
Firefoxにおける通知ポップアップのフォントサイズが小さく目に悪い,なおかつ表示時間が長すぎるので修正するためにユーザースタイルから変更した.
方法
about:config
のalerts.disableSlidingEffect
をflase
にしておく.
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;
}
}
about:config
のalerts.disableSlidingEffect
をflase
にしておく.
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ファイルを見ればだいたい分かる.
参考
Author And Source
この問題について(Firefoxの通知ポップアップのフォントサイズ,表示時間変更), 我々は、より多くの情報をここで見つけました https://qiita.com/hosu01/items/02d275b07e553fd26f19著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .