问题
I am trying to get all facebook requests in my popup html. i need to open a window with link on facebook web page where is all friend requests and click "accept" buttons. all this must happen when user click in my popup buttton "activate". i try something like this but problem is that always show a new windwow but i need hidden window.
background-js:
chrome.windows.create({url: "https://mobile.facebook.com/friends/center/requests/?rfj",
type:"normal", focused:false }
来源:https://stackoverflow.com/questions/62036398/create-hidden-window-in-background-js-chrome-extension