sidebery icon indicating copy to clipboard operation
sidebery copied to clipboard

Minimize Sidebar

Open aj-patterson opened this issue 2 years ago • 7 comments

Description

I'd like to be able to minimize the sidebar so it only shows panel icons and pinned tabs until I hover or click on one of those icons. This helps to regain some horizontal space in the browser when I'm not bouncing between tabs, without needing to hide or bring back the full sidebar.

aj-patterson avatar Jun 17 '22 17:06 aj-patterson

This cannot be done through an extension, only through userChrome.css https://github.com/ongots/pseudo-fullscreen-firefox

ongots avatar Jun 17 '22 17:06 ongots

One thing I've done is create an Autohotkey shortcut which overflows the sidebar portion and top tabs for presentations and focus (and I can toggle it back and forth with same hotkey). Here's the code you can use. You'll need to adjust things according to your monitor size.

#!f:: ;RESIZE FIREFOX (ONLY X470) Prev_TitleMatchMode := A_TitleMatchMode SetTitleMatchMode, regex WinGetActiveStats,t,w,h,x,y IfWinActive, ahk_exe firefox.exe { ; If ((x=2552) and (y=9) and (w=1936) and (h=1056)) If ((x=2310) and (y=-40) and (w=2178) and (h=1110)) { WinMove,A,,2552,9,1936,1056 WinMaximize } else { WinRestore, A WinMove,A,,2310,-40,2178,1110 ; WinMove,A,,2318,-40,2170,1110 ;WITHOUT SIDEBERY SCROLLBAR } } SetTitleMatchMode %Prev_TitleMatchMode% return

megamorphg avatar Jun 17 '22 23:06 megamorphg

Use https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/autohide_sidebar.css

Looks like this:

image

siddhpant avatar Jul 13 '22 08:07 siddhpant

@mbnuqw Could you please explain why this issue is attributed with "api limitation"? I got an impression that it's something like that https://www.youtube.com/watch?v=Y_rTY8tTAO8 and it would be nice to have indeed.

iamkarlson avatar Feb 13 '23 21:02 iamkarlson

Firefox doesn't have any built in way to do this, so you have to use userChrome.css just like in the video you linked to.

albino1 avatar Feb 13 '23 22:02 albino1

Is this what you are describing?

Zabooby avatar Apr 10 '23 19:04 Zabooby

Bugzilla link: https://bugzilla.mozilla.org/show_bug.cgi?id=1408077

mbnuqw avatar Mar 31 '24 13:03 mbnuqw