Conversion of the NPAPI
Joakim via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jul 28 20:30:21 PDT 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
More information about the Digitalmars-d
mailing list