I added a `is_mozilla_theme` global var for this in 1f0d992d31e577875237ea7f70e02081ee8b851b. 

(Also, there's the very convenient `document.body`)