npapi

Firefox NPAPI Xcode link errors

与世无争的帅哥 提交于 2020-01-26 03:35:27
问题 I'm trying to build a Firefox plugin for Mac OSX, it build well but I don't understand why the linker failed. Here is the log of the linker: Undefined symbols: "_NPN_ReleaseVariantValue", referenced from: _NPP_New in npp_gate.o _NPP_New in npp_gate.o "_NPN_MemAlloc", referenced from: String2Variant(_NPVariant*, char const*)in plugin.o "_NPN_GetValue", referenced from: _NPP_New in npp_gate.o "_NPN_ReleaseObject", referenced from: CPlugin::~CPlugin()in plugin.o CPlugin::~CPlugin()in plugin.o "

Cannot access NPAPI functions in Firefox Extension

可紊 提交于 2020-01-17 04:05:29
问题 I'm having trouble getting an NPAPI plugin to load in a Firefox Extension. The way I'm doing it now is the plugin is already registered in Windows, so I load an embed element via an overlay which is injected into the chrome & accessed via window.onload. Apparently the NPAPI element is loaded but I cannot access any native functions. Here is my main.xul: <overlay ...> <window id="main-window"> <embed type="application/x-myplugin" id="myplugin" width="300" height="300"></embed> </window> <

Writing a plugin using NPAPI + D3D. It works on Firefox, but the browser blacks out. Why?

你说的曾经没有我的故事 提交于 2020-01-16 00:53:35
问题 I'm writing a plugin, using NPAPI and D3D. I just simply put a D3D sample from DXSDK and NPAPI together. I receive a HWND when the plugin starts up, and I passed it to D3D to draw. It works though. the control(a 400 * 300 rectangle) on the test page DOES show what I expected. But all other area in FireFox window is black, including the menu bar. All other contents on the test page cannot be seen. I tried just InitDevice(D3D) with the HWND and do NO rendering at all. But still got the same

What cross-browser technology do you use in your web applications to manipulate on client machines?

元气小坏坏 提交于 2020-01-15 06:10:08
问题 (I have a problem with Google Chrome improvements that will drop support for my current solutions.) I work on project where I move desktop system to an Intranet web application. The crucial requirements are: to move desktop system to a web application to reproduce every single functionality from the desktop system in the webapp While 95% of work requires creating casual web application, there is one thing which is non-standard to handle: my application must perform some actions on the client

Accessing scanner at client side from a web page without applet

回眸只為那壹抹淺笑 提交于 2020-01-10 19:29:11
问题 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 回答1: 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

Simple example for NPAPI plugin

可紊 提交于 2020-01-03 05:15:13
问题 I'm trying to find a simple example on how to write an NPAPI plugin that will be bundled with my Chrome extension. The thing I need to do with the NPAPI is simply to run an already existing local program that I have the local path for. Could not find any simple examples that will allow me to do this. 回答1: The firebreath NPAPI framework seems to have decent documentation: http://www.firebreath.org/display/documentation/FireBreath+Home 回答2: I start from OSX https://github.com/niw/open_with

NPVariant to string array

孤人 提交于 2020-01-03 02:46:05
问题 I would like to pass an array of strings to a NPAPI plugin. How do I convert NPVariant to an array of strings? 回答1: Looks like you're going the other diretction from what jldupont suggested. When you pass an array in as a parameters to either a property or a method: var arrayData = [1,2,3,4,5]; plugin.someProperty = arrayData; // -or- plugin.callSomeMethod(arrayData); That parameter will get to your NPObject as a NPVariant of type NPVariantType_Object. You then query the length property:

Is it possible to catch media stream URL of flash player using NPAPI functions?

对着背影说爱祢 提交于 2020-01-01 19:43:10
问题 I'm trying to make a video download panel for Chrome likes Real Player's one ( a DLL plugin ).. My question is : "Is it possible to use NPAPI functions such as NPP_NewStream, NPP_StreamAsFile, NPP_DestroyStream... to catch the media stream URL of flash-player ? " If not, then what part of NPAPI do I have to use ? 回答1: Using the NPAPI you can't magically spy on other components in the browser, the stream functions are for dealing with streams for your own plugin instance. If the Flash player

Is it possible to catch media stream URL of flash player using NPAPI functions?

泪湿孤枕 提交于 2020-01-01 19:42:30
问题 I'm trying to make a video download panel for Chrome likes Real Player's one ( a DLL plugin ).. My question is : "Is it possible to use NPAPI functions such as NPP_NewStream, NPP_StreamAsFile, NPP_DestroyStream... to catch the media stream URL of flash-player ? " If not, then what part of NPAPI do I have to use ? 回答1: Using the NPAPI you can't magically spy on other components in the browser, the stream functions are for dealing with streams for your own plugin instance. If the Flash player

Alternative of NPAPI plugins for Flash / Java Applet

☆樱花仙子☆ 提交于 2020-01-01 09:19:32
问题 My question is regarding chrome announcement of Not supporting the NPAPI plugins post December, 2014. Firefox is also following the same. I have a NPAPI based plugin in one of my legacy application and that was doing well till now but after announcements from chrome and Firefox I am looking for alternative. I want to ask from experts that : What could be alternative options for NPAPI ? For new Option, do I need to write some fresh component or Can I make some wrapper around My plugin and use