阅读:854回复: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"; } |
|