开发者

how to write text into Gmail Message Body by other browser

I would like to do the following:

  1. Open a web page → login gmail → compose mail
  2. Open other web page → Select a bookmark, open a java webapp(worked in tomcat)
  3. The 开发者_运维问答webapp will copy some text into the above Gmail's Message Body

●if the two pages are different tabs in same browser , is it possible?

●bookmark uses bookmarklet(javascript).


You can try formulating something like this

http://mail.google.com/mail/?view=cm&fs=1&to=toaddress@domail.com&su=Subject&body=message&ui=1

and open it in a browser.


I don't think that's at all possible. You're talking about completely different applications.


I am not sure this is possible without exploiting any browser security flaws. A web app opened in a browser shouldn't be able to interact with anything on your computer, and especially an other browser window.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜