Список расширений

Описание события

Тип события: Extensions.

Событие отправляется при запуске Браузера и содержит список установленных расширений.

Формат полей

Название поля

Тип поля

Описание

author

string

Автор расширения.

CreationFlags

array of strings

Тип установки.

description

string

Описание расширения.

GrantedPermissions

array of strings

Права, предоставляемые расширению (список API).

Id

string

ID расширения.

InstallationPath

string

Путь к файлу расширения.

name

string

Название расширения.

version

string

Версия расширения.

Пример значения

Примеры события для разных способов установки расширения:

{
  "Extensions": {
    "Enabled": [
      {
        "CreationFlags": [
          "REQUIRE_KEY"
        ],
        "GrantedPermissions": [],
        "Id": "ahfgeienlihckogmohjhadlkjgocpleb",
        "InstallationPath": "C:\Program Files (x86)\Yandex\YandexBrowser\Application\24.4.4.885\resources\web_store",
        "Location": "Component",
        "Manifest": {
          "app": {
            "launch": {
              "web_url": "https://chrome.google.com/webstore"
            },
            "urls": [
              "https://chrome.google.com/webstore"
            ]
          },
          "description": "Широкий выбор приложений, игр, расширений и тем для Яндекс Браузера.",
          "icons": {
            "16": "webstore_icon_16.png",
            "128": "webstore_icon_128.png"
          },
          "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCtl3tO0osjuzRsf6xtD2SKxPlTfuoy7AWoObysitBPvH5fE1NaAA1/2JkPWkVDhdLBWLaIBPYeXbzlHp3y4Vv/4XG+aN5qFE3z+1RU/NqkzVYHtIpVScf3DjTYtKVL66mzVGijSoAIwbFCC3LpGdaoe6Q1rSRDp76wR6jjFzsYwQIDAQAB",
          "name": "Магазин приложений",
          "permissions": [
            "webstorePrivate",
            "management",
            "system.cpu",
            "system.display",
            "system.memory",
            "system.network",
            "system.storage"
          ],
          "version": "0.2"
        }
      }
    ]
  }
}
{
  "CreationFlags": [
    "REQUIRE_KEY",
    "FROM_WEBSTORE"
  ],
  "GrantedPermissions": [
    "contextMenus",
    "storage",
    "tabs"
  ],
  "Id": "bfbmjmiodbnnpllbbbfblcplfjjepjdn",
  "InstallationPath": "C:\Users\Alice\AppData\Local\Yandex\YandexBrowser\User Data\Default\Extensions\bfbmjmiodbnnpllbbbfblcplfjjepjdn\4.2.6.0_0",
  "Location": "Internal",
  "Manifest": {
    "author": "Bob",
    "background": {
      "page": "background.html",
      "persistent": false
    },
    "browser_action": {
      "default_icon": {
        "19": "icons/iconstick19.png",
        "38": "icons/iconstick38.png"
      },
      "default_title": "Example"
    },
    "commands": {
      "_execute_browser_action": {
        "suggested_key": {
          "default": "Ctrl+Shift+L",
          "mac": "MacCtrl+Shift+L"
        }
      },
      "toggle-feature-nightmode": {
        "description": "Ночной режим",
        "suggested_key": {
          "default": "Ctrl+Shift+N",
          "mac": "MacCtrl+Shift+N"
        }
      }
    },
    "content_scripts": [
      {
        "exclude_matches": [
          "*://*.example.com/extension/options.html"
        ],
        "js": [
          "js/constants.js",
          "js/content.js",
          "js/eco.js"
        ],
        "matches": [
          "http://*/*",
          "https://*/*"
        ],
        "run_at": "document_end"
      },
      {
        "all_frames": true,
        "css": [
          "css/light.css"
        ],
        "exclude_matches": [
          "*://*.example.net/*",
          "*://*.example.com/extension/options.html"
        ],
        "match_about_blank": true,
        "matches": [
          "http://*/*",
          "https://*/*"
        ],
        "run_at": "document_end"
      },
      {
        "exclude_matches": [
          "*://*.example.com/extension/options.html"
        ],
        "js": [
          "js/screenshader.js"
        ],
        "matches": [
          "http://*/*",
          "https://*/*"
        ],
        "run_at": "document_start"
      },
      {
        "all_frames": true,
        "js": [
          "js/fps.js"
        ],
        "matches": [
          "*://*.youtube.com/*"
        ],
        "run_at": "document_start"
      },
      {
        "all_frames": true,
        "exclude_matches": [
          "*://*.example.com/extension/options.html"
        ],
        "js": [
          "js/autostop.js"
        ],
        "match_about_blank": true,
        "matches": [
          "http://*/*",
          "https://*/*"
        ],
        "run_at": "document_start"
      },
      {
        "css": [
          "css/youtube.css"
        ],
        "matches": [
          "*://*.youtube.com/*"
        ]
      },
      {
        "js": [
          "js/constants.js",
          "js/options.js",
          "js/Chart.js",
          "js/eco-preview.js"
        ],
        "matches": [
          "*://*.example.com/extension/options.html"
        ],
        "run_at": "document_end"
      }
    ],
    "content_security_policy": "default-src 'none'; style-src 'self'; media-src https://www.example.com; child-src https://www.youtube.com https://www.example.com; connect-src https://www.example.com; script-src 'self'; img-src 'self' * data:; object-src 'none'",
    "current_locale": "ru",
    "default_locale": "en",
    "description": "Пример описания.",
    "homepage_url": "https://www.example.com/support/",
    "icons": {
      "16": "icons/icon16.png",
      "24": "icons/icon24.png",
      "32": "icons/icon32.png",
      "48": "icons/icon48.png",
      "96": "icons/icon96.png",
      "128": "icons/icon128.png"
    },
    "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDCWtVfDpPf9Smdanvm9Dc+Z4byFLQ/Vp67jkZbCZ1ZoFojbDElo0BsSRNvC/2wRrEsvWL24gj6e/oovdow0rD3/lhF2bLVNaWyjYdwuZgEoffIxuqh+6E0eDErdov/8PfCq7vDke753RTKLv5Lep6gjD4Lt4IXzAihGbLJwZsxZwIDAQAB",
    "manifest_version": 2,
    "minimum_chrome_version": "33",
    "name": "Example",
    "offline_enabled": true,
    "omnibox": {
      "keyword": "totl"
    },
    "options_ui": {
      "open_in_tab": true,
      "page": "options.html"
    },
    "permissions": [
      "contextMenus",
      "tabs",
      "<all_urls>",
      "storage"
    ],
    "short_name": "Example",
    "storage": {
      "managed_schema": "schema.json"
    },
    "update_url": "https://clients2.google.com/service/update2/crx",
    "version": "4.2.6.0"
  }
}
{
  "CreationFlags": [
    "REQUIRE_KEY"
  ],
  "GrantedPermissions": [
    "contextMenus",
    "cookies",
    "devtools",
    "storage",
    "tabs",
    "unlimitedStorage",
    "webNavigation",
    "webRequest",
    "webRequestBlocking"
  ],
  "Id": "bgnkhhnnamicmpeenaelnjfhikgbkllg",
  "InstallationPath": "C:\Users\Alice\AppData\Local\Yandex\YandexBrowser\User Data\Default\Extensions\bgnkhhnnamicmpeenaelnjfhikgbkllg\3.3.4_0",
  "Location": "Internal",
  "Manifest": {
    "author": "Bob",
    "background": {
      "page": "background.html",
      "persistent": true
    },
    "browser_action": {
      "default_icon": {
        "19": "icons/green-19.png",
        "38": "icons/green-38.png"
      },
      "default_popup": "pages/popup.html",
      "default_title": "Example"
    },
    "content_scripts": [
      {
        "all_frames": true,
        "js": [
          "lib/utils/element-collapser.js",
          "lib/utils/css-hits-counter.js",
          "lib/libs/extended-css.js",
          "lib/content-script/content.js",
          "lib/content-script/common-script.js",
          "lib/content-script/content-script.js",
          "lib/content-script/wrappers.js",
          "lib/content-script/preload.js"
        ],
        "match_about_blank": true,
        "matches": [
          "http://*/*",
          "https://*/*"
        ],
        "run_at": "document_start"
      },
      {
        "all_frames": true,
        "css": [
          "lib/content-script/css/alert-popup.css"
        ],
        "js": [
          "lib/content-script/content-utils.js"
        ],
        "match_about_blank": true,
        "matches": [
          "http://*/*",
          "https://*/*"
        ],
        "run_at": "document_start"
      },
      {
        "all_frames": false,
        "js": [
          "lib/content-script/i18n-helper.js",
          "lib/content-script/devtools/devtools-rules-constructor.js",
          "lib/content-script/assistant/js/start-assistant.js",
          "lib/content-script/devtools-helper.js"
        ],
        "matches": [
          "http://*/*",
          "https://*/*"
        ],
        "run_at": "document_end"
      },
      {
        "all_frames": false,
        "js": [
          "lib/pages/thankyou.js"
        ],
        "matches": [
          "*://*.example.com/*/thankyou.html*"
        ],
        "run_at": "document_start"
      }
    ],
    "current_locale": "ru",
    "default_locale": "en",
    "description": "Пример описания.",
    "devtools_page": "devtools.html",
    "icons": {
      "16": "icons/green-16.png",
      "128": "icons/green-128.png"
    },
    "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqbVb+sEr07ot5230yBVcrxQpANd89AacNmD3Ut7To6kk2gL6ri8SWHids1CZ4bOhG9NAd6Iqz4/8aAuNQgMKCk34uRn0oSbmW+YDwkGTU14VqlWqr0+ikFKM0UTrEX4o3dvKPeV6lRPlHeLznV/TiV22NSB+8xfGRSvJenSWumJnos2WM2HQoS32q4Rcbwfy1rBrWoDwUK6maRKvE0tvfKl+3j5s+16b/BDdUvdYWADqzBUxDxHHwTuQ6K49th2Tg5nM6GPzCFLqoC6NHtaayVFd4W0J8z6+MUrJHJO7plRxLeOCbKAQCE1NhYDt93BTlsSX2Ohxs5nW/GDG0oh6zwIDAQAB",
    "manifest_version": 2,
    "minimum_chrome_version": "55.0",
    "name": "Example",
    "optional_permissions": [
      "privacy"
    ],
    "options_page": "pages/options.html",
    "permissions": [
      "tabs",
      "<all_urls>",
      "webRequest",
      "webRequestBlocking",
      "webNavigation",
      "storage",
      "unlimitedStorage",
      "contextMenus",
      "cookies"
    ],
    "short_name": "Example",
    "update_url": "https://clients2.google.com/service/update2/crx",
    "version": "3.3.4"
  }
}

Написать в службу поддержки

Также вы можете перейти на сервис

favicon Яндекс Браузера для организаций



Полезные ссылки

Промостраница Яндекс Браузера для организаций