I tried it out. It does work as expected. Then I looked up css substring and it turns out its pretty easy to define a set of rules that would make tabs with certain titles always a specific color, this example allows one to colorize based on file extension
tab[label$=".pdf (application/pdf Object)"] {background-color: rgb(255,0,0) !important;}
I thought that would be cool, to track down those resource intensive tabs! Reminds me not to press ctrl-t on a PDF... my plugin is not working great anyway.... oddly its even flakier when I mess with this
You could probably pretty easily make your email tab change color based on how many messages you have for lols...
It reacts instantly to modifications to document.title for easy GM integration I would recommend just tacking a color/symbol onto the end of the title and all you need to do would be define each color in userChrome.css
Then I thought of a performance measuring device for each tab, and make slower tabs fade to red for easy elimination you could train poultry to do it.
One additional coolness is that you might be able to make a particular tab always stay larger than the rest for some devious monitoring purpose, I think min-width:300px; is a great hack for certain pesky information packed tabs. Making min-height:200px; gave me another idea....