Skip to content

The free and privacy-friendly screen recorder with no limits 🎥

181 B
Raw Blame
export const getCurrentTab = async () => {
  const queryOptions = { active: true, lastFocusedWindow: true };
  const [tab] = await chrome.tabs.query(queryOptions);
  return tab;
};