Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Can we please have option to have sidebar not show in a specific window if there is only one tab open? (Perhaps exists but I can't find it!) #3424

Open
BensonBear opened this issue Dec 28, 2023 · 5 comments

Comments

@BensonBear
Copy link

I have one main firefox window with lots of tabs, but then I have some webapps (mail, editor, etc) that I want in a separate window, and when firefox starts I have to manually hide all the sidebars. Would be nice if it did it for me. No need for a sidebar if you intend to have only one tab open in the particular window.

I would not be surprised if this option is already in the long list of options, but I could not find it.

@BensonBear
Copy link
Author

Thanks a lot, that works great.

I first tried to avoid using the extra extension, since I know the title of the window which will be in the single tab, and only in the single tab. But it did not seem to positively match its title, so perhaps this "prefix" is something special that has to be set, rather than literally being the start of the window title.

But with this information I can probably figure it out (or just use it as is, although I am getting up there with number of extensions installed and would prefer to avoid adding more).

@piroor
Copy link
Owner

piroor commented Jan 16, 2024

I have one main firefox window with lots of tabs, but then I have some webapps (mail, editor, etc) that I want in a separate window, and when firefox starts I have to manually hide all the sidebars. Would be nice if it did it for me. No need for a sidebar if you intend to have only one tab open in the particular window.

Sadly it is impossible by TST because the initial visibility state of the sidebar on Firefox windows are not controllable via WebExtensions API. You need to use something hacks with userChrome.css or userChrome.js.

@piroor piroor added wontfix Firefox-issue bug of Firefox itself and removed needs-triage labels Jan 16, 2024
@BensonBear
Copy link
Author

BensonBear commented Jan 16, 2024

Thanks. It seems maybe that it could be done using the same idea expressed above (which requires altering the window titles, and yes, one would still have to add some code to userChrome to effect the hiding), but it doesn't matter since that idea can be implemented separately with another extension and it works fine. Thanks!

Maybe for anyone who comes across this and see's "wont fix", you could have another tag "external fix available" ("firefox-issue" suggests it's external, but doesn't hint that it can be solved externally without much difficulty).

@MurzNN
Copy link

MurzNN commented Jan 25, 2024

To have individual windows for specific tabs without the sidebar - I use this extension https://github.com/ettoolong/PopupWindow - very convenient!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants