Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How do I hide tab bar scroll buttons in FF 76?

  • 5 个回答
  • 1 人有此问题
  • 48 次查看
  • 最后回复者为 practik

more options

Basically the same question I had five months ago (https://support.mozilla.org/en-US/questions/1274655).

Before FF 76, I had been using this userChrome CSS to hide the scroll buttons:

toolbarbutton[class^="scrollbutton"] {

  display: none !important;
  }

Now it's stopped working (again). Does anyone know what I need to change?

Basically the same question I had five months ago (https://support.mozilla.org/en-US/questions/1274655). Before FF 76, I had been using this userChrome CSS to hide the scroll buttons: toolbarbutton[class^="scrollbutton"] { display: none !important; } Now it's stopped working (again). Does anyone know what I need to change?

被采纳的解决方案

Try this code in userChrome.css.

toolbarbutton#scrollbutton-up, toolbarbutton#scrollbutton-down {display:none !important;}
定位到答案原位置 👍 1

所有回复 (5)

more options

The link in my post above got a parenthesis appended to it that doesn't belong there; the URL should be:

https://support.mozilla.org/en-US/questions/1274655

The CSS formatting got messed up too; it should be:

   toolbarbutton[class^="scrollbutton"] {
      display: none !important;
      }

由practik于修改

more options

选择的解决方案

Try this code in userChrome.css.

toolbarbutton#scrollbutton-up, toolbarbutton#scrollbutton-down {display:none !important;}
more options

That worked! But … why? It seems like the new code ought to do exactly the same thing as the old code, so why does only the new code work? Just curious. Thanks in any case for your help!

more options

Your code uses a class name and this classname is no longer present and instead they have given each scroll button their own ID. You can verify this with the Browser Toolbox.

more options

Oh duh, somehow I can never keep . and # straight. So this works too:

   toolbarbutton[id^="scrollbutton"] {
       display: none !important;
       }

Thanks again – especially for the Browser Toolbox link!

由practik于修改