2005/11/30 Firefox ネタ : userChrome.css で Stop-or-Reload Button もどき
Stop-or-Reload Button のソースを見たら userChrome.css で実現できそうだったのでやってみた。
/* Stop-or-Reload Buttonもどき(中止ボタンの右に更新ボタンを置くこと) */
#stop-button:not([disabled=true]) + #reload-button,
#stop-button[disabled=true]
{
display:none !important;
}
ポイントは擬似クラスで disabled=true を否定するのと 隣接セレクタを使うことかな。 必ず中止ボタンの右に更新ボタンがないとダメなのが弱点か?
2005/11/23 IntelliPoint 5.2 で設定できないキー
IntelliPoint 5.2 だとサイドボタンに Ctrl+Tab が割り当てられないんで X Wheel NT を使ってたんだけど、レジストリをいじれば設定できるらしい。 ということで以下のような感じにしてみた。
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\IntelliPoint\EventMapping]
[HKEY_CURRENT_USER\Software\Microsoft\IntelliPoint\EventMapping\4]
"Setting"=dword:000001f8
[HKEY_CURRENT_USER\Software\Microsoft\IntelliPoint\EventMapping\6]
"Setting"=dword:0000019c
"Keystroke"=dword:00000473
"KeystrokeText"="Alt + F4"
[HKEY_CURRENT_USER\Software\Microsoft\IntelliPoint\EventMapping\8]
"Setting"=dword:0000019c
"Keystroke"=dword:00000209
"KeystrokeText"="Ctrl + Tab"
これでばっちり小さい方のサイドボタンが Ctrl+Tab に。 X Wheel NT はいらなくなったな。