npapi

PrintWindow works in standalone application and does partially work in NPAPI plugin

放肆的年华 提交于 2019-12-24 10:15:33
问题 I have a code, which captures a given window by PrintWindow function. Specifically I do capture web-pages in a browser. This code is tested in a standalone Windows application, and it works ok. The same code is incorporated into NPAPI plugin and loaded into Google Chrome. There problems happen. If Chrome has only one tab, the code works OK. If Chrome has 2 tabs, the code returns black box of expected size. I tested the standalone application and the plugin at the same moment, on the same

Querying browser-plugin existence/version/etc

强颜欢笑 提交于 2019-12-24 09:29:05
问题 As far as IE, my understanding is you have to try and instantiate an ActiveXObject and then check this succeeds, and you can then query the version through the instanced plugin... nothing particularly exciting. But on Firefox (and I think other NPAPI browsers) you can check for installed plugins and get the DLL name, etc (on Windows at least). What exactly can I find out about installed plugins other than if it exists? Plugin file name, anything else? edit: And, does IE support any way of

Ready-to-use NPAPI-Plugin to launch external application?

↘锁芯ラ 提交于 2019-12-24 09:28:24
问题 I need to launch an external application from a Google Chrome extension. I need to pass a few parameters from javascript, wait until the external application is done and then use its output in javascript. I did some reading and this should be possible using an NPAPI plugin (I only care about Windows so far). Since my C/C++ got very rusty over the years and my requirements are quite simple I was wondering if somebody knows about a ready-to-use NPAPI DLL that does just the one thing I need:

Why are the exported functions not named properly in the DLL?

佐手、 提交于 2019-12-24 07:31:04
问题 I'm trying to do a little test-plugin using NPAPI for firefox. This is my code so far: /* File: npp_test.cpp Copyright (c) 2012 by Niklas Rosenstein Testing the NPAPI interface. */ // - Includes & Preprocessors -------------------------------------------------- // - -------- - ------------- -------------------------------------------------- #define DEBUG #ifdef DEBUG # include <iostream> using namespace std; # include <windows.h> #endif // DEBUG #include <stdint.h> #include <npapi.h> #include

Alternative Java applet network drive access

不羁的心 提交于 2019-12-21 22:30:56
问题 Chrome is on the verge of definitly break compatability with NPAPI, and IE breaking with ActiveX the future of Java Applets is dark. Currenty we actively use a secure applet for out client organizations that enables their users to upload a bunch of files from their file system to our servers with the click of a button. The applet has full access to any configured drive, including network drives. With the imminent death of the applet this functionality is going to be lost if we don't find an

How to stream RTSP live video in Firefox and Chrome now that the VLC plugin is not supported anymore?

荒凉一梦 提交于 2019-12-20 19:37:39
问题 Now that the NPAPI that the VLC plugin uses is being discontinued in Firefox and that Google Chrome has discontinued the NPAPI for long is there any solution to stream RTSP live video inside these browsers? Thanks a lot for your help on this. Regards, Tiago Dias 回答1: After a long time digging and following this topic I have came to interesting results. At this point the best option seems to be an RTSP proxy that changes RTSP in a way that makes it compatible with something supported by web

How to open a file which includes in Chrome extension by C/C++?

只谈情不闲聊 提交于 2019-12-19 12:55:22
问题 I'm trying to open a file to parse, say "config.txt", in my Chrome extension. By Javascript it will be fairly easy. For example: chrome.extension.getURL('config.txt') will get something like chrome-extension://kfcphocilcidmjolfgicbchdfjjlfkmh/config.txt . However, in the C++(or C) code of the extension, open a file by this kind of URL is not available. Is there any way to open a file in extension in this case? 回答1: There are two ways you could address this; the first is to simply use

How to open a file which includes in Chrome extension by C/C++?

有些话、适合烂在心里 提交于 2019-12-19 12:55:21
问题 I'm trying to open a file to parse, say "config.txt", in my Chrome extension. By Javascript it will be fairly easy. For example: chrome.extension.getURL('config.txt') will get something like chrome-extension://kfcphocilcidmjolfgicbchdfjjlfkmh/config.txt . However, in the C++(or C) code of the extension, open a file by this kind of URL is not available. Is there any way to open a file in extension in this case? 回答1: There are two ways you could address this; the first is to simply use

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

六眼飞鱼酱① 提交于 2019-12-18 14:56:22
问题 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 ? 回答1: Well it seems there is a solution ! I have tried IETab with Chrome Canary (v45) and the dev channel (v46) and

NPAPI support in Firefox and Chrome actually dropped?

﹥>﹥吖頭↗ 提交于 2019-12-17 21:59:53
问题 Recently I've found out that Chrome and Firefox are dropping NPAPI plugins support by January 2013. Anyway, reading the blog messages with more attention, it seems that NPAPI plugins will be just disabled by default and not actually impossible to use. What will happen? Will I be able to use my NPAPI plugin in Chrome/Firefox after January 2013? It's pretty complex enterprise plugin, so we would like to avoid reimplementing it. chrome dev's blog post Starting in January 2014, Chrome will block