-
Notifications
You must be signed in to change notification settings - Fork 1
/
manifest.json
39 lines (39 loc) · 1.22 KB
/
manifest.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"name": "Anti Deep Fake Extension",
"description": "Distinguish the deepfaked pictures in websites you open",
"version": "1.0",
"manifest_version": 3,
"background": {
"service_worker": "background.js"
},
"permissions": ["storage", "activeTab", "scripting"],
"content_security_policy" : {
"default-src": ["self"],
"script-src": ["self", "ortScript.js"]
},
"cross_origin_embedder_policy": {
"value": "require-corp"
},
"cross_origin_opener_policy": {
"value": "same-origin"
},
"action": {
"default_popup": "popup.html",
"default_icon":{
"16":"/images/camera16.png",
"32":"/images/camera32.png",
"48":"/images/camera48.png",
"128":"/images/camera128.png"
}
},
"icons": {
"16":"/images/camera16.png",
"32":"/images/camera32.png",
"48":"/images/camera48.png",
"128":"/images/camera128.png"
},
"web_accessible_resources": [{
"resources": ["ortScript.js", "run.js", "AntiDeepfake_mobilenetv3_small.onnx", "ort-wasm-simd.wasm","min.js","ndarray-browser-min.js","imagenet.js","image-loader.js"],
"matches": ["https://*/*"]
}]
}