Icons not loading on Firefox 143
In the drop-down menu that opens when clicking the script manager icon, the icons aren't loading on Firefox 143 beta. I think the problem is the rebuild_userChrome.uc.js file. If anyone can help, I'd appreciate it.
This should do it, It was just a matter of changing "list-style-image" to "--menuitem-icon"
This change shows the icons for the "open chrome directory" and "restart Firefox" items. However, the toolbar button icon disappeared, and I restored it by reverting to "list-style image." I couldn't get the "settings" icon to appear.
It was only tested on the tools menu where I have it but I see where there is an entry for "class: 'toolbarbutton-1 chromeclass-toolbar-additional', style: 'list-style-image: url". So keep that at 'list-style-image should be fine??
The settings icon is coming in for me ":label: 'Settings', class: 'menuitem-iconic', style: '--menuitem-icon: url" using "--menuitem-icon".
Just try fiddling with it, that's the only recent change that I know of that affects icons. It messed up icons in the addons I have too.
I'll try to do that.
It was only tested on the tools menu where I have it but I see where there is an entry for "class: 'toolbarbutton-1 chromeclass-toolbar-additional', style: 'list-style-image: url". So keep that at 'list-style-image should be fine??
The settings icon is coming in for me ":label: 'Settings', class: 'menuitem-iconic', style: '--menuitem-icon: url" using "--menuitem-icon".
Just try fiddling with it, that's the only recent change that I know of that affects icons. It messed up icons in the addons I have too.
Use 'menu-iconic'.
let mn = UC.rebuild.elBuilder(aDocument, 'menu', {
id: 'uc-manageMenu',
label: 'Settings',
class: 'menu-iconic',
style: '--menuitem-icon: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAADJUlEQVQ4ja1TS0wTQRgean0/ovFgTDxpjDc9Gg8mvSrnKhFSC8VpCuyyu22Xbdm2s7Rdt48t7kIhEJEIYiKKphZK0CoRLVYlHiAEFYMng4+bF6nUjgfbuiocTPwuM5P83/d/8z8AWAMIIX3xWvHHCYxG44a1OOuCIIhd2rfZbN7yTwIURe0+D8lAbSO3aLI21xgMBn2dzXbQZLM/MNkcEwRNnyw6rFhTAEK4ESGkc/L8IacgY1Hpw1xbbLWBFT5QrRe/+GM92Bfpxg4Xkotf3LSuGAAA1DcypC/cnWuL9a5yQQXzUifmApewR4pjUenLESzKQAi3rUmmaXqrpYF0WBqYDrtXynnDceyR1JW7E5Opqcwz9Ul2pr+zb+gdF2jHnlAnvkC6piw2WmikHCeKEj+dmWDTuSZXEPsiXdgb6Sr4o/HlV4uLZ5LJZDnz0tLSkeE7YyMt/nbcFuvBrqCCqyGdhhBuLAtF2jvE1osd+UCsZ8Xhi3yfnMqYNYZ1pcB0Or1X6bm64BLVvCcczwflrrcsy+4sBVaMjo7u6R248ZDiJaz0Ds4PDAxs1woAAIDBYNADAMBIIsU6BRm7RWUlm31x+rduAQCAEFICDkEu+MTYuMZJGUajcQNCQBeU2ivZNrng8ssfNYNb7FQ9caCusSUrRLsLFtL9ppogdhUnuCxWSniursHnFtWCwyvlqmttNUA7U1bSeYnxSNgXin91CtFCdT1hLwkghPSltYAQ7rcy/LI3HM+7RaUAKfdnjuP2lB0NjyQq3X45R7eK2ImiuIkV8mdNVsZspnaXYqpq4XGzjXneIsjY7g1hkvPjvsHhm9o6AlVVN2ezL6oyz2fsATn+yemLYModxDWQfm2luAmTjXlsaXbnWvwxTPNS4XZy/Nrj6em6ZDJ57Lc50mJyKlNDugLfPJKaY4UovsB4MeEKYE+oI0/z4mr3laFUKpXa/BfxV3uRHgCg43n/YZITvtfTPEYh9f1Y+tGDy4M3X1oZTx4yXsyjYFhT/PV3DSG0Y3Z+oen6rcT92fn5Uwgh3dzc3L7xe5P9T57OXE4kEkfXJf8P/ABlOH7kn81/zwAAAABJRU5ErkJggg==)'
});
Use 'menu-iconic'.
let mn = UC.rebuild.elBuilder(aDocument, 'menu', { id: 'uc-manageMenu', label: 'Settings', class: 'menu-iconic',
That did it, all of the icons are coming in now in both the Tools menu and the Nav bar.
That did it, all of the icons are coming in now in both the Tools menu and the Nav bar.
Yes, it's perfect now. Thank you so much!