アナログ
RSS  

Firefox:コンテキストメニューのいらない項目を消す2009/08/08 00:05

Menu Editorをアンインストールしたら、メニューが煩雑で使いづらい。
せめて右クリックメニューから使わない項目を消してすっきりしようかと。

Menu Editorをインストールした環境だとプロファイルにmenuedit.rdfというファイルがありますので、右クリックして表示されたメニューの項目名をメモしてから、menuedit.rdfを開きます。
(C:\Documents and Settings\[ユーザ名]\Application Data\Mozilla\Firefox\Profiles\[英数字].default\menuedit.rdf)

例えば中止だと
<NC:Menuitem RDF:about="http://home.netscape.com/NC-rdf#context-stop"
                 NC:Visibility="visible"
                 NC:Name="中止" />
となってますので、userChrome.cssに
#context-stop {display: none !important;}
と記述すれば、メニューから消えてくれます。
セパレータは分かりにくいですが*-sep-*になってますので、検討はつくかと。

ということで、いらなさそうなのをサクっとな。
userChrome.css
/* コンテキストメニュー非表示項目 */
#context-back,#context-forward,#context-reload,#context-stop,
#context-sep-stop,#context-bookmarkpage,#context-sendpage,
#context-openlink,#context-bookmarklink,#context-sendlink,
#context-copyimage-contents,#context-setDesktopBackground,
#context-blockimage,#context-sendimage
{display: none !important;}

あとは並びを変えたいけど、やり方が分からな(´・ω・) ス


えっ!Menu Editorをインストールしたことがない環境?
ググれw
コンテキストメニュー 非表示 - Google 検索
この辺とか
小さな瞬き:Firefox - コンテキストメニュー(右クリックメニュー)の編集



「最初からググった方が早かったんじゃね」とかいうな!(涙)

コメント

コメントをどうぞ

※メールアドレスとURLの入力は必須ではありません。 入力されたメールアドレスは記事に反映されず、ブログの管理者のみが参照できます。

※投稿には管理者が設定した質問に答える必要があります。

名前:
メールアドレス:
URL:
次の質問に答えてください:
スパムがウザイので合い言葉を入れるようにしました。山と言えば川だろJK


コメント:

トラックバック

このエントリのトラックバックURL: http://puppet.asablo.jp/blog/2009/08/08/4486350/tb

※なお、送られたトラックバックはブログの管理者が確認するまで公開されません。

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy