update to manifest-v3

This commit is contained in:
makaveli10
2023-05-30 11:31:28 +05:30
parent f113290129
commit 4c52ff26cf
25 changed files with 429 additions and 1407 deletions
+21 -49
View File
@@ -1,53 +1,25 @@
{
"manifest_version": 2,
{
"manifest_version": 3,
"name": "Audio Transcription",
"description": "This extension captures the audio on the current tab and saves the output file on your computer when the capture is complete",
"version": "1.1.1",
"icons": {
"128":"collabora.png"
"name": "Audio Transcription",
"version": "1.0.0",
"description": "This extension captures the audio on the current tab, sends it to a server for transcription and shows the transcription in Real-time.",
"options_page": "options.html",
"background": {
"service_worker": "background.js"
},
"browser_action": {
"default_icon": "collabora.png",
"default_popup": "popup.html",
"default_title": "Open Audio Transcription interface"
},
"options_page": "options.html",
"background": {
"page" : "background.html",
"persistent": true
},
"content_security_policy": "script-src 'self' https://cdn.jsdelivr.net 'wasm-eval'; object-src 'self'",
"permissions": [
"tabCapture",
"downloads",
"storage",
"activeTab",
"tabs",
"*://*/*"
],
"externally_connectable": {
"matches": ["<all_urls>"]
},
"content_scripts": [{
"js": ["content.js"],
"matches": ["<all_urls>"]
}],
"commands": {
"start": {
"suggested_key": {
"default": "Ctrl+Shift+S",
"mac": "Command+Shift+U"
},
"description": "Start Capture"
},
"stop": {
"suggested_key": {
"default": "Ctrl+Shift+X",
"mac": "MacCtrl+Shift+X"
},
"description": "Stop Capture"
"permissions": [
"storage",
"activeTab",
"tabCapture",
"scripting"
],
"icons": {
"128":"collabora.png"
},
"action": {
"default_popup": "popup.html",
"default_icon": "collabora.png"
}
}
}