Not sure if this is the right section, but I am looking for a script for Aywas that colours the background of an item according to the item type. Like, every food item has "food" in the image URL, so I'd want all images with food in the image name have a blue (for example) background. And all file names matching "clothes" have an orange one.

It seems like a pretty easy thing to do with a userscript, but I can't figure it out. Can anyone lend me a hand, or know of a script I could use?