Telegram Desktop - Telegram Online Messenger
Launching Telegram from your browser in a popup and get notifications when new messages received.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "Telegram Desktop - Telegram Online Messenger",
"manifest_version": 3,
"version": "1.0.8",
"description": "Launching Telegram from your browser in a popup and get notifications when new messages received.",
"default_locale": "en",
"icons": {
"128": "icons/128.png"
},
"background": {
"service_worker": "background.js"
},
"action": {
"default_icon": {
"128": "icons/128.png"
},
"default_popup": "popup.html"
},
"content_scripts": [
{
"js": [
"content-script.js"
],
"matches": [
"*://*.web.telegram.org/*"
],
"run_at": "document_start"
}
],
"options_ui": {
"open_in_tab": true,
"page": "option.html"
},
"permissions": [
"storage",
"declarativeNetRequest"
],
"host_permissions": [
"*://*.web.telegram.org/*",
"*://*.vesta.web.telegram.org/*"
],
"declarative_net_request": {
"rule_resources": [
{
"id": "ruleset_1",
"enabled": true,
"path": "rules/rule.json"
}
]
},
"web_accessible_resources": [
{
"resources": [
"content-script.js"
],
"matches": [
"https://*.web.telegram.org/*",
"*://*.vesta.web.telegram.org/*"
]
}
]
}