content.js - support type/subtype