diff --git a/src/apps.json b/src/apps.json index ea49872d0..580725343 100644 --- a/src/apps.json +++ b/src/apps.json @@ -11194,7 +11194,8 @@ 10 ], "icon": "splitbee.svg", - "script": "^https:\\/\\/cdn\\.splitbee\\.io\\/sb\\.js", + "script": "^https://cdn\\.splitbee\\.io/sb\\.js", + "js": "splitbee", "website": "https://splitbee.io" }, "Splunk": { @@ -12704,6 +12705,7 @@ "website": "https://www.volusion.com" }, "Vue.js": { + "description": "Vue is a progressive framework for building user interfaces.", "cats": [ 12 ], @@ -15474,4 +15476,4 @@ "priority": 6 } } -} \ No newline at end of file +} diff --git a/src/drivers/webextension/css/styles.css b/src/drivers/webextension/css/styles.css index 1651547e7..73ffbd927 100644 --- a/src/drivers/webextension/css/styles.css +++ b/src/drivers/webextension/css/styles.css @@ -135,10 +135,6 @@ a:hover { padding-bottom: 1rem; } -.category__heading { - white-space: nowrap; -} - .category__link { font-weight: bold; line-height: 2rem; @@ -184,7 +180,6 @@ a:hover { display: flex; align-items: center; margin-bottom: .2rem; - white-space: nowrap; } .technology__icon { diff --git a/src/drivers/webextension/js/content.js b/src/drivers/webextension/js/content.js index bc969c166..49c18d036 100644 --- a/src/drivers/webextension/js/content.js +++ b/src/drivers/webextension/js/content.js @@ -7,7 +7,7 @@ const Content = { * Initialise content script */ async init() { - if (await Content.driver('isDisabledDomain', [location])) { + if (await Content.driver('isDisabledDomain', location.href)) { return } @@ -79,7 +79,7 @@ const Content = { } }, - driver(func, args, callback) { + driver(func, args) { return new Promise((resolve, reject) => { chrome.runtime.sendMessage( { @@ -106,6 +106,7 @@ const Content = { script.onload = () => { const onMessage = ({ data }) => { + console.log(data) if (!data.wappalyzer || !data.wappalyzer.js) { return } diff --git a/src/drivers/webextension/js/popup.js b/src/drivers/webextension/js/popup.js index f63b7994c..b1e316775 100644 --- a/src/drivers/webextension/js/popup.js +++ b/src/drivers/webextension/js/popup.js @@ -190,7 +190,14 @@ const Popup = { } document.querySelector('.empty').classList.add('empty--hidden') - document.querySelector('.detections').classList.remove('detections--hidden') + + const el = document.querySelector('.detections') + + el.classList.remove('detections--hidden') + + while (el.firstChild) { + el.removeChild(detections.lastChild) + } const pinnedCategory = await getOption('pinnedCategory')