Привет, я пытаюсь проверить, установлен мой плагин или нет. Для этого я использую функцию sendMessage (). мой код
window['chrome'].runtime.sendMessage('ilecenhhieemgphjfbmggnhllgcfipfi', {checkExtension: 'true'},
function(response) {
});
}
catch(e){
console.log(e)
}```
then i got an error message
*Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.*
anyone can give me a solution for this??