News for hackers. Stuff that matters.
Re:Extensions in Firefox 58 by DiThi on Tuesday November 21, 2017 @10:13AM (#15748335)
I don't think they will remove the menu bar any time soon. I always put it back to always visible, just click view->toolbars->menu bar.

What's unusable about the new tree style tabs? I use it constantly.

If you want old greasemonkey scripts to work without changes, use violentmonkey.

There must be a bug with the new greasemonkey that I can't find the editor either. Use violentmonkey for that too for now.

Re:Extensions in Firefox 58 by CWuestefeld on Tuesday November 21, 2017 @10:41AM (#15748594)
What's unusable about the new tree style tabs?

I'll grant that the new responsiveness of FF makes TST feel much better. But there's one thing that's constantly giving me headaches. I don't feel like the highlighting given to the currently-selected tab is in-your-face enough, so that I'm always scanning up and down the tree trying to see which one it is. The other formatting options it used have were nice, but being able to at least make the selected tab's title bold was a big deal for me.

I realize that this is technically possible in the new regime via userChrome.css. However, the element classes are completely undocumented so I have no idea how to accomplish it.

Re:Extensions in Firefox 58 by DiThi on Tuesday November 21, 2017 @11:27AM (#15748998)
Adjust the gamma of your screen. I see a distinct shade of grey-ish blue that I can see even when looking at the other side of the window. If that's not the problem, ask TST author since that should be fixable in the addon.
Re:Extensions in Firefox 58 by CWuestefeld on Wednesday November 22, 2017 @09:08AM (#15756848)
My screen is calibrated, it's not that anything is displayed wrong. I just want it to be more obvious.

Before FF57, I was able to set the font and background color for tabs depending on their status (current, inactive, unread, etc.), and that's what I want now. IIRC, this was actually a feature of Tab Mix Plus.

It's clear that this is still possible even without TMP, but requires putting code in userChrome.css. That would be fine with me, if I could just find any documentation on what element classes (or whatever would be the most appropriate selectors) I need to reference.

Re:Extensions in Firefox 58 by DiThi on Wednesday November 22, 2017 @02:36PM (#15759792)
I did some digging for you in the browser console. userChrome.css can't touch TST's content. TST is in a separate document (sidebar.html). I'm sure the tabs in TST aren't the actual browser tabs, but they're made to look exactly the same as before. Talk to TST's author, or modify the addon yourself, it must have a CSS file, the tabs are "li.tab" (<li> elements, tab class). The active one is "li.tab.active".

    document.querySelector('#sidebar')._contentWindow[0].document.querySelectorAll('.tab.active')
Re:Extensions in Firefox 58 by CWuestefeld on Saturday November 25, 2017 @02:25PM (#15777476)
Thanks. Actually, it turns out that the latest version contains a mini-editor for the appropriate file (whichever it is). And it includes a link [1] to further documentation about what to do with it.

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

Re:Extensions in Firefox 58 by lqdc13 on Tuesday November 21, 2017 @02:55PM (#15750995)
Toolbar thing is my fault. And violent monkey seems like a good alternative.

With tree style tabs I didn't realize there is a CSS hack to remove the top tabs.