Jacques Blom
Jacques Blom

Reputation: 1822

Chrome extension load a background.js each time the page reloads

Can I reload the background.js each time a page reloads with my chrome extension?

I want to use it to inject a CSS file each time.

Upvotes: 1

Views: 2722

Answers (1)

Rob W
Rob W

Reputation: 348972

background.html - The background page, is only loaded once for each chrome session.
(I assumed that your background.js file runs from a background page, because of the file name)

Upvotes: 9

Related Questions