You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Error thrown in execution script: e is not defined.
Stack: ReferenceError: e is not defined
at <anonymous>:4:44
at <anonymous>:4:76
at <anonymous>:20:3
at Object.chrome.tabs.executeAsyncFunction
(async()=>{constobj={};obj.code=async()=>{awaitnewPromise((r)=>setTimeout(r,250));// not important linereturn['one','two'];};constw=awaitchrome.windows.create({url: 'https://google.com'});console.log(w);awaitnewPromise((r)=>setTimeout(r,1000));// sometimes - important linetry{constr=awaitchrome.tabs.executeAsyncFunction(w.tabs[0].id,obj);console.log(r);}catch(e){console.log(e);}})();
also, make sure about permissions and the order of scripts:
I make error :
my code:
Any have idea ?
The text was updated successfully, but these errors were encountered: