Web for Telegram

Web for Telegram

Easy access to Telegram for Firefox. Notifications for incoming messages. Share and Save Telegram. Messenger

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 2,
  "name": "__MSG_chrome_extension_name__",
  "description": "__MSG_chrome_extension_description__",
  "version": "6.1",
  "default_locale": "en",
  "applications": {
    "gecko": {
      "id": "[email protected]"
    }
  },
  "options_ui": {
    "page": "options/index.html",
    "open_in_tab": true
  },
  "browser_action": {
    "default_title": "__MSG_chrome_extension_name__",
    "default_icon": {
      "19": "img/icon_19.png",
      "38": "img/icon_38.png"
    }
  },
  "background": {
    "scripts": [
      "eventPage.js"
    ]
  },
  "icons": {
    "16": "img/icon_16.png",
    "48": "img/icon_48.png",
    "128": "img/icon_128.png"
  },
  "permissions": [
    "notifications",
    "<all_urls>",
    "contextMenus",
    "unlimitedStorage",
    "storage",
    "webRequest",
    "webRequestBlocking"
  ],
  "content_scripts": [
    {
      "matches": [
        "*://*.telegram.org/*"
      ],
      "js": [
        "js/jquery/jquery.min.js",
        "js/safeResponse/purify.min.js",
        "js/toastr/toastr.min.js",
        "i18n.js",
        "js/i18n/i18n.js",
        "js/introjs/intro.min.js",
        "js/material-io/material-components-web.min.js",
        "js/jquery-menu/jquery.contextMenu.min.js",
        "js/jquery-menu/jquery.ui.position.min.js",
        "utils.js",
        "myScript.js"
      ],
      "run_at": "document_start",
      "all_frames": false
    },
    {
      "matches": [
        "*://*.telegram.org/*"
      ],
      "js": [
        "myScriptTelegramBadge.js"
      ],
      "run_at": "document_end",
      "all_frames": true
    }
  ],
  "web_accessible_resources": [
    "img/*",
    "js/*",
    "onInstalled/*",
    "options/*",
    "css/*",
    "html/*"
  ],
  "content_security_policy": "script-src 'self'; object-src 'self'"
}