Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Chrome Extension - Programmatically Open Popup

When you make a Google Chrome Extension you can choose to have a "Default_Popup", is there any way to programmatically open the popup?

like image 337
Zachrip Avatar asked Oct 12 '12 23:10

Zachrip


1 Answers

There is no direct way to open the popup programmatically. However, if you're looking to open it based on a keyboard shortcut, you can use the commands API with the _execute_browser_action command (the API is currently available on the beta channel only).

like image 98
Mihai Parparita Avatar answered Oct 17 '22 12:10

Mihai Parparita