I'm sorry. I want to change the icon displayed on the tab when the Add-ons manager is opened. Isn't it possible with userChrome.css?
The name of the icon displayed on the tab of the chat can be changed by checking with .tabmail-tab [type = "chat"] and the developer tool.
However, the icon on the tab of the Add-ons manager is displayed as .tab-icon-image in the developer tool, and it is the name used in many places. You can't change the image you want to use for this code.
Sorry for the confusing English.
How can I change the tab icon that appears when I open the Add-ons Manager? Thank you.
Thunderbird 68.1.2 (64bit)
I want to change the tab icon of the add-ons manager
-
- Posts: 13
- Joined: September 19th, 2019, 5:17 pm
-
- Posts: 6424
- Joined: February 3rd, 2009, 6:29 pm
Re: I want to change the tab icon of the add-ons manager
The src attribute of the xul:image tag overrides the list-style-image property so use the background-image property instead.
Fails:
Succeeds:
Similar thread: http://forums.mozillazine.org/viewtopic ... &t=3043928
Fails:
Code: Select all
tab.tabmail-tab[label="Add-ons Manager"] image.tab-icon-image {
list-style-image: url("chrome://global/skin/icons/heart.svg") !important;
-moz-image-region: auto !important;
}
Code: Select all
tab.tabmail-tab[label="Add-ons Manager"] image.tab-icon-image {
width: 0 !important;
padding-right: 16px !important;
background-image: url("chrome://global/skin/icons/heart.svg") !important;
}
-
- Posts: 13
- Joined: September 19th, 2019, 5:17 pm
Re: I want to change the tab icon of the add-ons manager
Thank you.
However, the icon cannot be changed.
It ’s still a Default black icon.
It was not possible to change even if only this code was entered and confirmed.
Is it impossible to change just with userchrome.css?
Do need javascript?
However, the icon cannot be changed.
It ’s still a Default black icon.
It was not possible to change even if only this code was entered and confirmed.
Is it impossible to change just with userchrome.css?
Do need javascript?
-
- Posts: 6424
- Joined: February 3rd, 2009, 6:29 pm
Re: I want to change the tab icon of the add-ons manager
It works here.
I'm using an English build so the tab label is "Add-ons Manager" for me.
If you are using a German build, then change the tab label to German.
I'm using an English build so the tab label is "Add-ons Manager" for me.
If you are using a German build, then change the tab label to German.
-
- Posts: 13
- Joined: September 19th, 2019, 5:17 pm
Re: I want to change the tab icon of the add-ons manager
Sorry to bother you again.
As you told me,
If I change the label to my region's letters,
Icon change succeeded.
I am very happy.
I'm really thankful to you.
As you told me,
If I change the label to my region's letters,
Icon change succeeded.
I am very happy.
I'm really thankful to you.
-
- Posts: 305
- Joined: July 18th, 2019, 9:59 am
Re: I want to change the tab icon of the add-ons manager
Thanks to the OP for asking the question and to Morat for the code references.
I used the code to change my Calendar and Address Book Icons. Thanks!!
I used the code to change my Calendar and Address Book Icons. Thanks!!