runtime.id
Die ID der Erweiterung.
Syntax
js
let myAddonId = browser.runtime.id;
Wert
Ein string
, der die Add-on-ID darstellt. Wenn die Erweiterung in ihrem browser_specific_settings
Manifest.json-Schlüssel eine ID angibt, enthält runtime.id
diesen Wert. Andernfalls enthält runtime.id
die für die Erweiterung generierte ID.
Browser-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | ||||||
---|---|---|---|---|---|---|---|
id |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Hinweis:
Diese API basiert auf der chrome.runtime
API von Chromium. Diese Dokumentation basiert auf runtime.json
im Chromium-Code.