MrOtherGuy / firefox-csshacks

Collection of userstyles affecting the browser
Mozilla Public License 2.0
3.34k stars 323 forks source link

hide_tabs_with_one_tab.css no longer works in FF 106 #216

Open steve3386 opened 2 years ago

steve3386 commented 2 years ago

hide_tabs_with_one_tab.css no longer works in FF 106.

I think it broke because they added a "tab list" button on the right side of the tab bar.

MrOtherGuy commented 2 years ago

Alltabs-button does affect the style yes, see here for some more info

However, there's other changes in the pipeline that are going to affect that style in 107 and 108. It's currently unclear to me if that style can even work at all starting from 107.

steve3386 commented 2 years ago

     That worked.  Thanks!   In a message dated 10/20/2022 8:13:09 PM Eastern Standard Time, @.*** writes: 

 

You can hide the "List All Tabs" button by doing the following:

Go into about:config and set the browser.tabs.tabmanager.enabled option to false.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

MrOtherGuy commented 2 years ago

Yeah, so while removing alltabs-button and firefox-view button in some way does work in Firefox 106, I think I have to deprecate hide_tabs_with_one_tab.css from 107 onwards.

However, you can use hide_tabs_with_one_tab_w_window_controls.css which at the time of writing does work (with my new patches) in current nightly 108.

2xsaiko commented 1 year ago

hide_tabs_with_one_tab.css with browser.tabs.tabmanager.enabled=false does completely hide the tab bar for me, while hide_tabs_with_one_tab_w_window_controls.css leaves a 20px high empty bar (same as in #207?) in place of the tab bar when there's only one tab, regardless of tabmanager setting. I couldn't figure out what causes it. This is on macOS with Firefox 107.

notDavid commented 1 year ago

hide_tabs_with_one_tab.css with browser.tabs.tabmanager.enabled=false does completely hide the tab bar for me

while hide_tabs_with_one_tab_w_window_controls.css leaves a 20px high empty bar

I just tested both of these methods in a new clean profile on macOS, and they both successfully remove the alltabs-button.

However, removing the alltabs-button isn't working in my usual Firefox profile, so it has to be some other about:config setting causing this, but i don't know which one...

-- Firefox 107.0.1 macOS Ventura 13.0.1