This commit is contained in:
Jack Case
2025-10-20 19:16:10 +00:00
parent 8f9cb2c20a
commit a4c6ac4aa7
2 changed files with 5 additions and 0 deletions

View File

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