├── debug.js ├── README.md └── manifest.json /debug.js: -------------------------------------------------------------------------------- 1 | console.log("CHROME-MPDEBUG: running debug.js"); 2 | var script = document.createElement("script"); 3 | script.innerHTML = 'window.mixpanel = window.mixpanel || []; window.mixpanel.push(["set_config", { debug: true }]);'; 4 | 5 | (document.head || document.documentElement).appendChild(script); 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | chrome-mpdebug 2 | ============== 3 | 4 | simple chrome extension to force the mixpanel object into debug mode 5 | 6 | to install: 7 | 8 | 1. Download the code 9 | 2. Open chrome preferences, click "Extensions" in the menu, then "Load unpacked extension..." 10 | 3. Select the repo folder 11 | 4. Check "Allow in incognito" 12 | -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | // Required 3 | "name": "chrome-mpdebug", 4 | "version": "0.1", 5 | "manifest_version": 2, 6 | 7 | "description": "Forces Mixpanel into debug mode.", 8 | "content_scripts": [ 9 | { 10 | "matches": ["http://*/*","https://*/*"], 11 | "js": ["debug.js"], 12 | "run_at": "document_start" 13 | } 14 | ] 15 | } 16 | --------------------------------------------------------------------------------