Marcelo Gorski
PreguntaHola, tengo este error, y no tengo idea que es:
Error handling response: TypeError: Cannot destructure property ‘yt’ of ‘undefined’ as it is undefined.
Al cliquear sobre la linea del error me envia a esta función:
// Notify background so it can inject cosmetic filter
chrome.runtime.sendMessage(
{
action: “PAGE_READY”,
},
({ yt, enabled }) => {
if (!yt) {
return;
}
if (!/youtube\.com/.test(window.location.origin)) { return; } if (!window.blocker) { window.blocker = new Blocker(enabled); } else if (enabled) { window.blocker.enable(); } else { window.blocker.disable(); }
}
);
Probé copiando y pegando el código de Oscar, pero tengo el mismo resultado.
¿Alguien idea?
Gracia!