Questions tagged [fennec]

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

MozillaWiki - Mobile/Fennec

72 questions
11
votes
1 answer

Cross-browser get keyCode

I'm trying to get a cross-browser way to listen to keyCode of user's keyDown. For mobile browsers, I have to trigger the virtual keyboard, so I use an input hidden by css, triggered with a click event. This works well except that when I try to…
Kaiido
  • 123,334
  • 13
  • 219
  • 285
8
votes
2 answers

browser add-on to test mobile design

Are there any add-ons to test an HTML page to see what it will look like on a mobile device? I'm developing with PhoneGap but Eclipse emulator is too slow to refresh it all the time so I want to have a browser extension that make screen resolution…
gorgi93
  • 2,457
  • 8
  • 30
  • 53
6
votes
3 answers

Hiding the address bar in mobile Firefox

I have tried the various scrollTo() solutions which hide the address bar in a mobile browser, but none of them seem to work at all in mobile Firefox. Is there a different trick which needs to be used in that situation?
Michael
  • 9,060
  • 14
  • 61
  • 123
4
votes
0 answers

How can I tame multiple event listeners in a Fennec extension?

I'm trying to write a restartless add-on for Firefox Mobile that will insert content onto specific web pages. It all seems to work OK until I try disabling then re-enabling the add-on, at which point I get multiple responses to the page load event,…
JRI
  • 1,766
  • 13
  • 25
4
votes
0 answers

Read selected text in Firefox Fennec?

How to read selected text in Firefox Fennec Mobile?
Priyank Bolia
  • 14,077
  • 14
  • 61
  • 82
4
votes
1 answer

How to listen to page loads from Fennec extension?

I'm working on a simple extension for Fennec, which must add special HTML element to every loaded page. I've created this simple overlay.js: var MyAddon = { onLoad: function(aEvent){ var appcontent =…
Michael Spector
  • 36,723
  • 6
  • 60
  • 88
4
votes
1 answer

Enable flash in GeckoView(Firefox) on Android 4.4

Recently I found an interesting thing is that Flash still works on firefox android 4.4 and there actually an firefox view(geckoView) that we can replace the webview. I followed the demo here and Orfox here Basically, I can build the app which uses…
Cuong Thai
  • 1,165
  • 1
  • 11
  • 24
3
votes
0 answers

How to log to a file from contenct script (Fennec extension)

I am able to log to a file from the overlay: I have a console listener that write all logStringMessage to a file. But I cannot get this to work for content scripts injected in pages. I have verified that all debug messages are logged to the…
Julien
  • 5,729
  • 4
  • 37
  • 60
3
votes
1 answer

How to use jQuery in content script in a Firefox Mobile (Fennec) extension?

I am developing a Firefox Mobile (Fennec) extension and I want to use jQuery in the content script. What is the best way to do it? I am doing the testing on the desktop version of Firefox Mobile 4
benkol
  • 351
  • 1
  • 13
3
votes
2 answers

Mobile Firefox (Fennec) add-on: executing code on page loads

I am trying to write a mobile firefox plugin that executes a piece of javascript code automatically every time a page loads. I had written some code for an earlier version of Fennec, but with the multi-processing system in the newer Fennec version…
3
votes
2 answers

Why would there be no debug output when testing my Firefox Addon on mobile using cfx?

I am developing a Firefox addon and would like to test it on Android. I have downloaded Nightly on the phone and have root access. Inside of the addon's directory, I run the following command: cfx run -a fennec-on-device -b /bin/adb --mobile-app…
DJG
  • 6,413
  • 4
  • 30
  • 51
3
votes
1 answer

What is the equivalent of "webkit-tap-highlight-color" in Fennec?

I want to disable the orange highlighting displayed when the user taps a link. I think iOS and Android Browsers support this by using "webkit-tap-highlight-color". Is there a way to do this?
3
votes
2 answers

Launch firefox mobile from another app

I need to launch firefox mobile within my application. I'm currently doing this: String url = "http://www.google.it"; Intent intent = new Intent(Intent.ACTION_MAIN, null); intent.addCategory(Intent.CATEGORY_LAUNCHER); intent.setComponent(new…
rops
  • 217
  • 3
  • 10
2
votes
1 answer

Can't figure out how to build Firefox for Android

I'm trying to build Firefox for Android (Fennec) as close as possible to the release one would download from the Google Play Store. I've searched for a guide and found that most resources link to…
DetaNexus
  • 21
  • 2
2
votes
4 answers

Firefox Mobile-specific CSS

I've been testing a mobile version of my website on the Android browser. The way I do it is with: @media only screen and (max-device-width: 480px) { [my mobile CSS] } Now, I've started to test it out in the Firefox Mobile beta, and there's one…
1
2 3 4 5