Opening a Chrome extension as a pop-up using a link

前端 未结 2 1001
悲哀的现实
悲哀的现实 2021-01-29 05:08

I have a chrome extension installed in my browser. When I click the extension\'s icon in the menu bar the extension opens as a floating pop-up, as expected.

What I am t

2条回答
  •  自闭症患者
    2021-01-29 05:14

    Sadly, it's completely impossible.

    There is an API in the works, but it would require at a minimum a user gesture, at a maximum explicit invocation of the extension.

    So opening a link would not be enough, nor would a Native Message be.

提交回复
热议问题