Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

menu icon FF #73

Open
ruboard opened this issue Jun 4, 2022 · 9 comments
Open

menu icon FF #73

ruboard opened this issue Jun 4, 2022 · 9 comments

Comments

@ruboard
Copy link

ruboard commented Jun 4, 2022

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

@ThomasSeeker
Copy link

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

@andy-portmen
Copy link
Owner

@ThomasSeeker can you share the screenshot?

@ThomasSeeker
Copy link

Here: The old icon had more contrast.
Screenshot_20221017_113304

@ruboard
Copy link
Author

ruboard commented Oct 18, 2022

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?

@andy-portmen
Copy link
Owner

@andy-portmen
Copy link
Owner

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).

@ruboard
Copy link
Author

ruboard commented Oct 18, 2022

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");

@ThomasSeeker
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants