npapi

How to make a digital signature in a web application (JavaScript) using a smartcard?

你离开我真会死。 提交于 2019-12-17 15:41:58
问题 We have written a document management system and would like to digitally sign documents using the web client. Our Java client application is already able to apply and check digital signature, but we would like to make signature even with our web client. This is written in GWT and so, when run on the client side, it is a JavaScript application. We not want to create a Java applet and download it on the client and execute it. We would like to use the browser security device or the browser API

A simple hello world NPAPI plugin for Google Chrome?

家住魔仙堡 提交于 2019-12-17 10:26:19
问题 I am trying to make a chrome plugin but Chrome API doesn't give me enough power. I want to use NPAPI but I have no idea how to use it but I do have experience in Visual C++. Can someone show me a 'Hello world' in C++ application so I can get started? 回答1: Note: Both Firefox and Chrome will default most plugins to click-to-play soon, with Chrome planning to phase out NPAPI entirely. NPAPI for new projects is discouraged at this point. NPAPI plugins shouldn't be browser specific (at least as

A simple hello world NPAPI plugin for Google Chrome?

会有一股神秘感。 提交于 2019-12-17 10:25:09
问题 I am trying to make a chrome plugin but Chrome API doesn't give me enough power. I want to use NPAPI but I have no idea how to use it but I do have experience in Visual C++. Can someone show me a 'Hello world' in C++ application so I can get started? 回答1: Note: Both Firefox and Chrome will default most plugins to click-to-play soon, with Chrome planning to phase out NPAPI entirely. NPAPI for new projects is discouraged at this point. NPAPI plugins shouldn't be browser specific (at least as

Load NPAPI Plugin on Android device/emulator

旧街凉风 提交于 2019-12-14 03:48:32
问题 I compiled sample NPAPI Plugin which I got from this link http://code.google.com/p/npapi-sdk/ after compiling it using NDK, I got the .so file libs/armeabi/libBasicPlugin.so after searching on Google I came across following suggestions: put .so file in /data/data/com.android.browser/app_plugins/ put .so file in /data/data/com.android.browser/assets/plugins/ but none of that works on emulator (haven't tried on device) I tried it on Gingerbread and ICS. 回答1: Plugin for webkit can't work anymore

How to detect first loading of NPAPI plugin/Extension in firefox and chrome

爱⌒轻易说出口 提交于 2019-12-14 03:25:46
问题 I want to detect first loading of NPAPI plugin/extension. Which event should i handle in extension/plugin. 回答1: I found the solution. My requirement is i want inform the NPAPI plugin when browser starts.I am having my extension and NPAPI plugin. Chrome Solution: For chrome background_helper.js loads only once when new instance of chrome gets started. It will not reload on new page or new window. Firefox solution: On Firefox window.load gets called when new windows gets opened so i have added

Replace Applet in downloading and executing a file

坚强是说给别人听的谎言 提交于 2019-12-14 02:43:33
问题 I have an application that has an applet that does two simple things: Download an executable jar file from our server (if the user doesn't already have it) to an specific folder in the user's PC Execute the jar file with the corresponding parameters This jar file monitors an Office file for changes and send it back to our server. The problem is the war Chrome is creating with Java with this NPAPI thing. So I have until September to think of an alternate technology or stop the Chrome support.

NPAPI retirement and the future of digital signature

北城以北 提交于 2019-12-13 18:14:13
问题 I understand that browser's companies are not interested about the applications which use Smart Cards, applets, etc, anymore. So, I'd like to ask you guys about the approach that you will be taking from now and then without NPAPI. In my company we are developing a new app which is basically digitally sign confidential documents and we are afraid of it and the nexts steps on this NPAPI novel. For now, just Chrome is removing this netscape plugin, but I know the other browsers are planning the

Hacks to make synchronous JavaScript calls [duplicate]

一个人想着一个人 提交于 2019-12-13 16:29:27
问题 This question already has answers here : Getting synchronous behavior in javascript? (4 answers) Closed 5 years ago . JavaScript uses asynchronous calls in most of the modern APIs dealing with "slow" things like disk IO and network. I realize what the purpose of this, however there are certain cases when making synchronous calls really needed. For example, I have a JavaScript code that I can't rewrite. In the code there are synchronous call to a certain method. For some debugging purposes at

NPAPI plugin framework Error

£可爱£侵袭症+ 提交于 2019-12-13 09:51:09
问题 I am trying to use NPAPI Framework from Yury Sidorov by following this answer: How to embed Delphi VCL form into HTML page using NPAPI but I get an error with NPPlugin.pas. I am using delphi XE7 and here what i did by following Krom Stern instructions procedure DefDebugOut(const Msg: string); begin OutputDebugStringA(PAnsiChar(Msg + #13#10)); // Changed From Pchar To PAnsiChar end; but still getting error with compiler with this message [dcc32 Error] NPPlugin.pas(2215): E2010 Incompatible

How to develop NPRuntime Plugin on Opera in Mac?

与世无争的帅哥 提交于 2019-12-13 08:36:52
问题 I have recently developed the plugin for web browsers on Mac OS X. Developed by XCode, my bundle located in /Library/Internet Plug-ins. Chrome, Safari, Firefox catch this plugin but Opera doesn't. How can my plugin be caught by Opera? 回答1: It’s difficult to answer your question without more information about your plug-in. The plug-in must be located in “/Library/Internet Plug-ins” and the bundle must have a .plugin extension instead of .bundle. Is the plug-in listed in opera:plugins? This