move to dexie es nedb does not support multiple isntances

This commit is contained in:
2020-10-08 20:03:09 +02:00
parent 56cd2a3e7c
commit 3f77bcf1e0
9 changed files with 40 additions and 101 deletions

View File

@@ -34,7 +34,6 @@ function init() {
async function check() {
if (window.document.hidden) return
console.log('Checking')
const isBlocked = await browser.runtime.sendMessage(window.location.host)
wrapper.style.display = isBlocked ? 'initial' : 'none'
}