Temporary-containers: Hiding "new Temporary container"-Icon

Created on 28 Feb 2019  路  6Comments  路  Source: stoically/temporary-containers

Hi!

Is it possible to hide the top right icon somehow? I'm using only keyboard navigation and automatic mode, so the button is of no use to me and uses up space unnecessary.

Thank you!

Most helpful comment

Maybe I missed something here, but all icons can be moved after right-clicking and selecting "Customize...". If you don't want it in the toolbar or tabstrip just move it into the "Overflow Menu" or to the left of it (completely hides them).

The entry in the context menu can be hidden with the advanced TC preferences under "Context Menu" by unticking the checkbox.

All 6 comments

Not directly in TC settings, but you can manipulate over userChrome.css
See about userChrome.css and where to find/create it here: https://fosspost.org/tutorials/how-to-customize-firefox-57-user-interface

If you insert the following into userChrome.css file, you will get the desired results:

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

/* Remove Temporary Container icon */
toolbarbutton[label*='Temporary Container'] {
  display: none;
}
menuitem[label*='Open Link in New Temporary Container Tab'] {
  display: none;
}
#userContext-label {
  color: var(--toolbar-color) !important;
}

I have some more customizations, if you are interested.
You can find those in my Firefox repository... see userChrome.css

Cheers

It worked!

Thank you so much :)

I'll dive into you repo, thank you :+1:

No problem mate. Glad to help you. :smile:
The profile in my repository is also build on knowledge from here https://github.com/ghacksuserjs/ghacks-user.js/. That is, IMHO, the best resource related to FF security and privacy.

Cheers

Maybe I missed something here, but all icons can be moved after right-clicking and selecting "Customize...". If you don't want it in the toolbar or tabstrip just move it into the "Overflow Menu" or to the left of it (completely hides them).

The entry in the context menu can be hidden with the advanced TC preferences under "Context Menu" by unticking the checkbox.

Actually you are right..! I didnt know ff could do that by default!

That's nice @stoically , I also wasn't aware of... too simple, obviously. :smile:

Was this page helpful?
0 / 5 - 0 ratings