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) {