milje.js now outputs the version number from the manifest file(testing something out)

This commit is contained in:
vuk
2024-09-22 14:03:01 +02:00
parent a009f6425c
commit 31b725dfc6
2 changed files with 10 additions and 3 deletions

View File

@@ -1,4 +1,7 @@
console.log("browser-milje version 0.0.1")
const manifestData = chrome.runtime.getManifest();
const version = manifestData.version;
console.log("browser-milje version " + version);
const milje = document.createElement('div');
const style = {