Version 1.2.0 + adding version to popup

pull/91/head v1.2.0
Kevin Payravi 2023-02-12 18:34:00 -06:00
parent c3bd18e413
commit d7fbb1a67f
4 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "Indie Wiki Buddy", "name": "Indie Wiki Buddy",
"version": "1.1.3", "version": "1.2.0",
"description": "Indie Wiki Buddy helps you discover quality, independent wikis through alerts, redirects, and search filtering.", "description": "Indie Wiki Buddy helps you discover quality, independent wikis through alerts, redirects, and search filtering.",
"permissions": [ "permissions": [
"storage", "storage",

View File

@ -1,6 +1,6 @@
{ {
"name": "Indie Wiki Buddy", "name": "Indie Wiki Buddy",
"version": "1.1.3", "version": "1.2.0",
"description": "Indie Wiki Buddy helps you discover quality, independent wikis through alerts, redirects, and search filtering.", "description": "Indie Wiki Buddy helps you discover quality, independent wikis through alerts, redirects, and search filtering.",
"permissions": [ "permissions": [
"storage", "storage",

View File

@ -243,7 +243,7 @@
<div class="footer"> <div class="footer">
You have been notified of indie wikis <span id="countAlerts"></span> times and redirected <span id="countRedirects"></span> times. Search results have been filtered <span id="countSearchFilters"></span> times. You have been notified of indie wikis <span id="countAlerts"></span> times and redirected <span id="countRedirects"></span> times. Search results have been filtered <span id="countSearchFilters"></span> times.
<br /> <br />
<a href="https://getindie.wiki/" target="_blank">Info & Help</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="https://getindie.wiki/changelog/" target="_blank">Changelog</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="https://form.getindie.wiki/" target="_blank">Submit a Wiki</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="https://github.com/KevinPayravi/indie-wiki-buddy" target="_blank">Source Code</a> <span id="version"></span>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="https://getindie.wiki/" target="_blank">Info & Help</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="https://getindie.wiki/changelog/" target="_blank">Changelog</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="https://form.getindie.wiki/" target="_blank">Submit a Wiki</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="https://github.com/KevinPayravi/indie-wiki-buddy" target="_blank">Source Code</a>
</div> </div>
</body> </body>
<script type="text/javascript" src="popup.js"></script> <script type="text/javascript" src="popup.js"></script>

View File

@ -408,6 +408,10 @@ function setBreezeWiki(setting) {
// Main function that runs on-load // Main function that runs on-load
document.addEventListener('DOMContentLoaded', function () { document.addEventListener('DOMContentLoaded', function () {
// Adding version to popup:
const version = chrome.runtime.getManifest().version;
document.getElementById('version').textContent = 'v' + version;
// Get user's last set language // Get user's last set language
chrome.storage.sync.get({ 'lang': 'EN' }, function (item) { chrome.storage.sync.get({ 'lang': 'EN' }, function (item) {
langSelect.value = item.lang; langSelect.value = item.lang;