4

There's a little grey area in the corner of my Firefox browser. I believe it's meant for dragging, but I have a key combo for that, and would like to reclaimed that little grey space.

enter image description here

How could I get rid of that little grey area? I remember finding a solution to this in the past, but upgrading to Firefox 65 seems to have resurfaced this nuisance : (

So, found my user browser chrome settings:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 

.titlebar-placeholder[type="pre-tabs"],
.titlebar-placeholder[type="post-tabs"] {
  display:none !important;
}

For some reason this isn't working after upgrading to Firefox 65.

Also, I disabled an extension that manages tab groups, restarted the browser and all that, but it wasn't the culprit.

2
  • right-click and Remove from Toolbar?
    – mook765
    Jan 31, 2019 at 16:39
  • 1
    That's Greyed out. Jan 31, 2019 at 16:44

2 Answers 2

5

Okay, solved this one. Firefox seems to have updated class names for the tab space draggable area things.

Here's the updated css:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

.titlebar-placeholder[type="pre-tabs"],
.titlebar-placeholder[type="post-tabs"] {
  display: none !important;
  width: 0px !important;
  max-width: 0px !important;
}

.titlebar-spacer[type="pre-tabs"],
.titlebar-spacer[type="post-tabs"] {
  display: none !important;
  width: 0px !important;
  max-width: 0px !important;
}

Old naming convention above, and new one below. My display none and width 0 are probably a bit redundant.

Also, for those who don't know, this file should be named userChrome.css and should go in a folder called chrome that you create inside of ~.mozzilla/firefox/random-lettersi432789fd.default

There are better instructions than mine for how to edit the userChrome.css file out there.

2
  • 2
    Note that on Quantum you need to go to about:config and enable toolkit.legacyUserProfileCustomizations.stylesheets for userChrome.css to be picked up.
    – Casper
    Jul 4, 2020 at 2:05
  • I would rather have a firefox logo there. can update the css with it?
    – Necktwi
    Aug 16, 2021 at 12:02
1

I would comment but I don't have enough rep. I don't think I have an answer, but here goes.

I don't have that little gray space you have, neither in full screen nor in a smaller window dimension. It seems more like a hidden tab, and I found this related page, where the suggestions would be:

  • it might be related to an Add-On (like the OP finds out);
  • it might be related to problems with the sessionstore.js file in the profile folder that stores session data. You can find it in Help -> Troubleshooting Information -> Profile Directory -> Open Directory (info)

Hope it helps anyways.

10
  • It does help! I found the user profile with my browser chrome settings... updated my question with details... Jan 31, 2019 at 16:53
  • You should be able to comment now as well : ) Jan 31, 2019 at 16:55
  • @Costa I don't think it's got anything to do with these. It seems from the screenshot that you have "Title Bar" disabled for Firefox (refer to this). In that case it is a "feature". You have guessed correctly, it's meant for dragging as you have no title bar to click&drag.
    – pomsky
    Jan 31, 2019 at 19:22
  • Boo : ( I have the drag option checked in the firefox customize thing. And the grey corner thing goes away when the window is fullscreened. Jan 31, 2019 at 19:25
  • 1
    Yeah, that makes sense. Evident from my toggling it anyhow. But, if this was always the case, how did I solve this in the past? Perhaps there was a theme... Jan 31, 2019 at 19:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .