Open DonaldBatryn opened 2 years ago
gmail.new.get,thread_data() is only "guaranteed" to contain data for a thread which has been in view somehow, or was preloaded during Gmail-launch, and with gmail.js injected early enough to intercept this data.
If you want to "guarantee" that you have the relevant thread-data, you need to:
That's about it. Is your extension within these bounds?
Is there any way to ensure this returns a response other than undefined? it never seems available when i need it