views:

675

answers:

2

I have to create a plug-in that will have to display information when user hovers over certain terms. Can anyone show me the direction how to do it?

I do not have much ideas about creating plug-ins. I know what i want to do can be done by java script. But can a java script file be installed as a browser plug in? any ideas on this will be appreciated! Thanks!

+1  A: 

Mozilla extension tutorial for Firefox, Safari, and Opera

Internet Explorer add-on tutorial

John Ellinwood
Opera does not support Mozilla/Firefox-style extensions. It does support PLUGINS, which are compiled binaries in the form of a shared library in the native OS executable format.
Brendan Kidwell
+3  A: 

What you want to do is create a userscript. It's exactly what you're describing: a piece of javascript code installed in the browser as a plugin.

Userscripts are supported:

  1. By Firefox using Greasemonkey
  2. By IE with its own version of Greasemonkey
  3. Natively (soon) by Google Chrome
  4. Natively by Opera
  5. And even by Safari

So support is on almost every major browser.

A userscript is the easiest solution for what you're trying to do.

Andrew