mirror of
https://github.com/obsqrbtz/goose-highlighter.git
synced 2026-04-08 20:19:06 +03:00
nit: added footer with version and github.
This commit is contained in:
@@ -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();
|
||||
});
|
||||
Reference in New Issue
Block a user