打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
firefox删除不需要的右键菜单选项

firefox删除不需要的右键菜单选项


·删除不需要的右键菜单选项  它允许你给菜单选项重新排序、也可让你隐藏菜单选项。 参考 http://kb-upgrade.mozillazine.org/index.php/Firefox_:_Tips_:_Customize_context_menu

参考扩展 Menu Editor。它允许你给菜单选项重新排序、也可让你隐藏菜单选项。

首先,定位到个人配置文件夹,找到名为 "chrome" 的子文件夹。你需要编辑该文件夹下的 userChrome.css 文件,如果它不存在就新建之。

把下面这行加入 userChrome.css 文件,将可以隐藏任何右键菜单选项。

#id1, #id2 { display:none !important; }

把 #id1, #id2 替换为下面的任何一项:(指明每个选项所对应的右键菜单选项) 

#context-openlink Open Link in New Window
#context-openlinkintab Open Link in New Tab
#context-sep-open line separator
#context-bookmarklink Bookmark This Link...
#context-savelink Save Link As...
#context-sendlink Send Link...
#context-copyemail Copy Email Address
#context-copylink Copy Link Location
#context-sep-copylink line separator
#context-viewimage View Image
#context-copyimage-contents Copy Image
#context-copyimage Copy Image Location
#context-sep-copyimage line separator
#context-saveimage Save Image As...
#context-sendimage Send Image...
#context-setWallpaper Set As Wallpaper...
#context-blockimage Block Images from...
#context-back Back
#context-forward Forward
#context-reload Reload
#context-stop Stop
#context-sep-stop line separator
#context-bookmarkpage Bookmark This Page...
#context-savepage Save Page As...
#context-sendpage Send Page...
#context-sep-viewbgimage line separator
#context-viewbgimage View Background Image
#context-undo Undo
#context-sep-undo line separator
#context-cut Cut
#context-copy Copy
#context-paste Paste
#context-delete Delete
#context-sep-paste line separator
#context-selectall Select All
#context-sep-selectall line separator
#context-keywordfield Add a Keyword for this Search...
#context-searchselect Search Web for ...
#frame-sep line separator
#frame This Frame
#context-sep-properties line separator
#context-viewpartialsource-selection View Selection Source
#context-viewpartialsource-mathml View MathML Source
#context-viewsource View Page Source
#context-viewinfo View Page Info
#context-metadata Properties
#context-sep-bidi line separator
#context-bidi-text-direction-toggle Switch Text Direction
#context-bidi-page-direction-toggle Switch Page Direction

例如,隐藏 "View Background"(查看背景) 菜单选项以及之后的水平线:

 #context-viewbgimage, #context-sep-viewbgimage {   display: none !important; }
加上一段,在菜单项无效时隐藏
 /*
  * 隐藏右键菜单,不活动时隐藏
  */
#context-back[ disabled ="true"] ,
#context-forward[ disabled ="true"] ,
#context-stop[ disabled ="true"] ,
#context-viewbgimage[ disabled ="true"]{ display: none !important; }
fiag[2005年 01月09日 22 : 00]   
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Firefox右键菜单更改方法 - firefox技巧 - Google Firefox观察者
Ultimate Windows Context Menu Customizer 简体中文...
简单!去掉鼠标右键菜单里的多余选项!!
鼠标右键菜单的“新建”不见了?教你一招轻松恢复!
如何在右键菜单中添加“使用360强力删除”选项;
firefox的菜单栏和右键菜单为白色
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服