Posts Tagged ‘Firefox’

15
Nov

隐藏Firefox右键多余菜单

#context-back,
#context-forward,
#context-reload,
#context-stop,
#context-sep-stop,
#context-bookmarkpage,
#context-savepage,
#context-sendpage,
#context-sep-viewbgimage,
#context-openlink,
#context-sep-open,
#context-bookmarklink,
#context-sendlink,
#context-sep-copyimage,
#context-sendimage,
#context-setWallpaper,
#context-printpage,
#context-smartsearch
{ display: none !important; }

11
Sep

隐藏Firefox的右键菜单

Firefox的扩展装多了,右键菜单项也在添加,现在我们就来隐藏一些不常用或不用的菜单项.
首先,定位到个人配置文件夹,找到名为 “chrome” 的子文件夹。你需要编辑该文件夹下的 userChrome.css 文件,如果它不存在就新建之。把下面这行加入 userChrome.css 文件,将可以隐藏任何右键菜单选项。
#id1 { display:none !important; }
把 #id1替换为下面的任何一项:(指明每个选项所对应的右键菜单选项,其实就是定义菜单项的CSS样式)

    About

    Tag Cloud