multi-account-containers icon indicating copy to clipboard operation
multi-account-containers copied to clipboard

Allow removing "always open in container" shortcut

Open xmo-odoo opened this issue 3 years ago • 3 comments

  • Multi-Account Containers Version: 8.0.1
  • Operating System + Version: Linux Mint 20.2 ("uma")
  • Firefox Version: 94.0b9
  • Other installed Add-ons + Version + Enabled/Disabled-Status:
[email protected]
Better Pull Request for GitHub	extension	1.0.35	true	{3ffa20cc-5fc8-4e3a-99af-d71996641e7a}
Bing	extension	1.3	true	[email protected]
Chambers (UK)	extension	1.0	true	[email protected]
Contextlets	extension	0.4.1	true	{dcf34dbe-ccd1-11e7-8f66-ff8971474715}
DuckDuckGo	extension	1.1	true	[email protected]
eBay	extension	1.3	true	[email protected]
Enhancer for YouTube™	extension	2.0.108	true	[email protected]
Firefox Multi-Account Containers	extension	8.0.1	true	@testpilot-containers
Google	extension	1.1	true	[email protected]
Let's get color blind	extension	1.0.0	true	[email protected]
Odoo Terminal	extension	8.3.0	true	{cdfbfc50-7cbf-4044-a6fb-cdef5056605c}
Privacy Badger	extension	2021.8.17	true	jid1-MnnxcxisBPnSXQ@jetpack
Refined GitHub	extension	21.11.9	true	{a4c4eda4-fb84-4a84-b4a1-f7c1cbf2a1ad}
Service Worker Detector	extension	2.4.0	true	{7f976419-2e7e-4ca5-983c-0fd0187e92ef}
Stylus	extension	1.5.21	true	{7a7a4a92-a2a0-41d1-9fd7-1e92480d612d}
Tampermonkey	extension	4.13.6136	true	[email protected]
Temporary Containers	extension	1.9.2	true	{c607c8df-14a7-4f28-894f-29e8722976af}
uBlock Origin	extension	1.38.6	true	[email protected]
Web Archives	extension	2.1.0	true	{d07ccf11-c0cd-4938-a265-2a4d6ad01189}
Wikipedia (en)	extension	1.1	true	[email protected]

Actual behavior

The "always open this in a container" shortcut is always enabled, because of its location in the address bar I regularly hit it when I just want to open or switch container.

Unlike other toolbar locations, the address bar can not be customised via the UI and probably requires mucking with the userChrome

Expected behavior

Being able to get rid of this icon as it's not in any way critical.

xmo-odoo avatar Nov 18 '21 09:11 xmo-odoo

it certainly doesn't help that the two icons look almost identical: two almost identical symbols

I'd prefer a system wide feature to disable address bar buttons but a setting in the addons preferences might suffice?!

loominade avatar Dec 17 '21 12:12 loominade

it certainly doesn't help that the two icons look almost identical: two almost identical symbols

Yep, very easy to confuse and hit the wrong one.

I'd prefer a system wide feature to disable address bar buttons but a setting in the addons preferences might suffice?!

I figure the icons on the left would probably be unacceptable to remove so the former would be unlikely to be acceptable, unless it's only the non-critical ones which go on the right? (can't say I've ever used the bookmark icon but it's distinctive so I don't think I've ever hit it by mistake).

xmo-odoo avatar Dec 17 '21 12:12 xmo-odoo

I find the method to hid this shortcut on this post : https://www.reddit.com/r/FirefoxCSS/comments/ok3mev/how_to_hide_the_multiaccount_containers_icon_in/

  1. Enable userChrome.css support in Fx v69+(set toolkit.legacyUserProfileCustomizations.stylesheets to true in about:config)

  2. Open about:support

  3. Click on "Profile Folder" -> "Open Folder"

  4. Create a sub-folder named "chrome"

  5. Change into the new folder

  6. Create a file named "userChrome.css"

  7. Write userChrome.css as below:

#pageAction-urlbar-_testpilot-containers { display: none; }
  1. Restart Firefox

image

ouyen avatar Aug 23 '22 07:08 ouyen

Close #2066

dannycolin avatar Jan 09 '23 00:01 dannycolin