silencing changelogs now available

This commit is contained in:
iw0
2024-05-29 13:47:08 +02:00
parent d9c2c818f1
commit 8c79c437c9
4 changed files with 43 additions and 4 deletions

10
changelog.js Normal file
View File

@@ -0,0 +1,10 @@
document.addEventListener("DOMContentLoaded",
ev => {
document.querySelector("#stop-it").addEventListener("click",
() => browser.storage.sync.set({"showChangelog": false})
);
document.querySelector("#opensettings").addEventListener("click",
() => browser.runtime.openOptionsPage()
);
}
);