Any way to use the moz-icon:// scheme for non-"stock" items?

Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.

Moderators: FranklinDM, Lootyhoof

htuyar
Moonbather
Moonbather
Posts: 69
Joined: 2015-09-11, 10:19
Location: Istanbul

Any way to use the moz-icon:// scheme for non-"stock" items?

Unread post by htuyar » 2022-07-30, 13:57

Hi,

I see that some themes and extensions use the moz-icon:// URI scheme for referring to stock GTK icons on Linux systems, as in moz-icon://stock/gtk-save to display the save button image for whatever the current GTK theme is. The stock icon set in GTK is pretty limited and doesn't include some basic things like icons for bookmarks and download. The GTK Icon Naming Specification document lists a wider range of icons divided into categories like actions, places, and so on but I couldn't find a way to access them from a custom userChrome.css file. Is doing this possible at all?

Thanks,

Locked