From 6ae632bc4479cb3352c99b631e76a69b4acc51a8 Mon Sep 17 00:00:00 2001 From: TheShadowEevee Date: Wed, 18 Dec 2024 18:00:03 -0600 Subject: [PATCH] Update Directory Format --- manifest.json | 7 +++---- remove-by-URL.js => src/remove-by-URL.js | 0 remove-by-element.js => src/remove-by-element.js | 0 3 files changed, 3 insertions(+), 4 deletions(-) rename remove-by-URL.js => src/remove-by-URL.js (100%) rename remove-by-element.js => src/remove-by-element.js (100%) diff --git a/manifest.json b/manifest.json index 88f612e..eec349f 100644 --- a/manifest.json +++ b/manifest.json @@ -10,15 +10,14 @@ }, "background": { - "scripts": ["remove-by-URL.js"] + "scripts": ["./src/remove-by-URL.js"] }, "content_scripts": [ { "matches": ["*://*.github.com/*"], - "js": ["remove-by-element.js"], - "run_at": "document_idle", - "world": "MAIN" + "js": ["./src/remove-by-element.js"], + "run_at": "document_end" } ], diff --git a/remove-by-URL.js b/src/remove-by-URL.js similarity index 100% rename from remove-by-URL.js rename to src/remove-by-URL.js diff --git a/remove-by-element.js b/src/remove-by-element.js similarity index 100% rename from remove-by-element.js rename to src/remove-by-element.js