Thread overview
Conversion of the NPAPI
Jul 28, 2014
Sean Campbell
Jul 28, 2014
Joakim
Jul 29, 2014
Orvid King
Jul 29, 2014
Joakim
July 28, 2014
Is there anywhere where there is a D version of the NPAPI. I tried using htod with and without the cpp flag with no sucess
July 28, 2014
On Monday, 28 July 2014 at 05:16:51 UTC, Sean Campbell wrote:
> Is there anywhere where there is a D version of the NPAPI. I tried using htod with and without the cpp flag with no sucess

Why would you want to use NPAPI at this point?  IE hasn't supported it in a long time, and Chrome is deprecating it over the course of the year.  That pretty much leaves Firefox, Safari, and a couple smaller browsers.  Of course, the native browser plugin picture is pretty fragmented at this point, since every browser supports different plugin interfaces.

If you can't get htod to work, you may want to try out dstep, though it doesn't work well with preprocessor macros:

https://github.com/jacob-carlborg/dstep
July 29, 2014
On 7/28/2014 6:01 AM, Joakim wrote:
> On Monday, 28 July 2014 at 05:16:51 UTC, Sean Campbell wrote:
>> Is there anywhere where there is a D version of the NPAPI. I tried
>> using htod with and without the cpp flag with no sucess
>
> Why would you want to use NPAPI at this point?  IE hasn't supported it
> in a long time, and Chrome is deprecating it over the course of the
> year.  That pretty much leaves Firefox, Safari, and a couple smaller
> browsers.  Of course, the native browser plugin picture is pretty
> fragmented at this point, since every browser supports different plugin
> interfaces.
>
> If you can't get htod to work, you may want to try out dstep, though it
> doesn't work well with preprocessor macros:
>
> https://github.com/jacob-carlborg/dstep

I'm pretty sure firefox already disables all NPAPI plugins by default unless it's in a specific whitelist.
July 29, 2014
On Tuesday, 29 July 2014 at 01:29:39 UTC, Orvid King wrote:
> On 7/28/2014 6:01 AM, Joakim wrote:
>> On Monday, 28 July 2014 at 05:16:51 UTC, Sean Campbell wrote:
>>> Is there anywhere where there is a D version of the NPAPI. I tried
>>> using htod with and without the cpp flag with no sucess
>>
>> Why would you want to use NPAPI at this point?  IE hasn't supported it
>> in a long time, and Chrome is deprecating it over the course of the
>> year.  That pretty much leaves Firefox, Safari, and a couple smaller
>> browsers.  Of course, the native browser plugin picture is pretty
>> fragmented at this point, since every browser supports different plugin
>> interfaces.
>>
>> If you can't get htod to work, you may want to try out dstep, though it
>> doesn't work well with preprocessor macros:
>>
>> https://github.com/jacob-carlborg/dstep
>
> I'm pretty sure firefox already disables all NPAPI plugins by default unless it's in a specific whitelist.

Apparently the difference is that Chrome is getting rid of NPAPI altogether, while Firefox will still allow it but make users click on the plugin in a page to enable it on a case-by-case basis:

http://superuser.com/a/748477