use detector.js as content script