为Chrome创建附加组件 [英] Create Add ons for Chrome

查看:71
本文介绍了为Chrome创建附加组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



大家

我想在Web中创建一个应用程序,以显示突出显示的单词,并在光标放在其上的小弹出窗口中打开并显示有关该单词的描述,这些单词被突出显示并在该单词将存在于我的数据库中时显示弹出窗口. >

致谢:
Rupendra

Hi,

All of you,

I want to create a application in web that display the highlighted words and when cursor put on it a small popup open and show the description about that word , These words highlighted and show the popup when the words will exists in my database.


Thanks and Regards:
Rupendra

推荐答案

您可以使用Greasemonkey样式的用户脚本创建扩展,该扩展可以使用GM_xmlHttpRequest将信息传递到Web服务器并检索有关突出显示内容的信息.这样做的好处是,它也可以在安装了Greasemonkey的Firefox上使用.
You can create an extension as a Greasemonkey style user script, which can use GM_xmlHttpRequest to pass information to your web server and retrieve information about what to highlight. This has the advantage that it will also work with Firefox with Greasemonkey installed.


这篇关于为Chrome创建附加组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆