; return result; }; const getCurrentTab = async function() { const tabs = await browser.tabs.query({ active: true, currentWindow: true }); return tabs.length > 0 ? tabs[0] : undefined; }; ØA —Eoúô