JSON · 1695 bytes Raw Blame History
1 {
2 "manifest_version": 3,
3 "name": "LooseCannon",
4 "version": "0.3.0",
5 "description": "Automated scambaiting assistant - Now with Chrome support",
6
7 "permissions": [
8 "storage",
9 "tabs",
10 "scripting",
11 "webRequest",
12 "declarativeNetRequest"
13 ],
14
15 "host_permissions": [
16 "*://web.whatsapp.com/*",
17 "*://web.telegram.org/*",
18 "*://webk.telegram.org/*",
19 "*://webz.telegram.org/*",
20 "*://www.messenger.com/*",
21 "*://messenger.com/*",
22 "http://localhost:8765/*"
23 ],
24
25 "background": {
26 "service_worker": "background/service-worker.js",
27 "type": "module"
28 },
29
30 "content_scripts": [
31 {
32 "matches": ["*://web.whatsapp.com/*"],
33 "js": ["content-scripts/whatsapp-enhanced.js"],
34 "css": ["content-scripts/whatsapp.css"],
35 "run_at": "document_idle"
36 },
37 {
38 "matches": [
39 "*://web.telegram.org/*",
40 "*://webk.telegram.org/*",
41 "*://webz.telegram.org/*"
42 ],
43 "js": ["content-scripts/telegram.js"],
44 "run_at": "document_idle"
45 },
46 {
47 "matches": [
48 "*://www.messenger.com/*",
49 "*://messenger.com/*"
50 ],
51 "js": ["content-scripts/messenger.js"],
52 "run_at": "document_idle"
53 }
54 ],
55
56 "action": {
57 "default_popup": "popup/popup.html",
58 "default_icon": {
59 "16": "icons/icon-16.png",
60 "48": "icons/icon-48.png",
61 "128": "icons/icon-128.png"
62 }
63 },
64
65 "icons": {
66 "16": "icons/icon-16.png",
67 "48": "icons/icon-48.png",
68 "128": "icons/icon-128.png"
69 },
70
71 "web_accessible_resources": [
72 {
73 "resources": [
74 "icons/*",
75 "content-scripts/*.css"
76 ],
77 "matches": ["<all_urls>"]
78 }
79 ]
80 }