Re: Browser plug-in to interact with browser





Andrew Thompson wrote:
> On 26 May 2005 07:01:34 -0700, DKM wrote:
>
> > Do you know of any simple example of a browser plug-in written in Java
> > that does a simple thing like changing the color or text of any
> > element.
>
> Not specifically.
>
> Try to see it this way. Most of the important work with the DOM
> should be done by JS, and written in JS. If your applet needs
> to trigger that functionality, it should simply call a JS method
> that encapsulates the relevant commands.

I understand. I was just looking for a starting point because I am
completely new to all this.

I have now found such an example now posted here in this newsgroup.

Thank you again for the help and the direction.

D.K. Mishra

>
> The reason I say that is that manipulating the browser DOM is
> really the specialty of JS progammers, and you would be best
> off asking them on the JS group..
> <http://groups-beta.google.com/group/comp.lang.javascript>
>
> [ I have seen some horrendous Javascript written by Java programmers,
> and what's worse - they actually think they know what they are doing. ;) ]
>
> In fact, most of your basic testing can be done with HTML buttons
> and such pretending to be the applet. Once you have figured how
> to manipulate the DOM to your satisfaction, put the applet in to
> control it all.
>
> --
> Andrew Thompson
> http://www.PhySci.org/codes/ Web & IT Help
> http://www.PhySci.org/ Open-source software suite
> http://www.1point1C.org/ Science & Technology
> http://www.LensEscapes.com/ Images that escape the mundane

.