Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Anarios/return-youtube-dislike.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Extensions/combined/popup.js')
-rw-r--r--Extensions/combined/popup.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/Extensions/combined/popup.js b/Extensions/combined/popup.js
index 1f2a7e3..c0e7b78 100644
--- a/Extensions/combined/popup.js
+++ b/Extensions/combined/popup.js
@@ -4,7 +4,17 @@ const config = {
showAdvancedMessage: "Show Settings",
hideAdvancedMessage: "Hide Settings",
disableVoteSubmission: false,
+}
+
+ function initConfig() {
+ initializeVersionNumber();
+ }
+ function initializeVersionNumber() {
+ const version = chrome.runtime.getManifest().version;
+ document.getElementById('ext-version').innerHTML = 'v' + version;
+}
+
links: {
website: "https://returnyoutubedislike.com",
github: "https://github.com/Anarios/return-youtube-dislike",