如何在Mozilla Firefox上禁用选框标记(文本动画)?


3

我不想允许任何 <选取框> Mozilla Firefox上的标签。

我在中创建了一个新的布尔首选项 about:config 窗口的名称 browser.display.enable_marquee 并将其设置为false,但我仍然在网页上滚动文本。


Firefox中的等效设置是 image.animation_mode (搜索页面 animation_ )in about:config中
vWil

@vWil OP的问题是关于由旧选框标记提供的滚动文本,您的评论是关于禁用动画图像。我发布了一个解决问题的答案。

Answers:


2

这个旧的帮助页面 有一个截至2015年3月仍然有效的解决方案:

  1. 打开Firefox并按 ALT 显示顶部菜单,然后单击 HelpTroubleshooting InformationOpen Containing Folder
  2. 如果它尚不存在,请创建一个名为的文件夹 Chrome
  3. 如果它尚不存在,请使用名称创建一个CSS文件 UserContent.css
  4. 将以下代码复制到 UserContent.css 并重新启动Firefox:
/* Stop those <marquee> tags! */
marquee {
   -moz-binding                  : none !important;
   display                       : block;
   height                        : auto !important;
}

使用TorBrowser,您应该使用该文件 Browser/TorBrowser/Data/Browser/profile.default/chrome/userContent.css 代替。
Ole Tange
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.