mirror of
https://github.com/miljegen/browser-milje.git
synced 2024-10-30 07:23:43 +00:00
milje.js now outputs the version number from the manifest file(testing something out)
This commit is contained in:
parent
a009f6425c
commit
31b725dfc6
@ -15,9 +15,13 @@
|
||||
},
|
||||
"content_scripts": [
|
||||
{
|
||||
|
||||
"matches": ["<all_urls>", "file:///"],
|
||||
"js": ["scripts/milje.js"]
|
||||
}
|
||||
]
|
||||
],
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
"id": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user