build things
- SHA
cb9ab42bea78595253360f7cde74242977818b7f- Parents
-
ee1a26c - Tree
a3801fa
cb9ab42
cb9ab42bea78595253360f7cde74242977818b7fee1a26c
a3801fa| Status | File | + | - |
|---|---|---|---|
| M |
extension/manifest.json
|
20 | 5 |
| M |
package.json
|
5 | 4 |
extension/manifest.jsonmodified@@ -1,27 +1,42 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "manifest_version": 2, |
| 3 | 3 | "name": "LooseCannon", |
| 4 | - "version": "0.1.0", | |
| 5 | - "description": "Automated scambaiting assistant for WhatsApp Web", | |
| 4 | + "version": "0.2.0", | |
| 5 | + "description": "Automated scambaiting assistant for messaging platforms", | |
| 6 | 6 | |
| 7 | 7 | "permissions": [ |
| 8 | 8 | "storage", |
| 9 | 9 | "tabs", |
| 10 | 10 | "nativeMessaging", |
| 11 | - "<all_urls>" | |
| 11 | + "<all_urls>", | |
| 12 | + "webRequest", | |
| 13 | + "webRequestBlocking" | |
| 12 | 14 | ], |
| 13 | 15 | |
| 14 | 16 | "background": { |
| 15 | - "scripts": ["background/background.js"], | |
| 17 | + "scripts": [ | |
| 18 | + "background/unified-handler.js", | |
| 19 | + "background/background.js" | |
| 20 | + ], | |
| 16 | 21 | "persistent": false |
| 17 | 22 | }, |
| 18 | 23 | |
| 19 | 24 | "content_scripts": [ |
| 20 | 25 | { |
| 21 | 26 | "matches": ["*://web.whatsapp.com/*"], |
| 22 | - "js": ["content-scripts/whatsapp.js"], | |
| 27 | + "js": ["content-scripts/whatsapp-enhanced.js"], | |
| 23 | 28 | "css": ["content-scripts/whatsapp.css"], |
| 24 | 29 | "run_at": "document_idle" |
| 30 | + }, | |
| 31 | + { | |
| 32 | + "matches": ["*://web.telegram.org/*", "*://webk.telegram.org/*", "*://webz.telegram.org/*"], | |
| 33 | + "js": ["content-scripts/telegram.js"], | |
| 34 | + "run_at": "document_idle" | |
| 35 | + }, | |
| 36 | + { | |
| 37 | + "matches": ["*://www.messenger.com/*", "*://messenger.com/*"], | |
| 38 | + "js": ["content-scripts/messenger.js"], | |
| 39 | + "run_at": "document_idle" | |
| 25 | 40 | } |
| 26 | 41 | ], |
| 27 | 42 | |
package.jsonmodified@@ -1,12 +1,13 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "name": "loosecannon", |
| 3 | - "version": "0.1.0", | |
| 3 | + "version": "0.2.0", | |
| 4 | 4 | "description": "Automated scambaiting assistant for messaging platforms", |
| 5 | - "main": "server/src/index.js", | |
| 5 | + "main": "server/src/index-enhanced.js", | |
| 6 | 6 | "scripts": { |
| 7 | - "start": "node server/src/index.js", | |
| 7 | + "start": "node server/src/index-enhanced.js", | |
| 8 | + "start:basic": "node server/src/index.js", | |
| 8 | 9 | "dev": "npm run dev:server & npm run dev:extension", |
| 9 | - "dev:server": "nodemon server/src/index.js", | |
| 10 | + "dev:server": "nodemon server/src/index-enhanced.js", | |
| 10 | 11 | "dev:extension": "web-ext run --source-dir ./extension --firefox-profile=loosecannon", |
| 11 | 12 | "build": "web-ext build --source-dir ./extension", |
| 12 | 13 | "lint": "web-ext lint --source-dir ./extension" |