external-application-button icon indicating copy to clipboard operation
external-application-button copied to clipboard

menu icon FF

Open ruboard opened this issue 3 years ago • 9 comments

Please make it possible to change the icon in the context menu, or hide it. The default icon is ugly (IMHO).

ruboard avatar Jun 04 '22 10:06 ruboard

Hey andy-portmen, ...

I suppose with the last update you followed the above request of ruboard.

Unfortunately now it is me, who is complaining. The new icon in the context-menu is so bright, it has a low contrast and is harder to find. ...

Isn't there some way for me to change it? Maybe via the userChrome.css or in the code somehow?

Best greetings from Germany, Thomas

ThomasSeeker avatar Oct 17 '22 08:10 ThomasSeeker

@ThomasSeeker can you share the screenshot?

andy-portmen avatar Oct 17 '22 09:10 andy-portmen

Here: The old icon had more contrast. Screenshot_20221017_113304

ThomasSeeker avatar Oct 17 '22 11:10 ThomasSeeker

the new icon is much prettier and more harmonious. Thank you very much for responding to the request. I disagree with the previous comment. tastes and especially the perception of contrast are different for everyone, you can’t please everyone. a compromise solution of course would be the ability to change the icon yourself, If I'm correct, then unfortunately changing userChrome.css won't work, right?

ruboard avatar Oct 18 '22 12:10 ruboard

For me this icon is used: https://github.com/andy-portmen/external-application-button/blob/master/v3/data/icons/32.png

macOS

Windows

andy-portmen avatar Oct 18 '22 13:10 andy-portmen

a compromise solution of course would be the ability to change the icon yourself,

No browser allows altering the menu item's icon (for privacy reasons).

andy-portmen avatar Oct 18 '22 13:10 andy-portmen

No browser allows altering the menu item's icon

I use waterfox classic, everything is possible in it. but I just can't track the extension icon, for example refresh button: list-style-image: url("chrome://browser/skin/reload.svg");

ruboard avatar Oct 18 '22 16:10 ruboard

No browser allows altering the menu item's icon (for privacy reasons).

But I am at least able to hide the icon of another addon with this line in the userChrome.css:

#contentAreaContextMenu :is(#extension_one-tab_com-menuitem-1[image*="moz-extension://"],menu[image*="moz-extension://"]) .menu-iconic-left { visibility: hidden !important; }

If hiding is possible, is it really impossible to replace it?

ThomasSeeker avatar Oct 18 '22 19:10 ThomasSeeker

I found a way to change the icons.

  • I downloaded and extracted the .xpi file.
  • I changed the icons in the data/icons directory.
  • I packed the whole thing back into a zip file.
  • I set about:config -> xpinstall.signatures.required = false
  • I installed it in Firefox -> Addons -> Install Addon from File

This is the result: Beautiful! :-)

Menu

ThomasSeeker avatar Oct 22 '22 16:10 ThomasSeeker