阅读:1350回复:2
FF78这个关闭右侧标签二级菜单能变成一级菜单么
原来的关闭其他标签和关闭右侧便签变成了关闭多个标签下两个二级菜单,莫名其妙。about:config里面有开关控制么
|
|
1楼#
发布于:2020-07-09 10:42
https://techdows.com/2020/06/firefox-78-close-tabs-to-the-right-and-close-other-tabs.html
css 凑合用 /* Values for spacing of items */ :root { --userCloseTabItems: 2; --userTabContextMenuWidth: 178px; } /* Hide "Close Tab Options" label/icon */ /* Make space to inline the menu */ #context_closeTabOptions { height: calc(var(--userCloseTabItems) * var(--userCloseTabMenuItemHeight)); } /* Move "Close Tab Options" menu items into menu BUG: MUST HOVER TO VIEW ITEMS */ #context_closeTabOptions > menupopup { display: -moz-popup !important; -moz-appearance: none !important; visibility: visible !important; border: none !important; box-shadow: none !important; margin-inline-start: calc(3.4px - var(--userTabContextMenuWidth)) !important; margin-top: 0 !important; } /* Hide scroll triangles */ #context_closeTabOptions .scrollbutton-up, #context_closeTabOptions .scrollbutton-down { display: none !important; } |
|
2楼#
发布于:2020-07-07 20:00
UC 脚本
location.href == 'chrome://browser/content/browser.xhtml' && (() => { const closeTabOptions = document.getElementById('closeTabOptions'); closeTabOptions.parentNode.after(...closeTabOptions.children); closeTabOptions.parentNode.remove(); })(); |
|