nit: added footer with version and github.

This commit is contained in:
2025-10-08 16:32:04 +03:00
parent 584ced252f
commit f292bd7149
3 changed files with 55 additions and 0 deletions

View File

@@ -15,8 +15,17 @@ function localizePage(): void {
});
}
function displayVersion(): void {
const manifest = chrome.runtime.getManifest();
const versionElement = document.getElementById('version-number');
if (versionElement && manifest.version) {
versionElement.textContent = manifest.version;
}
}
document.addEventListener('DOMContentLoaded', async () => {
localizePage();
displayVersion();
const controller = new PopupController();
await controller.initialize();
});