Skip to content

Instantly share code, notes, and snippets.

@Roy-Orbison
Created November 23, 2017 03:09
Show Gist options
  • Save Roy-Orbison/899f59bc823a31a7bfc28f1565873052 to your computer and use it in GitHub Desktop.
Save Roy-Orbison/899f59bc823a31a7bfc28f1565873052 to your computer and use it in GitHub Desktop.
A simple replacement for the "No Close Buttons" Firefox extension that stopped working in 57 (Quantum)
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
tab.tabbrowser-tab .tab-close-button {
display: none;
}
@Roy-Orbison
Copy link
Author

To use it:

  1. Type about:support into the address bar and hit enter.
  2. Click the Profile Folder item's Open Folder button.
  3. In the file manager window that appears, create a new folder named chrome, then open it.
  4. Note/copy the full path to the folder from the file manager's address bar.
  5. Save the Raw version of the above file into that folder.
  6. Restart Firefox.

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