Questions tagged [fennec]

"Fennec" is the code name for the mobile version of Firefox.

MozillaWiki - Mobile/Fennec

72 questions
2
votes
0 answers

Downloads.jsm: How to use DownloadList.addView(aView)

Can somebody tell me how to register a Mozilla/Firefox DownloadList view? This is what I am using:, but it completely breaks the download manager: const {Cc,Ci,Cu} = require("chrome"); Cu.import("resource://gre/modules/XPCOMUtils.jsm",…
ARF
  • 7,420
  • 8
  • 45
  • 72
2
votes
1 answer

Disable filesystem browsing in Fennec

I'm developing custom AOSP 4.4 firmware for custom Android device. I'm using Fennec (Firefox for Android) as default browser. My custom AOSP does not pass Android Compatibility Testsuit. Link to test:…
user2729200
  • 171
  • 5
2
votes
0 answers

Is it possible hide or to disable "Uninstall" option for extension on Fennec addons list?

I have Fennec bootstrap extension. I integrate it into fennec.apk by puting the extension into the distribution folder at objdir/dist/bin/distribution/extentions Everything works perfect. The extension can be found in the add-ons…
Misha
  • 433
  • 4
  • 10
2
votes
1 answer

Is WebSocket supported in Firefox for Android addons?

I need to find a way to communicate between Firefox for Android (fennec) and my Android service. One of the solution was to communicate using WebSockets Code: var ws = new WebSocket("ws://localhost:8887/"); ws.onopen = function() { …
Misha
  • 433
  • 4
  • 10
2
votes
4 answers

How do I determine if my addon is running in firefox or in fennec?

I am making an addon for both firefox and fennec and I want to know if it is running on fennec or not.
tmim
  • 12,091
  • 4
  • 18
  • 12
2
votes
1 answer

Moving event handlers into a javascript function

What I basically need to do is attach this code lines to this file. http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/aboutDownloads.js window.addEventListener("DOMContentLoaded", function() {handle_events();},…
Madushan
  • 894
  • 1
  • 10
  • 22
2
votes
2 answers

How can I enable Firefox for Android reader mode for my site?

I'm creating a site which will be responsive, and suitable for mobile devices. Earlier I discovered Firefox's reader mode, which was available for certain sites, and provided a clean view for reading. However, when I visit my site, I don't get the…
Tamás Barta
  • 1,617
  • 1
  • 19
  • 23
2
votes
1 answer

How to run javascript in Firefox mobile on a specific page, on pageload (similar to greasemonkey)

I'd like to run a Javascript snippet at the point where a specific page (e.g. facebook.com) has finished loading to click buttons automatically (e.g. submit form automatically). So I'm looking for a 'Hello World' Addon for Firefox mobile, that will…
user2305193
  • 2,079
  • 18
  • 39
2
votes
2 answers

How to use Websocket for Firefox Android Addon

I am trying to write a simple firefox mobile addon that talks with my server side code using Websocket. I have my code working for Desktop Firefox Addon but I am having difficulty with one for Firefox mobile. function connectToServer(aWindow)…
Young
  • 21
  • 4
2
votes
2 answers

which version of mobile firefox in android, fully supports extension?

I made an addon to Dektop Firefox using addon-sdk. now i want to launch it into firefox mobile(fennec) in android. I am using android 4.0.3 emulator. I have installed mobile firefox browsers(almost all versions) in it. im trying to install my addon…
Mmh
  • 399
  • 1
  • 5
  • 16
2
votes
3 answers

Is this a bug? Tapping an element can result in a different element receiving keyboard focus

I am trying to figure out whether an effect seen in Mobile Safari, Android Browser, and Firefox for Android ("Fennec") is a bug or expected behavior. Basically, the issue is that an element can receive the keyboard focus in certain scenarios…
Daniel Trebbien
  • 38,421
  • 18
  • 121
  • 193
2
votes
1 answer

create an extension (android application) for mobile firefox (fennec)

I want create an extension for fennec (mobile firefox) in android, i have already an android application and i want lunch it from mobile firefox, by tapping a button that i will add to the user interface of this web browser, I did a lot of research…
Alaoui Ghita
  • 1,859
  • 4
  • 22
  • 26
2
votes
1 answer

How to mark Firefox OpenSearch search engine addon as mobile compatible?

I have developed several search providers (not XPI add-on but just an XML file) for Firefox, but can't install any in Firefox Mobile, getting incompatibility error: This search engine isn't supported by Firefox and can't be installed. How to make…
abatishchev
  • 98,240
  • 88
  • 296
  • 433
1
vote
0 answers

How to capture pinch event in a Fennec (Firefox Mobile) add-on?

I am developing an add-on for the Fennec (Firefox Mobile). I want to fire a trigger after the user is doing 2 finger pinch to zoom out and keeps zooming out after the max zoom-out for more than 1 second. How can I catch that event?
benkol
  • 351
  • 1
  • 13
1
vote
1 answer

Starting off with Mozilla development/contribution to Fennec

This is the first time I am trying to contribute to Mozilla. I went through several articles and documentation/resources to get a hang of what could be the best first steps to get started. I started off from this page…
qre0ct
  • 5,680
  • 10
  • 50
  • 86