- 320 名前:名無しさん@お腹いっぱい。 mailto:sage [2007/09/01(土) 02:30:27 ID:XZSzST0m0]
- >>317
ツール→アドオン(ダウンロード)の所は無理だね。 なので、さくっと弄ってみた。 <script type="application/x-javascript" xmlns="www.w3.org/1999/xhtml"> <![CDATA[ var menu = document.getElementsByAttribute("label", "\u30a2\u30c9\u30aa\u30f3")[0]; if(menu) { menu.setAttribute("oncommand", "toggleSidebar('viewAddonsSidebar');"); menu.removeAttribute("command"); } var menu = document.getElementsByAttribute("label", "\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9")[0]; if(menu) { menu.setAttribute("oncommand", "toggleSidebar('viewDownloadsSidebar');"); menu.removeAttribute("command"); } var menu = document.getElementById("downloads-button"); if(menu) { menu.setAttribute("oncommand", "toggleSidebar('viewDownloadsSidebar');"); menu.removeAttribute("command"); } ]]> </script> を</menupopup>と</overlay>の間に挿入してください。 ついでにツールバーボタンのダウンロードの方もサイドバー表示するようにしておいた。 ちなみにlabel取得なのはFx2では両方ともIDが振られてないから……。なので、>>306みたいな事してlabel弄ってたり、別言語版だと動かないかと思われます。 Fx3だとIDが割り振られてるんだけどなぁ……。
|

|