From ccd9a0ec87a56505cb187fbd03cf5383fe7db899 Mon Sep 17 00:00:00 2001 From: Jack Case Date: Thu, 16 Oct 2025 20:31:11 +0000 Subject: [PATCH] add content-script and file to manifest this will be what interacts with a search result page to flag links to slop --- manifest.json | 9 ++++++++- scripts/hide-slop.js | 0 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 scripts/hide-slop.js diff --git a/manifest.json b/manifest.json index 3d30455..1bd7d59 100644 --- a/manifest.json +++ b/manifest.json @@ -14,5 +14,12 @@ "scripts": ["scripts/report-slop.js"], "persistent": false, "type": "module" - } + }, + + "content_scripts": [ + { + "matches": ["*://*.duckduckgo.com/*"], + "js": ["scripts/hide-slop.js"] + } + ] } \ No newline at end of file diff --git a/scripts/hide-slop.js b/scripts/hide-slop.js new file mode 100644 index 0000000..e69de29