userChrome.css是火狐的定制文件(我是这么认为的)。我的userChrome.css主要是简化了右键菜单,去除了我不用的项目。:
/* 火狐定制 */
#urlbar { font-size: 15px !important; } /* 地址栏字体增大,因为我用了omnibar */
#identity-icon-label, /* 缩小地址栏验证标识按钮 */
/* 这后面都是右键菜单简化 */
/* 标签页右键 */
#context_reloadTab+menuseparator, /* “重新载入标签页”后的分隔线 */
#context_reloadTab, /* 重新载入标签页 */
#context_reloadAllTabs, /* 重新载入全部标签页 */
/*#context_bookmarkAllTabs, 将全部标签页加为书签*/
/* 网页右键 */
/*==右键 - 字典==*/
#spell-no-suggestions,
#spell-add-to-dictionary,
#spell-check-enabled, /*拼写检查*/
#spell-add-dictionaries-main,
#spell-dictionaries,
#spell-separator, /* 分隔线 */
#context-keywordfield, /* "为搜索加入关键词..." */
#redirector-context, /* redirector右键菜单 */
#context-openlinkintab, /* "在新标签中打开链接" */
#context-back, /* "后退" */
#context-forward, /* "前进" */
#context-stop, /* "停止" */
#context-sep-stop, /* "停止"下面的分隔线 */
#context-sep-viewbgimage, /* "查看背景图片"上面的分隔线 */
#context-reload, /* "重新载入" */
#context-viewpartialsource-selection, /* "查看源文件" */
#context-viewpartialsource-mathml, /*"View MathML Source" */
#context-viewsource, /* "查看页面代码" */
#inspect-separator, /*Inspect Element分隔线*/
#context-inspect, /* "查看元素" */
#context-bookmarklink, /* "加入收藏夹" */
#context-bookmarkpage, /* "加书签" */
#context-savepage, /* "页面另存为" */
#context-sendlink, /* "发送链接" */
#context-sendimage, /* "发送图片" */
#context-sendvideo, /* "发送视频" */
#context-sendaudio, /* "发送音频" */
#context-sendpage /*发送页面*/
/*#wot-content-openlinkscorecard,*/
/*#contentAreaContextMenu>menuitem[id^="abp-"] 右键菜单中的选项:adblock plus*/
{display: none !important;}
ps:去除abp右键菜单有专门的扩展,表现更好,所以我的这条规则停用了。
没有评论:
发表评论