在Firefox(最新版本)中是否有一种方法可以显示多行书签而不是标准的单行?我一直在寻找,但之前适用于旧版本的一个扩展程序(Multiple Rows)现在已经无法使用。
是的,这非常容易,只需几个步骤即可完成...
Go to the folder .../AppData/Roaming/Mozilla/Firefox/Profiles/YourProfile and create a new folder with the name "chrome" (has nothing to do with chrome browser).
Go into this folder and create a new text file inside it. Name the file "userChrome.css" (Make sure the name is userChrome.css, not userChrome.css.txt).
Write the following code into "userChrome.css":
@-moz-document url-prefix("chrome://browser/content/browser.xhtml") {
#PersonalToolbar {
max-height: calc(20px * 3) !important;
}
#personal-bookmarks,
#PlacesToolbar,
#PlacesToolbar > hbox {
display: block;
}
#PersonalToolbar toolbarbutton {
min-height: 20px !important;
max-height: 20px !important;
}
#PlacesToolbarItems {
max-height:60px!important;
display: flex!important;
flex-wrap: wrap!important;
overflow-x: visible!important;
overflow-y: auto!important;
}
#PlacesToolbar,
#PersonalToolbar > scrollbar {
-moz-window-dragging: no-drag !important;
}
#PlacesToolbar #PlacesChevron {
display: none !important;
}}
Restart your browser.
Type 'about:config' into the address bar and hit enter.
Then type in 'toolkit.legacyUserProfileCustomizations.stylesheets'
Change the default value from 'false' to 'true' by double-clicking on it.
Restart your browser again.
这就是全部了。从现在开始,您在 .css 文件中所做的更改将在 Firefox 中显示。您可以在 .css 文件中尝试不同的 px 值来改变书签行的高度或它们之间的距离...