Print self

This commit is contained in:
shinigami-eyes 2018-12-16 16:54:01 +01:00
parent 1d2abcef60
commit b4905849a6

View File

@ -99,7 +99,7 @@ function init() {
if (myself && (myself.href || myself.startsWith('http:') || myself.startsWith('https:'))) if (myself && (myself.href || myself.startsWith('http:') || myself.startsWith('https:')))
myself = getIdentifier(myself); myself = getIdentifier(myself);
//console.log('Myself: ' + myself) console.log('Self: ' + myself)
@ -474,8 +474,8 @@ browser.runtime.onMessage.addListener((message, sender, sendResponse) => {
if(exact){ if(exact){
exact.classList.add(debugClass); exact.classList.add(debugClass);
if (message.debug <= 1) if (message.debug <= 1)
setTimeout(() => exact.classList.remove(debugClass), 10000) setTimeout(() => exact.classList.remove(debugClass), 2500)
} }
} }
sendResponse(message); sendResponse(message);
}) })