Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I open my chrome extension's popup page from the extension's content script?

I have a content script which injects a button to the document. I want to open the extension's popup when the button is clicked.

like image 695
Orny Avatar asked Feb 05 '11 18:02

Orny


1 Answers

You cannot open the extension's popup programmatically. That is by design. Perhaps you can use a page action instead?

Good Luck!

like image 75
Mohamed Mansour Avatar answered Nov 16 '22 01:11

Mohamed Mansour