I have a npapi plugin that run an exe on the client machine, now npapi is deprecated on chrome, so I'm trying to port my plugin to PPAPI.
Can I run an EXE from the PPAPI plugin?
Note: I only need this to run in windows.
No. See this post here: https://groups.google.com/forum/#!topic/native-client-discuss/1quAy0Y_xa4
This type of behavior is one of the major reasons npapi was deprecated, this capability is a huge security issue. If you don't need the exe to run silently, there are some methods there, however.
Related
Is it possible to install and run chrome headless on a headless Linux box without installing the audio and xorg dependencies?
If not, then is there a special headless build of chrome/chromium which doesn't pull xorg and audio libs?
This troubleshooting doc on puppeteer should be of some help (https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md), it oultlines all the package necessary for running Chrome on a linux machine (more specifically for web servers).
Depending on your end-goal, I wrote a service that provides access to headless Chrome at https://browserless.io. More or less treats Chrome in hosted fashion, so you don't have to try and get it running yourself, which is a time consuming process.
In any case, hope one of those helps!
I'm working on a Quick Meeting type app. Where I want to check whether my app is installed on the system or not.
My Application installer copies the plugin to "Internet Plugins" folder on Mac OSX and ".mozila/plugins" on Linux.
I'm using this web plugin(NPAPI) to detect whether a application is installed on the system or not.
As we know, web plugins can access using navigator.plugins.
If plugin is found in plugins array then we were deciding to launch the application using custom url handler implemented by installed app, otherwise download the installer and ask user to install the app first.
This works fine with Firefox and Safari but not with Google Chrome. Also Chromium doesn't support NPAPI plugins and Google Chrome is dropping support for it.
I thought of using Pepper Plugin, but it doesn't have any api to check installed apps nor to access local files say in users home dir.
Any idea how to do it. Any pointer on this would be helpful.
Since you are registering a custom protocol already, this boils down to detecting the presence of a protocol handler.
I am developing a Chrome Extension that interacts with a Native Messaging Application for Windows. The current documentation states the the Native Messaging Host can be registered in both HKLM and HKCU. The question is what versions of the Chrome Browser support registration of the Native Messaging Host in HKCU?
Of note: I saw that support for HKCU was addressed in issue #321480 (https://code.google.com/p/chromium/issues/detail?id=321480), and I also saw the code in trunk. What I can't figure out is which versions of Chrome include this new code.
First you should update your chrome to the newest version(above 34+)
You can register to HKCU and It will work
My application requires Chrome users to have a specific extension installed
https://chrome.google.com/webstore/detail/clickonce-for-google-chro/eeifaoomkminpbeebjdmdojbhmagnncl
Using JQuery/JavaScript, how can I determine if this extension is installed? I've seen some mentions of using chrome.management.get but I haven't found any working examples.
The reason I need the extension is ClickOnce applications won't launch in chrome unless this is installed.
i'm finding some solution to develop the Packaged App (or extension) for Chrome OS(chromium os).the extension will be access serial port to send AT command for SMS or Call function.
first, i find the NPAPI,But it not support in Chrome OS (right?) . So, maybe the PPAPI and Native Client ? if it's the key, i will look deep in them.
please give me some advice . thanks ~
NPAPI is supported by Chrome OS, but there is no way to install it, you can create Chrome extensions that uses NPAPI plugin for windows, linux, mac, but not for Chrome Os. NPAPI plugins must be preinstalled by vendor as I know, so you can't use it. If you want to use native code you need to look to Native client, but as NaCl is sandbox for native code I am not sure you will be able to access low-level hardware within it.
PPAPI only, NPAPI us NOT supported: https://sites.google.com/a/chromium.org/dev/developers/design-documents/aura-desktop-window-manager