From a4c6ac4aa71f7582f474e1cd1c3225250057b261 Mon Sep 17 00:00:00 2001 From: Jack Case Date: Mon, 20 Oct 2025 19:16:10 +0000 Subject: [PATCH] wip --- pages/action_popup.html | 2 ++ scripts/report-slop.js | 3 +++ 2 files changed, 5 insertions(+) diff --git a/pages/action_popup.html b/pages/action_popup.html index 07cfa38..06688f6 100644 --- a/pages/action_popup.html +++ b/pages/action_popup.html @@ -2,6 +2,7 @@ + Slop Farmer @@ -11,5 +12,6 @@ + \ No newline at end of file diff --git a/scripts/report-slop.js b/scripts/report-slop.js index 36b916e..ff47e72 100644 --- a/scripts/report-slop.js +++ b/scripts/report-slop.js @@ -115,6 +115,9 @@ async function check_remote_slop(urls) { const check_url = new URL("check", API_URL) const request = new Request(check_url, {method: "POST", body: JSON.stringify({slop_urls: urls})}) const response = await fetch(request) + let domain_objects = await response.json() + domain_objects.foreach((domain) => {insert_slop(domain, "/")}) + return domain_objects } async function on_button_clicked_handler(tab) {