options: add options page

This commit is contained in:
He4eT 2024-08-15 19:43:33 +02:00
commit f41cb32e81
5 changed files with 136 additions and 2 deletions

View file

@ -8,6 +8,5 @@ document.getElementById('toggleMiljeButton').onclick = () => {
}
document.getElementById('openSettingsButton').onclick = () => {
browser.storage.local.set({'params': {scaleFactor: 16}})
console.log('openSettingsButton')
browser.runtime.openOptionsPage()
}