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,738
  • 10
  • 38
  • 42
Jacques Blom
  • 1,773
  • 5
  • 23
  • 39

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
  • 328,606
  • 78
  • 779
  • 666