I am making a Google Chrome extension and I would like to have my background page to cause the browser action's popup page to show after an event. Can this be done?
Thanks
forEach((tab) => { chrome. tabs. sendMessage( tab.id, youtPayload, function (response) { // do something here if you want } ); }); }); That's it!
Chrome 10 Now Lets Extensions Run in the Background.
Since Chrome is already running in the background, there is less that has to take place behind the scenes before your new browser window appears. This makes the browser feel quick, even on slower machines. Running in the background also allows any Chrome extensions you might have installed to continue to operate.
You cannot show/hide a browser action nor you can trigger a popup to open. If you need something to show, did you consider using HTML5 notifications?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With