Closed ELLIOTTCABLE closed 5 years ago
I am having this problem as well across multiple machines.
The last version of this extension (v4.7) changed the title prefix for default settings to allow for using window names. This accidentally caused an extra space to be added to the default prefix so that the prefix ended with two spaces. This made no visibly change but did affect this CSS code since the titlepreface
attribute value needed to be exactly equal to [1]
(with only one space). I have updated the extension (v4.8) to remove the extra space in the default settings to fix the problem. So updating the extension should fix the issue.
On a related note I also changed the code snippet in the Tree Style Tab wiki to:
#main-window[titlepreface^="[1] "] #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] {
visibility: collapse !important;
}
note the extra ^
before the =
sign. CSS attribute selectors are not limited to checking that an attributes value is exactly equal to something. This change makes it so that it only check that the prefix starts with [1]
which would work even in version 4.7 of the addon. It also makes it possible to have window names in the prefix and still use this CSS code.
Using this extension, and your CSS hack from piroor/treestyletab#1768 doesn't seem to be working anymore, as of FireFox 65, possibly?
userChrome.css
:Am I doing something wrong? I'm not sure what changed.
)=