Questions tagged [fennec]

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

MozillaWiki - Mobile/Fennec

72 questions
0
votes
1 answer

Building Firefox/Fennec on Windows

I am trying to follow this tutorial in order to build Fennec (Firefox for Mobile) on Windows (specifically Windows Server 2008 R2 SP1, which is 64-bit): https://wiki.mozilla.org/Mobile/Fennec/Android I have installed (either because I read are…
Ramon Snir
  • 7,520
  • 3
  • 43
  • 61
0
votes
1 answer

Mobile firefox click interception

I'm trying to intercept a click on a link (e.g. LINK) in the mobile version of Firefox aka Fennec. My current looks something like this: var appcontent = document.getElementById("appcontent"); // Firefox if (!appcontent) { appcontent =…
lamberreke
  • 55
  • 4
0
votes
1 answer

Fennec tab open event

How do I listen for a tab open event in fennec? The gBrowser object doesn't exist and the closest thing to it I could find was the Browser object, but it doesn't let me attach listeners to it.
tmim
  • 12,091
  • 4
  • 18
  • 12
0
votes
1 answer

Mobile Firefox development directly on my (rooted) Android instead of having to repack and reinstall the fennec APK for every little edit?

For mobile Firefox development, how can I hack the core javascript directly on my (rooted) Android so I can get instant results instead of having to repack and reinstall the fennec APK for every little edit ? The problem is that all the files are…
Dudas
  • 1
  • 2
0
votes
2 answers

setInterval runs continuously in Firefox on Android

I have a short snippet of Javascript which I want to poll a server every couple of seconds and update the DOM. function updateCard() { var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState…
Samizdis
  • 1,591
  • 1
  • 17
  • 33
0
votes
1 answer

Build Firefox on Android

Trying to build Firefox on Android by referring to this page. Simple Firefox for Android build However, the build command ./mach build fails with the error ERROR: Could not find autoconf 2.13 However autoconf is already installed on the system. $…
RazrBoy
  • 353
  • 1
  • 5
  • 10
0
votes
1 answer

downgrade android support library , Building mozilla fennec

I am trying to Build Firefox for Android. I followed all the instructions here: https://wiki.mozilla.org/Mobile/Fennec/Android#Android_NDK_and_SDK_version_notes I ran ./mach Build, the terminal shows the following error: 193:09.18 Found 1…
0
votes
1 answer

How to import external jar file into Firefox fennec moz.build file?

I'm building a customized version of Firefox Fennec, and recently added an UI that uses android's RecyclerView. So I want to import android-support-v7-recyclerview.jar to my moz.build file but don't know how. I have tried to add…
Kaya
  • 1
  • 1
0
votes
1 answer

Can't mach build Fennec for Android

i'm following this tutorial from firefox android source code https://wiki.mozilla.org/Mobile/Fennec/Android but, the problem i can't ./mach build, ./mach package, ./mach install and i already create .mozconfig file in mozilla-central but it's can't…
0
votes
1 answer

How to get jscontext of current tab in fennec?

I'm building a customized version of Firefox Fennec, and I want to inject some javascript to current tab when user has selected some menus. I think JS::Evaluate(jsContext, jsOptions, scriptSrc, scriptlength, &retValue) can do that, but I can't…
Kaya
  • 1
  • 1
0
votes
1 answer

New Broadcast receiver not being registered in Fennec

I am trying to understand how the build system for Fennec project in Android works. As part of that, I am trying to add a new Broadcast Receiver to the AndroidManifest file. So far I could figure out that in order to add any new Java Files to the…
prakash
  • 560
  • 4
  • 14
0
votes
1 answer

"JavaScript application" Alert message

I'm creating an extension for Firefox for Android which adds dinamically some elements to DOM, and some of them needs to display an alert message. var li=window.content.document.createElement('li'); li.onclick = function(){ …
gal007
  • 6,911
  • 8
  • 47
  • 70
0
votes
1 answer

Detect zoom level in Firefox Mobile

I do "pinch" zooming on mobile Firefox 30.0 and want to know actual zoom level. What I try: Lib for detection https://github.com/tombigel/detect-zoom (it uses binary search to detect zoom level on Firefox) but it returns same value for different…
calibr
  • 59
  • 1
  • 2
  • 10
0
votes
1 answer

hiddenDOMWindow failed after browser restart

This code works correct after installation extention, but when I restart browser it fails. What is the difference of calling startup function : on install on start code: function startup(aData, aReason) { _webSocket = new…
Misha
  • 433
  • 4
  • 10
0
votes
1 answer

How to install packaged app on Firefox for mobile?

How do I test-install a packaged (zip) app on Fennec? Device: Physical Android phone or Android emulator, I don't care.
feklee
  • 7,555
  • 9
  • 54
  • 72