Groups > Browsers > Opera Browser Plugins > Re: Sample Code for Opera Plugin ??




Sample Code for Opera Plugin ??

Sample Code for Opera Plugin ??
Wed, 28 Jun 2006 17:31:39 +020
Hi,

I have problems with my developed mozilla plugin in Opera, so I think it's 
the best ( during I have to wait for opera support ) , if I could get a code 
example to debug and to compare with my code.

Are Opera plugins also comparible to mozilla or are [ some :-(  ] mozilla 
only compartible to Opera ?

Cheers,
Mariano 

Post Reply
Re: Sample Code for Opera Plugin ??
Thu, 29 Jun 2006 09:45:44 +020
"Mariano Spiegelberg" <m.spiegelberg@itnb-development.de>
writes:

> Hi,
>
> I have problems with my developed mozilla plugin in Opera, so I think it's

> the best ( during I have to wait for opera support ) , if I could get a
code 
> example to debug and to compare with my code.
>
> Are Opera plugins also comparible to mozilla or are [ some :-(  ] mozilla 
> only compartible to Opera ?
>
> Cheers,
> Mariano 


Opera implements the netscape plug-in API.  In Opera 9 the scripting
extension has been added.  I believe the mozilla plug-in support is
the same, but with some extensions.

One thing to look out for is that compiling a plug-in with the gecko
sdk version 1.6 (or was it 1.7?) and probably later versions will make
the plug-in refuse to run with opera 8 (or earlier).

Another thing to look out for is to not use gtk in the plug-in.  This
is a really ill-advised extension by Mozilla.

One example that may be useful is the plugger plug-in (or mozplugger.
I don't know what the difference between those two are).  Last time I
looked at plugger (a couple of years ago), it was a reasonably
straightforward plug-in.  Some of the things that plugger is trying to
do is rather hackish and somewhat hairy, but you don't have to look at
that part of the code :)

Post Reply
Re: Sample Code for Opera Plugin ??
Thu, 29 Jun 2006 10:27:30 +020
> One example that may be useful is the plugger plug-in

So I found something about it and find out, that this plugin is for Unix ?!
I am on a windows-system - sorry, I forget to say that...
So I am searching for plugins for windows....

If anybody has a link to such source code, please post it....



"Eirik Byrkjeflot Anonsen" <eirik@opera.com> schrieb im
Newsbeitrag 
news:87bqscs8uv.fsf@opera.com...
> "Mariano Spiegelberg" <m.spiegelberg@itnb-development.de>
writes:
>
>> Hi,
>>
>> I have problems with my developed mozilla plugin in Opera, so I think 
>> it's
>> the best ( during I have to wait for opera support ) , if I could get a

>> code
>> example to debug and to compare with my code.
>>
>> Are Opera plugins also comparible to mozilla or are [ some :-(  ]
mozilla
>> only compartible to Opera ?
>>
>> Cheers,
>> Mariano
>
>
> Opera implements the netscape plug-in API.  In Opera 9 the scripting
> extension has been added.  I believe the mozilla plug-in support is
> the same, but with some extensions.
>
> One thing to look out for is that compiling a plug-in with the gecko
> sdk version 1.6 (or was it 1.7?) and probably later versions will make
> the plug-in refuse to run with opera 8 (or earlier).
>
> Another thing to look out for is to not use gtk in the plug-in.  This
> is a really ill-advised extension by Mozilla.
>
> One example that may be useful is the plugger plug-in (or mozplugger.
> I don't know what the difference between those two are).  Last time I
> looked at plugger (a couple of years ago), it was a reasonably
> straightforward plug-in.  Some of the things that plugger is trying to
> do is rather hackish and somewhat hairy, but you don't have to look at
> that part of the code :)
>
> eirik 

Post Reply
Re: Sample Code for Opera Plugin ??
Thu, 29 Jun 2006 12:18:53 +020
"Mariano Spiegelberg" <m.spiegelberg@itnb-development.de>
writes:

>> One example that may be useful is the plugger plug-in
>
> So I found something about it and find out, that this plugin is for Unix
?!
> I am on a windows-system - sorry, I forget to say that...
> So I am searching for plugins for windows....

Oh, sorry.  I sometimes forget that people are running something else
than unix :)

The things that plugger does is very unix and X-specific, but many of
the interface functions are largely the same.  I don't know much about
netscape plug-ins on windows, though.

eirik

Post Reply
about | contact