Create hidden window in background js CHROME EXTENSION

有些话、适合烂在心里 提交于 2021-01-29 21:35:37

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!