1

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.

Michael Gaskill
  • 7,913
  • 10
  • 38
  • 43
Jacques Blom
  • 1,794
  • 5
  • 24
  • 42

1 Answers1

9

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)

Community
  • 1
  • 1
Rob W
  • 341,306
  • 83
  • 791
  • 678