Firefox:Dive Into Greasemonkey/6.3. Integrating data from other sites
Mozilla中文Wiki
您的位置:Dive Into Greasemonkey → 高级话题 → 整合其他网站的数据
[编辑]
6.3. 整合其他网站的数据
Greasemonkey 定义了一个函数,GM_xmlhttpRequest, 用来让用户脚本获取(GET)任意URL的数据或者发送(POST)数据到任意URL。
请查看 GM_xmlhttpRequest 获得更多细节和实例。
这个函数在 Greasemonkey 0.2.6 中引入。您应该测试下它是否存在。
更多材料
- LibraryLookup (http://weblog.infoworld.com/udell/gems/LibraryLookup.user.js) 整合 Amazon.com 和您的本地图书馆。
- Annotate Google (http://ponderer.org/download/annotate_google.user.js) 整合 Google 和 del.icio.us.
- Bloglines Tweaks (http://persistent.info/greasemonkey/bloglines.user.js) 在Bloglines的文章汇总上添加了一个 Expand 按钮以获得和显示完整的文章。
- Flick Batch Enhancer (http://lachnlone.no-ip.info/greasemonkey/flick_batch.user.js)使用 GM_xmlhttpRequest,利用Flickr 自身的REST API为Flickr 添加特性。
- Hide Google Redirects (http://www.cs.toronto.edu/~james/greasemonkey/hide-google-redirects.user.js)改编Google个人搜索历史,使用一般的<a href="...">链接,但是仍然对适当的跟踪URL调用GM_xmlhttpRequest以跟踪链接。
![[首页]](/stylesheets/images/wiki.png)