1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-06-22 11:32:46 +02:00

Added version display to options page.

As suggested in #221.
This commit is contained in:
kkapsner 2018-08-18 21:50:04 +02:00
parent bf868eb6ae
commit dfc613db04
3 changed files with 16 additions and 1 deletions

View File

@ -186,4 +186,10 @@ td.hideColumn {
}
.content .hide:checked ~ .display, .displayHidden:checked ~ .display {
background-image: url(notVisible.svg);
}
.version {
text-align: right;
color: gray;
font-size: 0.8em;
}

View File

@ -199,4 +199,13 @@
}
}
});
const version = document.createElement("div");
version.className = "version";
fetch(browser.extension.getURL("manifest.json")).then(function(response){
return response.json();
}).then(function(manifest){
version.textContent = "Version " + manifest.version;
});
document.body.appendChild(version);
}());

View File

@ -3,7 +3,7 @@ Version 0.5.3:
-
new features:
-
- display version in options page
fixes:
-