|
阅读:1210回复:1
【求助】Firefox64设置标签最大宽度失效
Firefox64设置标签最大宽度UC脚本失效,请教各位大大如何修改
PS,也不是失效,只是优先级不高,重新被browser.css改回去了 // 设置标签最大宽度
{var ruleEndPosition = window.document.styleSheets[1].cssRules.length;
window.document.styleSheets[1].cssRules[window.document.styleSheets[1].insertRule('.tabbrowser-tab:not([pinned]){}', ruleEndPosition)];
window.document.styleSheets[1].cssRules[ruleEndPosition].style.maxWidth="201px";
} |
|
|
1楼#
发布于:2018-12-21 14:26
我是编辑 userchrome.css 来设置宽度的:
.tabbrowser-tab[fadein]:not([pinned]) { max-width:180px !important; min-width:80px !important; } |
|
|