-1

I find the best variant of checking elements changes on page from content-script of browser extension. For example I need add button to popup. I must check when popup will loaded and start the include. The only method that I found is use setInterval.

1 Answers1

0

I think the MutationObserver API is what are you looking for.

Denis L
  • 2,996
  • 1
  • 20
  • 35