ext: spoof Edge UA/client hints for Teams

This commit is contained in:
Stefano Zini
2026-11-04 10:55:14 +01:00
parent 71b0d39b2a
commit 654825ad67
3 changed files with 57 additions and 3 deletions
+7 -3
View File
@@ -3,8 +3,12 @@
"name": "Teams Whisper Recorder",
"version": "1.1",
"description": "Record Teams tab audio+video (+mic) and transcribe with local whisper server",
"permissions": ["tabCapture", "offscreen", "activeTab", "tabs"],
"host_permissions": ["http://127.0.0.1:18765/*"],
"content_scripts": [{ "matches": ["https://teams.cloud.microsoft/*", "https://teams.microsoft.com/*"], "js": ["teams.js"], "run_at": "document_idle" }],
"permissions": ["tabCapture", "offscreen", "activeTab", "tabs", "declarativeNetRequest"],
"host_permissions": ["http://127.0.0.1:18765/*", "https://teams.cloud.microsoft/*", "https://teams.microsoft.com/*"],
"background": { "service_worker": "background.js" },
"content_scripts": [
{ "matches": ["https://teams.cloud.microsoft/*", "https://teams.microsoft.com/*"], "js": ["spoof.js"], "run_at": "document_start", "world": "MAIN", "all_frames": true },
{ "matches": ["https://teams.cloud.microsoft/*", "https://teams.microsoft.com/*"], "js": ["teams.js"], "run_at": "document_idle" }
],
"action": { "default_popup": "popup.html" }
}