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
  • 46,583
  • 10
  • 100
  • 152
user1255276
  • 541
  • 2
  • 5
  • 20

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
  • 46,583
  • 10
  • 100
  • 152