josecampos
josecampos

Reputation: 861

Get email text from TextArea on Gmail

I want to develop a extension to Chrome which interact with Gmail, more precisely with textarea of an email. I already check all divs with firebug, but I cannot find the div where the text is.

How can I find the textarea, it has a fix id?

Upvotes: 0

Views: 435

Answers (1)

Samet Atdag
Samet Atdag

Reputation: 992

Gmail mail composer area is not a textarea. It is a webpage with contenteditable attribute. Also it is included within an iframe. Id of this iframe is canvas_frame.

This iframe includes another iframe and this is the one containing editable area.

There isn't an easy way to inject to this. This is an option that I've thought quickly:

Upvotes: 1

Related Questions