I want to get window object of current tab from popup.js but I can't find a way to do that. i keep getting the popup's window object
I tried just accessing window but it got the popup's window
I want to get window object of current tab from popup.js but I can't find a way to do that. i keep getting the popup's window object
I tried just accessing window but it got the popup's window
 
    
    You need to filter window Types
Doc link method-getLastFocused
chrome.windows.getLastFocused({ windowTypes: ["normal"] }, (win) => console.log(win));
