Icon buttons at upper right of window
-
- Posts: 801
- Joined: March 10th, 2012, 8:08 pm
Icon buttons at upper right of window
I use keyboard shortcuts in preference to the three icons at the upper right of the Fx window. Can I remove them?
-
- Posts: 182
- Joined: September 9th, 2018, 1:41 pm
Re: Icon buttons at upper right of window
The three icons for minimize, maximize and close? Or the three icons for sidebar, library, and three lines menu?
-
- Posts: 801
- Joined: March 10th, 2012, 8:08 pm
Re: Icon buttons at upper right of window
Minimize, maximize, and close.
- DanRaisch
- Moderator
- Posts: 127246
- Joined: September 23rd, 2004, 8:57 pm
- Location: Somewhere on the right coast
Re: Icon buttons at upper right of window
Aren't those controlled by the operating system, not by Firefox?
-
- Posts: 801
- Joined: March 10th, 2012, 8:08 pm
Re: Icon buttons at upper right of window
Dan, as I recall, pre-quantum those could be easily hidden by Fx's "customize" option--or by an extension.
- smsmith
- Moderator
- Posts: 19979
- Joined: December 7th, 2004, 8:51 pm
- Location: Indiana
Re: Icon buttons at upper right of window
In your userChrome.css, under the @namespace line:
http://kb.mozillazine.org/UserChrome.css
Code: Select all
.titlebar-button {
display: none !important
}
Give a man a fish, and he eats for a day. Teach a man to fish, and he eats for a lifetime.
I like poetry, long walks on the beach and poking dead things with a stick.
Please do not PM me for personal support. Keep posts here in the Forums instead and we all learn.
I like poetry, long walks on the beach and poking dead things with a stick.
Please do not PM me for personal support. Keep posts here in the Forums instead and we all learn.
-
- Posts: 801
- Joined: March 10th, 2012, 8:08 pm
Re: Icon buttons at upper right of window
Thanks, smsmith. Perfect!
-
- Posts: 801
- Joined: March 10th, 2012, 8:08 pm
Re: Icon buttons at upper right of window
Maybe not 100% perfect after all. I've just seen that as the tab bar fills up, a blank space, where the three icons used to be, now takes residence at the right end of the tab bar. I can't "customize" this space into the overflow menu. Is there any way to remove this blank space (so it could be used for tabs)?
- jscher2000
- Posts: 11772
- Joined: December 19th, 2004, 12:26 am
- Location: Silicon Valley, CA USA
- Contact:
Re: Icon buttons at upper right of window
There's probably a margin or padding setting on the tab bar to keep that area clear. So another project for userChrome.css.
- smsmith
- Moderator
- Posts: 19979
- Joined: December 7th, 2004, 8:51 pm
- Location: Indiana
Re: Icon buttons at upper right of window
Try this to replace what I already gave you.
What is the keyboard shortcut to minimize the window? WIN+DownArrow?
Code: Select all
.titlebar-button, .titlebar-spacer {
display: none !important
}
Give a man a fish, and he eats for a day. Teach a man to fish, and he eats for a lifetime.
I like poetry, long walks on the beach and poking dead things with a stick.
Please do not PM me for personal support. Keep posts here in the Forums instead and we all learn.
I like poetry, long walks on the beach and poking dead things with a stick.
Please do not PM me for personal support. Keep posts here in the Forums instead and we all learn.
-
- Posts: 801
- Joined: March 10th, 2012, 8:08 pm
Re: Icon buttons at upper right of window
Thanks, smsmith, but there's no change.
- smsmith
- Moderator
- Posts: 19979
- Joined: December 7th, 2004, 8:51 pm
- Location: Indiana
Re: Icon buttons at upper right of window
Funny. What I gave you works in Nightly, but in Release, you need to use this:
You might consider using this, though, in case there is a change that will happen shortly to Release that would make the above stop working.
Code: Select all
.titlebar-button, .titlebar-placeholder {
display: none !important
}
Code: Select all
.titlebar-button, .titlebar-placeholder, .titlebar-spacer {
display: none !important
}
Give a man a fish, and he eats for a day. Teach a man to fish, and he eats for a lifetime.
I like poetry, long walks on the beach and poking dead things with a stick.
Please do not PM me for personal support. Keep posts here in the Forums instead and we all learn.
I like poetry, long walks on the beach and poking dead things with a stick.
Please do not PM me for personal support. Keep posts here in the Forums instead and we all learn.
-
- Posts: 801
- Joined: March 10th, 2012, 8:08 pm
Re: Icon buttons at upper right of window
This one works. smsmith. Many thanks.
If I'm understanding you correctly, you're saying that because of possible changes in Fx your snippet may stop working soon. What is your suggested action at that time? Should I add a new reply here?
If I'm understanding you correctly, you're saying that because of possible changes in Fx your snippet may stop working soon. What is your suggested action at that time? Should I add a new reply here?
- smsmith
- Moderator
- Posts: 19979
- Joined: December 7th, 2004, 8:51 pm
- Location: Indiana
Re: Icon buttons at upper right of window
I'm thinking that in the current Release version (63.0.3), the correct element name is the .titlebar-placeholder. But, upcoming changes to Firefox (and who knows when it will be "released" into an actual consumer version of Firefox) will change .titlebar-placeholder to .titlebar-spacer. As I do not know when that will happen and for you to avoid having to track this fix down again when it happens, I would just use the bottom code snippet. Having one additional element ID in the rule won't make much of a difference.
I would recommend maybe every five or so version of Firefox to run through your userChrome file and see if anything like that could be cleaned out.
I would recommend maybe every five or so version of Firefox to run through your userChrome file and see if anything like that could be cleaned out.
Give a man a fish, and he eats for a day. Teach a man to fish, and he eats for a lifetime.
I like poetry, long walks on the beach and poking dead things with a stick.
Please do not PM me for personal support. Keep posts here in the Forums instead and we all learn.
I like poetry, long walks on the beach and poking dead things with a stick.
Please do not PM me for personal support. Keep posts here in the Forums instead and we all learn.
-
- Posts: 801
- Joined: March 10th, 2012, 8:08 pm
Re: Icon buttons at upper right of window
Thanks again, smsmith. I appreciate all your help.