0

I'm trying to write a chrome extension that is used in the GMail compose screen. So far I have it working the way I want to except that when the GMail does its auto-save it removes my extension.

I'm adding in my extension with the content_script via java inject. and appending to the compose iframe.

Any help would be appreciated :)

abraham
  • 44,161
  • 9
  • 92
  • 140
user1255276
  • 531
  • 1
  • 5
  • 18

1 Answers1

2

You have to track DOM changes and re-add your code after the auto-save. There is another answer that gives a quick intro to DOMNodeInserted events. You should be able to watch for the Draft saved at ... insert.

Community
  • 1
  • 1
abraham
  • 44,161
  • 9
  • 92
  • 140