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

Optional changing station titlePreface on extension opening/close for easy hiding horizontal tabs #214

Closed
AlexBeLi opened this issue Apr 28, 2020 · 6 comments

Comments

@AlexBeLi
Copy link

By using rule like this in userChrome.css

#main-window[titlepreface*="[Sideberry] "] #TabsToolbar {
  visibility: collapse !important;
}
@mbnuqw
Copy link
Owner

mbnuqw commented Apr 29, 2020

This is not possible with current API, sorry. If 1332447 will be fixed (I want to believe...) I'll definitely add automatic hiding of the horizontal tabs.

@AlexBeLi
Copy link
Author

AlexBeLi commented Apr 29, 2020

You probably missunderstood, sorry for bad speaking. This is just workaround before 1332447, based on changing titlePreface (non-english), if Sideberry opened in current window

browser.windows.update(windowId, {titlePreface: '[Sideberry] '});

I also want to believe, but megabar is more important...

@mbnuqw
Copy link
Owner

mbnuqw commented Apr 29, 2020

Oh, nice! Thanks for sharing this. I'll definitely add an option for marking windows with active sidebery and add userChrome.css snippet!

Peek 2020-04-29 22-58

@jathek
Copy link

jathek commented May 3, 2020

Does this change the window title to "[Sidebery] Original Title"? If so, can "[Sidebery]" be substituted for something shorter? Or perhaps if there's a titleSuffix option you can use that. Or use both.

@mbnuqw
Copy link
Owner

mbnuqw commented May 3, 2020

@nearcatch, you will be able to set your own value (e.g. some "empty" unicode sign) and, of course, it will be optional.

@mbnuqw
Copy link
Owner

mbnuqw commented Jun 3, 2020

Added in v4.9.0

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

3 participants