This is my first time on this site. I have a HTML/CSS/JS application. For that application to work, we also have a browser npapi plugin ".so" file that is installed in plugins dir of firefox. This works on firefox browser on Linux. Now I want my application to run on Firefox OS (B2G). How do I port that ".so" plugin to firefox OS?.
What I have done is, I have built B2G and flashed it on my test device. I have built that plugin for android platform by using gecko sdk and firefox OS source. I have pushed my .so file in FFOS phone in /system/lib as well as /system/b2g (the folders where I can see other .so files.). Is that the correct approach? What else do I need to do to make it work. Currently my application is unable to load that plugin ( I checked using ./run-gdb ).
Any pointers would be helpful. I have gone through the documentation on mozilla website and also googled it alot but couldn't find the solution.
Thanks.
You are right, NPAPI is not supported on Firefox OS / B2G.
You do see code for it in the tree (and maybe even in the object directories) because much of the code is actually being used over different products (desktop Firefox, mobile Firefox, Firefox OS, ...).
Mozilla use single gecko engine to support all platform browsers. Those plugins are only used by desktop browsers.
Related
I have built some extensions of Google Chrome. I have the CRX files and I kept them my local system which is MAC 10.13. I wish to install my custom build extensions through bash script, purpose is academic only. I have followed the instruction at https://developer.chrome.com/apps/external_extensions. But the extensions are not showing in chrome. Can anybody help?
UPDATE 1
I dont want to host my extensions to chrome web store. If required I can use my web-hosting to store the crx files.
Make sure Chrome is in Developer Mode if you are unable to host your CRX in the Chrome Web Store. Assuming your CRX follow's Google's policies, you might also consider hosting it in the Web Store, and making it private. The latter approach could make it easier to privately share the CRX with your academic peers.
I am learning to build a web application for Hbbtv using the Hbbtv SDK.
So for testing a sample app, I was looking for an emulator and came across FireHbbtv Extension by firefox.
However, whatever I do, it says the extension is not compatible with the version of Firefox. can any of you help with what is happening
Firehbbtv extension is abandoned, but you can install it using an old Firefox version (<52 as far I remember). Make sure the automatic updates are disabled if you want to keep the extension available.
There is another HbbTV plugin named hybridTV (https://github.com/karl-rousseau/HybridTvViewer) It works fine, but it is in development.
There is also a third option, using the opera (now called vewd) SDK. You can find the info and the virtual machine downloads visiting
https://www.vewd.com/products-services/vewd-tv-emulator/
I'm Looking for a method to launch chrome app from Microsoft Win PE.
Is it chrome supported that feature.
There is no installer for WinPE you need a portable version of a browser. I've tried the portable version of Chrome but couldn't get it to run in WinPE. The only browser I've ever seen work in WinPE is an old portable version of FireFox.
If you want to try to get it to work here's the link
https://portableapps.com
In theory it should work but I can't tell what dependencies it needs as there's no error message. The portable apps are x86 so you have use WinPE_x86.
Using other helpful answers on the StackExchange community I have a custom URI protocol registered on a client's machine. It points to a simple AppleScript that we can then change as needed. In testing on our Mac here, it works without issue with a link formatted like:
oururl://path/here
However, when trying to click that url on their machines, in Safari, Firefox, and Chrome, the URL is automatically changed to:
unsafe:oururl://path/here
So far I've been unable to find any additional information on why the "unsafe:" prefix is being added or how to address it. Any insight or workarounds?
Version info:
OSX 10.6.8
Safari 5.1.10 (6534.59.10)
Firefox 26.0
Chrome Version 30.0.1599.101
Thanks.
It turns out this was much simpler than I thought (as usually happens in software development). Somehow I didn't catch this until user testing, which is what threw me in the direction of thinking it was a Mac issue. This is not a Mac issue.
I'm using the AngularJS framework and one of its "features" is to mark unknown protocols with an unsafe prefix. I used this answer to configure it to recognize mine and now all is well.
A Java applet has the following in its start() method :
this.setFocusable(true);
this.requestFocus();
When launched, the applet grabs the focus only in certain OS/JRE/browser configurations. It's compiled using JDK 1.6.0_18, and on my PC running Java 1.7 it grabs focus in all browsers (Ie, chrome, Firefox) without problems; even if the applet is compiled using JDK 1.7.
On Mac OS X 10.6.8 which comes with Java 1.6.0_29 it doesn't grab focus in Safari, Chrome or Firefox, but the applet loads fine. When I upgrade the the Mac OSX JDK to the preview 1.7 - it doesnt' load the applet at all. If I compile the applet using JDK 1.7 and run using JRE 1.7 - it just crashes the browsers on the Mac.
Has anyone come across similar problems? thanks.
The docs. for Component.requestFocus() state:
Because the focus behavior of this method is platform-dependent, developers are strongly encouraged to use requestFocusInWindow when possible.
Is it possible to use the latter in this case?
Has anyone come across similar problems?
Focus problems go hand-in-hand with embedded applets. If you want more reliable focus behavior, launch the applet free-floating using Java Web Start.