mirror of
https://github.com/bytedream/stream-bypass.git
synced 2025-05-09 20:25:14 +02:00
Added prefix wildcards to url matching
This commit is contained in:
parent
0fc06a78a7
commit
a39418e506
2
build.py
2
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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user