summaryrefslogtreecommitdiff
path: root/ext/bg/js/permissions-main.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/permissions-main.js')
-rw-r--r--ext/bg/js/permissions-main.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/bg/js/permissions-main.js b/ext/bg/js/permissions-main.js
index 3e46c3f2..a464f40e 100644
--- a/ext/bg/js/permissions-main.js
+++ b/ext/bg/js/permissions-main.js
@@ -20,9 +20,11 @@
*/
async function setupEnvironmentInfo() {
+ const {manifest_version: manifestVersion} = chrome.runtime.getManifest();
const {browser, platform} = await api.getEnvironmentInfo();
document.documentElement.dataset.browser = browser;
document.documentElement.dataset.os = platform.os;
+ document.documentElement.dataset.manifestVersion = `${manifestVersion}`;
}
async function isAllowedIncognitoAccess() {