From a39418e5061b8c2983c60b885876adf05bdc051c Mon Sep 17 00:00:00 2001 From: bytedream Date: Fri, 4 Feb 2022 15:39:22 +0100 Subject: [PATCH] Added prefix wildcards to url matching --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 9ae460e..c316cf2 100644 --- a/build.py +++ b/build.py @@ -37,7 +37,7 @@ def write_manifest(): manifest = json.load(open('src/manifest.json', 'r')) for content_script in manifest['content_scripts']: - content_script['matches'] = [f'*://{match}/*' for match in matches] + content_script['matches'] = [f'*://*.{match}/*' for match in matches] json.dump(manifest, open('src/manifest.json', 'w'), indent=2)