mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-18 09:35:20 +02:00
7 lines
175 B
JavaScript
7 lines
175 B
JavaScript
|
|
||
|
const getActiveTabs = async (browser) => {
|
||
|
const options = { active: true, currentWindow: true };
|
||
|
return await browser.tabs.query(options);
|
||
|
}
|
||
|
|
||
|
export default getActiveTabs;
|