News for hackers. Stuff that matters.
Re:Firefox 118 by forgotpwd16 on Tuesday September 26, 2023 @09:59AM (#37659409)
TST cannot but can be done via userChrome.css.

  #TabsToolbar {
    visibility: collapse !important;
  }
Can even be done to auto-hide only when having TST opened rather permanently.
Re:Firefox 118 by syncbehind on Tuesday September 26, 2023 @10:16AM (#37659690)
How would you do that latter part? I currently have a userchrome.css for something similar but I wasn't aware that you could have conditionals in css.
Re:Firefox 118 by jeroenhd on Tuesday September 26, 2023 @11:35AM (#37660908)
Using a different size for elements matching a :hover selector is how a lot of CSS gets this done.

The first result on Google (https://gist.github.com/olmstadfm/d6b4d37219e957d9cdcdb3ec88...) also seems to employ the :hover selector to accomplish hiding the tabs. I don't know how effective this particular script is, but it makes sense to use such a system.

Re:Firefox 118 by syncbehind on Tuesday September 26, 2023 @12:19PM (#37661588)
Haven't had a chance to implement it, but this sounds rad. I never thought to use hover in userchrome.css!

Brilliant! Thank you!

Re:Firefox 118 by rmurri on Tuesday September 26, 2023 @11:38AM (#37660949)
I don't know about TST, but sidebery can alter your window title when it's active, so you can match css rules against it.

    #main-window[titlepreface*="Sidebery"] #TabsToolbar {
      visibility: collapse !important;
    }
Re:Firefox 118 by syncbehind on Tuesday September 26, 2023 @12:19PM (#37661579)
Oh heck! That's rad. I'll have to play around with that. I use sidebery so this is aces. Thank you!
Re:Firefox 118 by botanical on Tuesday September 26, 2023 @12:52PM (#37662150)
See here:

https://github.com/piroor/treestyletab/wiki/Code-snippets-fo...

Tabs like History and Bookmarks won't hide but TST does.

Re:Firefox 118 by cpmsmith on Tuesday September 26, 2023 @01:49PM (#37663097)
Sidebery's wiki describes[0] a method using a window "title preface" API, then using that preface in CSS selectors.

https://github.com/mbnuqw/sidebery/wiki/Firefox-Styles-Snipp...

Re:Firefox 118 by syncbehind on Tuesday September 26, 2023 @03:41PM (#37664809)
Wow, I should have read their wiki. Goldmine!