[英]Gmail: Get a message body from within an extension
I'm writing a Chrome extension for Gmail. 我正在为Gmail编写Chrome扩展程序。 I want to replace the default list view with a custom made one.
我想用定制的列表视图替换默认列表视图。
I want to fetch all message bodies for all displayed messages. 我想获取所有显示消息的所有消息正文。 How can I do so from within a Chrome extension?
如何在Chrome扩展程序中执行此操作?
Gmail has ATOM feed of unread messages . Gmail具有未读邮件的ATOM供稿 。 It doesn't have a feed for all messages.
它没有所有消息的提要。
Gmail has a gmonkey object. Gmail有一个gmonkey对象。 1.0 version is documented .
记录了1.0版本 。 There is also undocumented 2.0 version.
也有未记录的2.0版本。 None of them allow me to fetch a message body.
它们都不允许我获取消息正文。
Gmail for iPad stores all messages in WebSQL storage. Gmail版iPad的所有邮件都存储在WebSQL存储中。 Unfortunately, desktop Gmail does not.
不幸的是,台式机Gmail却没有。
如果您没有其他答案,则始终可以通过Content Script很难地做到这一点,基本上是注入jQuery,抓取消息正文,重新调整DOM结构等。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.