npapi

Google Chrome Extensions and NPAPI

白昼怎懂夜的黑 提交于 2019-11-28 05:30:05
I need to write some Google Chrome extension. The problem is that Chrome JavaScript APIs don't give me enough power - I need to use native code. I thought about writing a NPAPI plug-in that will provide the extension some custom JS APIs. Is it possible to package the extension, plus the custom NPAPI plugin inside a .crx, and then upload it to the Chrome Extensions Store ? Another issue with this method is that the NPAPI plugin will have many versions: Linux, Windows, OS X, x86, x86-64, etc. Is it possible to package all these in the crx and use the best version? Thanks. EDIT: After reading

NPAPI for Python - Chrome Extension

牧云@^-^@ 提交于 2019-11-28 01:25:34
问题 I am trying to develop a chrome extension in which i have coded all my logic in 'python' . Now on browser action i want to pass parameters and execute that .py file and return results to popup which will open on browser action. To call a .py file from JavaScript i know i will need to code a NPAPI plugin. But am confused between which approach i should take. I have come across few options and am trying to choose the easiest way to do it .. Pyjamas Python Javascript Compiler : is a Python-to

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

半腔热情 提交于 2019-11-27 19:33:07
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 in order to sign a document. We would also like to keep the complete document server side, and move to

Detecting NPAPI support in Chrome using javascript

萝らか妹 提交于 2019-11-27 19:23:06
问题 As Google Chrome is dropping support for NPAPI post September 2015. Is there any way to detect the NPAPI support in chrome using JavaScript so that Alternative content will be load or show warning message to User to use an older version of Chrome. 回答1: Had an issue created by chrome 42's disabling of NPAPI. What was done was something in the lines of this: (similar to ) function isJavaAvailable() { var javaRegex = /(Java)(\(TM\)| Deployment)/, plugins = navigator.plugins; if (navigator &&

Embedding flash within a custom desktop application, using NPAPI?

倖福魔咒の 提交于 2019-11-27 16:59:46
问题 Note: Please don't answer with just use Adobe AIR ". I am aware of it, and it's not applicable in this situation. I've been reviewing the Gecko Plugin API reference. I'm assuming I'd have to implement all the required browser-side functionality. My goal is to be able to access the graphical output of Flash at a low level, in order to integrate them into an application, along with other native code. Adobe AIR is a future possibility but performance is nowhere near good enough yet for this

Deployment of NPAPI plugin with minimal user steps

删除回忆录丶 提交于 2019-11-27 11:43:09
问题 Situation: I've already written an ActiveX control for my IE users which works perfectly. I build the .ocx, CAB it up, sign it, and put it on the site with an EMBED tag. Users load the page, the yellow bar shows up asking if they want to install it: all they have to do is click it, and we're off. Now I need to build support for FF, Chrome, and Safari (on Mac). From my research, NPAPI is the way to do this, and Firebreath is supposed to make it easier. But from what I have read, deployment is

launch my installed application from chrome browser

时光总嘲笑我的痴心妄想 提交于 2019-11-27 07:29:00
问题 My requirement is to launch my installed application from chrome browser if it is installed on client machine, If not installed then I wanted to start download. What is best recommended solution for chrome? So fare i tried following used NPAPI, but due to deprecation of NPAPI by chrome I can't use. Checked PNacl and Pepper API both API not providing access to local file system to launch an application. They just port my C/C++ code in browser and run it in browser environment with sandbox

Google Chrome Extensions and NPAPI

☆樱花仙子☆ 提交于 2019-11-27 01:02:47
问题 I need to write some Google Chrome extension. The problem is that Chrome JavaScript APIs don't give me enough power - I need to use native code. I thought about writing a NPAPI plug-in that will provide the extension some custom JS APIs. Is it possible to package the extension, plus the custom NPAPI plugin inside a .crx, and then upload it to the Chrome Extensions Store? Another issue with this method is that the NPAPI plugin will have many versions: Linux, Windows, OS X, x86, x86-64, etc. Is

How to write a browser plugin?

南楼画角 提交于 2019-11-26 11:13:05
I'm curious as to the procedure for writing browser plugins for browsers like Chrome, Safari, and Opera. I'm thinking specifically of Windows here and would prefer working with C++. Are there any tools or tutorials that detail the process? Note : I am not referring to extensions or 'addons'. I'm referring to a plugin similar to how Flash and Adobe Reader have plugins to handle specific content-types. As others point out, plugins for those browser are written using the NPAPI . Note: Both Firefox and Chrome will default most plugins to click-to-play soon , with Chrome planning to phase out NPAPI