Showing BreezeWiki count in settings

pull/161/head^2
Kevin Payravi 2023-06-27 03:10:03 -05:00
parent a4d233489e
commit 1a89177d44
2 changed files with 7 additions and 1 deletions

View File

@ -420,6 +420,8 @@
<br />
Automatically redirected to indie wikis <span id="countRedirects"></span> times
<br />
Automatically redirected to BreezeWiki <span id="countBreezeWiki"></span> times
<br />
<span id="countSearchFilters"></span> search engine results filtered
</div>
</div>

View File

@ -591,5 +591,9 @@ document.addEventListener('DOMContentLoaded', function () {
chrome.storage.sync.get({ 'countSearchFilters': 0 }, function (item) {
var key = Object.keys(item)[0];
document.getElementById('countSearchFilters').textContent = item[key];
});
});
chrome.storage.sync.get({ 'countBreezeWiki': 0 }, function (item) {
var key = Object.keys(item)[0];
document.getElementById('countBreezeWiki').textContent = item[key];
});
});