diff --git a/.zenodo.json b/.zenodo.json index fb72434..1babbd4 100644 --- a/.zenodo.json +++ b/.zenodo.json @@ -3,7 +3,7 @@ "license": "MPL-2.0", "title": "Zeeschuimer", "upload_type": "software", - "version": "v1.3", + "version": "v1.4", "keywords": [ "scraping", "data capture", "4cat", "instagram", "tiktok" ], diff --git a/js/zs-background.js b/js/zs-background.js index f53249c..3de347d 100644 --- a/js/zs-background.js +++ b/js/zs-background.js @@ -139,6 +139,7 @@ window.zeeschuimer = { "source_platform": module, "source_platform_url": source_platform_url, "source_url": source_url, + "user_agent": navigator.userAgent, "data": item }); } @@ -155,7 +156,7 @@ window.zeeschuimer = { */ has_tab: async function () { const tabs = await browser.tabs.query({}); - const full_url = browser.runtime.getURL('popup/status.html'); + const full_url = browser.runtime.getURL('popup/interface.html'); const zeeschuimer_tab = tabs.filter((tab) => { return (tab.url === full_url); }); @@ -195,7 +196,7 @@ browser.webNavigation.onCommitted.addListener( browser.browserAction.onClicked.addListener(async () => { let tab = await zeeschuimer.has_tab(); if (!tab) { - browser.tabs.create({url: 'popup/status.html'}); + browser.tabs.create({url: 'popup/interface.html'}); } else if (!tab.active) { browser.tabs.update(tab.id, {active: true}); } diff --git a/manifest.json b/manifest.json index e7fa74a..e6bb999 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "description": "Collect data while browsing social media platforms and upload it for analysis later", "manifest_version": 2, "name": "Zeeschuimer", - "version": "1.3.0", + "version": "1.4.0", "homepage_url": "https://github.com/digitalmethodsinitiative/zeeschuimer", "browser_specific_settings": { diff --git a/popup/status.html b/popup/interface.html similarity index 90% rename from popup/status.html rename to popup/interface.html index cc972d9..af56a7f 100644 --- a/popup/status.html +++ b/popup/interface.html @@ -1,10 +1,13 @@