Firefox Quantum 的状态栏

Саш*_*ных 7 firefox firefox-extensions statusbar firefox-quantum

一、总结

我在 Firefox 中使用了许多插件按钮。

插件按钮

我不知道如何在 Firefox Quantum 中为这些按钮添加额外的栏。

我需要添加新栏,而不是修改现有的菜单和书签栏。


2. 没有帮助

  1. 在以前的 Firefox 版本中,我使用Status-4-evar插件,但它不是Quantum-compatible
  2. 我在https://addons.mozilla.org站点中没有找到与 Quantum 兼容的;例如,不兼容的New Add-on BarThe Addon Bar插件。
  3. 我没有找到,我如何解决这个问题,例如在谷歌,类似的问题

3. 不提供

请不要提供:

  1. 使用其他浏览器,
  2. 降级火狐。

MC1*_*C10 2

这应该可以通过userChrome.css. 我发现这个 Github 上有很多 Firefox 的自定义可用:https://github.com/Aris-t2/CustomCSSforFx

其中最引人注目的是addonbar_extra_bookmarks_toolbar_below_navbar_fx65.css。如果将其代码添加到userChrome.css文件中,它将在导航栏下方添加另一个栏。

/* create an empty space below navigation toolbar */
/* Firefox Quantum userChrome.css tweaks ************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


#main-window:not([customizing="true"]) #nav-bar {
  padding-bottom: 26px !important;
}

/* reduce maximum width of location bar and search bar on navigation toolbar */
#main-window:not([customizing="true"]) #nav-bar :-moz-any(#urlbar-container, #urlbar, #search-container, #searchbar)  {
  min-width: 50px !important;
}

/* move bookmarks to empty space below navigation toolbar, if on navigation toolbar */
#main-window:not([customizing="true"]) #nav-bar #personal-bookmarks {
  position: absolute !important;
  bottom: 1px !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100vw !important;
}

/* reduce size of bookmarks 'more bookmarks' menu chevron and remove its background color on navigation toolbar */
#nav-bar #personal-bookmarks #PlacesChevron .toolbarbutton-icon {
  min-width: 0px !important;
  min-height: 0px !important;
  width: 16px !important;
  height: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: unset !important;
  box-shadow: unset !important;
}

/* set minimum height for bookmarks, when on navigation toolbar */
#nav-bar #personal-bookmarks toolbarbutton.bookmark-item:not(.subviewbutton) {
  min-height: 24px !important;
}

/* adjustments */
#nav-bar #personal-bookmarks {
  min-width: 40px !important;
  width: auto !important;
  max-width: 50vw !important;
}
Run Code Online (Sandbox Code Playgroud)

现在,您必须使用 Firefox 的自定义选项将书签工具栏项目移至导航栏中。然后,您可以仅使用该栏来添加附加组件,只需将其向下拖动即可。 定制

我在这个浏览器上只有一个附加组件,所以这不是一个很好的测试,但我回家后可以测试更多。

附加组件