diff --git a/background.js b/background.js index ac84ba7..8b37654 100755 --- a/background.js +++ b/background.js @@ -8,11 +8,10 @@ chrome.extension.* */ chrome.extension.onConnect.addListener(function (port) { - - var extensionListener = (message, sender, sendResponse) => { - console.info('Message:', message, sender, sendResponse); - }; + var extensionListener = (message, sender, sendResponse) => { + console.info("Message:", message, sender, sendResponse); + }; - // Listens to messages sent from the panel - chrome.extension.onMessage.addListener(extensionListener); -}); \ No newline at end of file + // Listens to messages sent from the panel + chrome.extension.onMessage.addListener(extensionListener); +}); diff --git a/devtools.html b/devtools.html index a088ad4..cf92362 100755 --- a/devtools.html +++ b/devtools.html @@ -1 +1,5 @@ - + +
+ + + diff --git a/manifest.json b/manifest.json index 8e47082..c3f4102 100755 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "Mixpanel Tools", - "version": "0.9", + "version": "1.0.0", "description": "A debugger tool helps to intercept mixpanel events and display event properties", "short_name": "mixpanel tools", "icons": { @@ -10,10 +10,15 @@ }, "devtools_page": "devtools.html", "background": { - "scripts": [ + "servicewroker": [ "background.js" ] }, - "permissions": [], - "manifest_version": 2 + "permissions": [ + "storage" + ], + "manifest_version": 3, + "action": { + "default_popup": "popup.html" + } } \ No newline at end of file diff --git a/panel.html b/panel.html index f922c24..101165b 100755 --- a/panel.html +++ b/panel.html @@ -1,80 +1,122 @@ + + + + - - - - - - -