npapi

Alternatives to NPAPI plugins

点点圈 提交于 2019-12-01 02:21:56
问题 The NPAPI is being phased out by Chrome. What are the alternatives for writing NPAPI like browser plugins with cross browser support? I need to write a browser plugin which could talk to desktop based installed application. My environment is such that I have a desktop application and a web version of the same. The two need to communicate. My requirement is little more than just messaging. I need to first ascertain if the desktop application is installed. I do this by looking to windows

Return Array from NPAPI plugin to java script

对着背影说爱祢 提交于 2019-11-30 16:07:49
I want to return array of string from NPAPI plugin to Javascript. Currently I am using only plain NPAPI. I have read the following links: NPVariant to string array http://www.m0interactive.com/archives/2010/10/21/how_to_communicate_back_to_javascript_from_npapi_plugin.html I am able to return alert() from plugin to javascript and I can get the NPNVWindowObject, but I am stuck right now on figuring out how to push elements onto the array and return it to javascript. Working code samples would be appreciated, thanks You're already close; you just need to fill in a few details. The FireBreath

Return Array from NPAPI plugin to java script

烈酒焚心 提交于 2019-11-30 16:06:33
问题 I want to return array of string from NPAPI plugin to Javascript. Currently I am using only plain NPAPI. I have read the following links: NPVariant to string array http://www.m0interactive.com/archives/2010/10/21/how_to_communicate_back_to_javascript_from_npapi_plugin.html I am able to return alert() from plugin to javascript and I can get the NPNVWindowObject, but I am stuck right now on figuring out how to push elements onto the array and return it to javascript. Working code samples would

Hosting Flash won't load swf ressources (xml, image, etc.)

别说谁变了你拦得住时间么 提交于 2019-11-30 15:41:45
I tried to achieve at first a swf reader with gtk2 on my unix machine. Worked, I could render simple swf files. Now, I'm trying to add a configuration to my flash file with xml configuration, add image, etc. Failed, won't get pass geturlnotify(). Here's my code: #include <stdio.h> #include <stdlib.h> #include <dlfcn.h> #include <string.h> #include <unistd.h> #include <ctype.h> #include <gtk/gtk.h> #include <gdk/gdkx.h> #include "npupp.h" #define FLASH_PLUGIN_SO "./libflashplayer.so" void *flash_plugin_handle; NPNetscapeFuncs browserFuncs; NPPluginFuncs pluginFuncs; GtkWidget *main_window; char

Accessing scanner at client side from a web page without applet

白昼怎懂夜的黑 提交于 2019-11-30 14:19:54
I want to acces a scanner at client side, before I was using java applet without problem but after chrome has decided to not support java what can I do. If there's solution with JS, Jquery or other language please tell me Atalasoft has a web scanning toolkit that should meet your needs: Atalasoft WingScan product page The product does not use browser-specific plugins and therefore works nicely in all modern browsers (IE8+, Chrome, Firefox). Architecturally, there is a small local component that should be installed, which exposes RESTful web service. Web page uses standard JavaScript/jQuery to

With Silverlight disappearing from Chrome 45, what are my alternatives?

↘锁芯ラ 提交于 2019-11-30 12:30:23
Since Chrome 45 will drop NPAPI support in september and with it Silverlight, what would be my alternatives beside using another browser ? I would really need to still support Chrome with my application and can't force the user to not update their main browser. Could I use a chrome extension ? Could I make them install an out of date Chrome alongside an updated one ? What else ? Well it seems there is a solution ! I have tried IETab with Chrome Canary (v45) and the dev channel (v46) and even with Silverlight support dropped from those version, the extension allows my application to work

Google Chrome Java Workaround

我的梦境 提交于 2019-11-30 08:45:31
问题 Google has recently announced their intentions to remove client-side Java support from Chrome in the near future. I, a Java developer by nature, have built nearly all of my web-based applications on top of some form of Java. As such, I am looking for a workaround for Chrome's discontinuation of Java support, without having to rewrite all of my client-side web apps from the ground-up in another language. Furthermore, I'm searching for a workaround which does not require Chrome's built-in NPAPI

What is Safari's planned lifecycle for Silverlight (NPAPI)

你。 提交于 2019-11-30 08:22:25
问题 Chrome has already dropped its NPAPI (silverlight) support Firefox has announced it will stop NPAPI support as of the end of 2016 (https://blog.mozilla.org/futurereleases/2015/10/08/npapi-plugins-in-firefox/) Edge did not support NPAPI from the start InternetExplorer is supporting it untill 2021 (https://support.microsoft.com/en-us/lifecycle?c2=12905) Are there any official announcements on the Safari front? 回答1: The only thing "official" at this time is that the Get Silverlight page now

Generating async Javascript events from browser plugin (NPAPI)

元气小坏坏 提交于 2019-11-30 07:21:05
I'm writing a web browser plugin (NPAPI.) My plugin starts a worker thread, and as the worker progresses, I'd like to pass events back to Javascript. But because of the NPAPI threading model, it's not legal for the worker thread to call back into NPAPI directly, so the worker thread can't invoke Javascript. One solution to this is the NPN_PluginThreadAsyncCall function. But this is a relatively new function. For example, it's supported only from Firefox 3 on. Is there any way to get async event delivery/javascript execution from an NPAPI plugin without using NPN_PluginThreadAsyncCall? What did

Digital signature from electronic smartcard in Chrome

家住魔仙堡 提交于 2019-11-30 05:01:06
For an electronic prescription system, that runs on the browser and that requieres personal signature by the professional, we are using a Java applet to sign the XML request, that then is sended to a WS, using a smartcard. But since version 42, Chrome is disabling by default NPAPI support , and in future versions next to September 2015 it will be completely disabled and then applets won't be usable at all. At Chrome NPAPI deprecation page points to WebCrypto and TLS as alternatives. But it seems that WebCrypto has leaved out of scope the support of smartcards , and it seems that TLS is only