Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I load my extension on chrome startup?

I have developed a google chrome extension and I have a badge on the icon that displays a number.

When I start the browser the badge is not displayed. So I think I have to load the extension when chrome browser was started.

Is that possible?

like image 451
UpCat Avatar asked Feb 03 '11 07:02

UpCat


People also ask

How do I enable Chrome extensions automatically?

Go to the app or extension that you want to automatically install. Under Installation policy, choose Force install or Force install + pin. Click Save.

What is the shortcut to open extensions in Chrome?

Open the More Tools menu. Select Extensions. In the upper left corner, click on the hamburger icon and select Keyboard Shortcuts. Find the desired extension and press a combination of “Ctrl” or “Ctrl + Shift” and any other available key.

Why is my extension not showing up in Chrome?

Head to More tools > Extensions. Use the toggle for each extension to turn it off. Restart Chrome and go back to the extensions list. Re-enable the extensions.


1 Answers

Code in a background page is executed when a new browser window is created.

like image 117
serg Avatar answered Oct 11 '22 14:10

serg