|
|
@ -84,7 +84,6 @@ const Driver = {
|
|
|
|
|
|
|
|
|
|
|
|
Driver.cache.tabs[id] = cache ? resolve(cache.detections) : []
|
|
|
|
Driver.cache.tabs[id] = cache ? resolve(cache.detections) : []
|
|
|
|
|
|
|
|
|
|
|
|
console.log('a')
|
|
|
|
|
|
|
|
await Driver.setIcon(url, Driver.cache.tabs[id])
|
|
|
|
await Driver.setIcon(url, Driver.cache.tabs[id])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -523,7 +522,6 @@ const Driver = {
|
|
|
|
return detection
|
|
|
|
return detection
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
console.log('b')
|
|
|
|
|
|
|
|
await Driver.setIcon(url, resolved)
|
|
|
|
await Driver.setIcon(url, resolved)
|
|
|
|
|
|
|
|
|
|
|
|
if (url) {
|
|
|
|
if (url) {
|
|
|
@ -567,8 +565,6 @@ const Driver = {
|
|
|
|
const showCached = await getOption('showCached', true)
|
|
|
|
const showCached = await getOption('showCached', true)
|
|
|
|
const badge = await getOption('badge', true)
|
|
|
|
const badge = await getOption('badge', true)
|
|
|
|
|
|
|
|
|
|
|
|
console.log(showCached)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let icon = 'default.svg'
|
|
|
|
let icon = 'default.svg'
|
|
|
|
|
|
|
|
|
|
|
|
const _technologies = technologies.filter(
|
|
|
|
const _technologies = technologies.filter(
|
|
|
@ -638,7 +634,6 @@ const Driver = {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
if (await Driver.isDisabledDomain(url)) {
|
|
|
|
if (await Driver.isDisabledDomain(url)) {
|
|
|
|
console.log('c')
|
|
|
|
|
|
|
|
await Driver.setIcon(url, [])
|
|
|
|
await Driver.setIcon(url, [])
|
|
|
|
|
|
|
|
|
|
|
|
return
|
|
|
|
return
|
|
|
@ -650,7 +645,6 @@ const Driver = {
|
|
|
|
({ cached }) => showCached || cached === false
|
|
|
|
({ cached }) => showCached || cached === false
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
console.log('d')
|
|
|
|
|
|
|
|
await Driver.setIcon(url, resolved)
|
|
|
|
await Driver.setIcon(url, resolved)
|
|
|
|
|
|
|
|
|
|
|
|
return resolved
|
|
|
|
return resolved
|
|
|
|