Closed bplu4t2f closed 2 years ago
I'm getting this often (Firefox):
Error: Please use $(ref:runtime.lastError).
Problem is, this totally spams the logs of other extensions with error messages as well.
It refers to this code:
/* To override "user" originated css rules form other extensions */ function addButtonStyles(tabId){ chrome.tabs.insertCSS(tabId, { allFrames : true, cssOrigin : 'user', runAt : 'document_start', file : 'css/button.css', }, () => { if (chrome.extension.lastError) {return;} chrome.tabs.sendMessage(tabId, 'css_injected'); }); }
I haven't checked if there are other places that use the legacy extension.lastError alias.
extension.lastError
I'm getting this often (Firefox):
Error: Please use $(ref:runtime.lastError).
Problem is, this totally spams the logs of other extensions with error messages as well.
It refers to this code:
I haven't checked if there are other places that use the legacy
extension.lastError
alias.