All Questions
Tagged with firefox-addon-webextensions android
22 questions
1
vote
1
answer
171
views
Why can I not load a simple custom firefox extension/addon xpi file? Tried everything
I'm trying to load a simple xpi file I created from this walkthrough below using Android Firefox Nightly.
Things I've done so far
Tried different compression methods to make the zip/xpi
Set xpinstall....
1
vote
0
answers
139
views
WebExtension does not start content script on Android (geckoview)
In a geckoview based app I need to display various errors in the browser window. Some of the buttons offered there have to be evaluated and processed further in the app.
I have tried various scenarios ...
2
votes
0
answers
709
views
Can I add browser add-ons like uBlock Origin to Android WebView or GeckoView in Android Studio?
Is it doable to include browser extensions like uBlock Origin into Android WebView or GeckoView when developing with Android Studio? I'd like to understand the compatibility and feasibility of such ...
1
vote
1
answer
258
views
how to view background logs of a firefox extension on Android?
I am debugging a firefox extension for android. I have latest firefox nightly build installed in both Windows PC and phone. I connect my phone to Windows, and go to about:debugging on Windows. I can ...
2
votes
1
answer
1k
views
Load web appliction in GeckoView
I investigating possibilities of GeckoView for android to load local web page with some logic. My requirements:
page should be loaded from android app assets with some other resources like css, js, ...
0
votes
1
answer
229
views
Is it possible to get/store firefox history via an extension on Android?
There's History API that can get the user's history, but that API has no support on mobile. Looking at the WebExtension APIs, beyond history API, there's nothing that can get the user's previous ...
4
votes
0
answers
2k
views
How to install my .xpi on firefox-beta android
I have a private xpi file signed by the Add-on Development Center. I would like to install this on android's firefox-beta (firefox-beta 79.1.0-beta-1). However, when you install it, the download is ...
0
votes
0
answers
33
views
How to count HTTP responses per web page using WebExtension
Using WebExtensions, I am trying to write a content script which would count the number of HTTP responses per web page.
I just started looking into WebExtensions, so I may be completely off the track,...
1
vote
1
answer
324
views
Getting a GeckoSession's tab id?
I am trying to create 2 GeckoSessions to represent two tabs.
I have a web extension with a background script. I want to send a separate message to each tab's content script, but for that I need to ...
3
votes
1
answer
3k
views
Implement GeckoView Web Extension
I'm trying to implement a noddy web extension for GeckoView in Android to simply execute some javascript on a web page, the equivalent of webView.evaluateJavascript() on a normal Android WebView, ...
-2
votes
1
answer
386
views
How to get the list of files stored locally in Android from a browser?
I need to get the list/names of all the files (and possibly sub-directories they're located in) stored locally on an Android device from a web browser. Please note that this needs to be directly from ...
0
votes
0
answers
222
views
browser.runtime.setUninstallURL works on Firefox Windows but not on Android
I am using browser.runtime.setUninstallURL within my Firefox extension. However, I found the problem when this extension runs on Android. On Windows, Firefox opens a new tab with specified URL loaded ...
0
votes
1
answer
119
views
Android Firefox webextension copy to Clipboard
I am trying to copy a text from firefox android browser, fire an intent and read the system clipboard but in vain.
Does the Clipboard wherein firefox webextension copy differ from the Android system ...
0
votes
1
answer
87
views
FireFox Android: how long does a webextensions background script last?
Specifically, if I crate a variable in my background.js, and I close firefox (to the point that all tabs must be re-loaded, but are still saved), will the variable still exist in the state I left it?
...
0
votes
2
answers
181
views
Firefox android extension for Injecting javascript
I am attempting to develop a mobile Firefox extension that injects any javascript code to any pages.
On desktop, you can use:
browser.tabs.executeScript()
to injects javascript to a page, ...
0
votes
1
answer
107
views
WebExtensions and Firefox Android: How to get a BrowserApp object
The MDN page for the BrowserApp object says that it is an alternative way to access some properties that you otherwise could not get to on Android. But the way they show how to actually get one of ...
1
vote
0
answers
83
views
Easy way to debug Firefox for Android add-on JavaScript
Is there an efficient way to debug my extension's JavaScript (add-on) for Firefox for Android? I developed an Android Firefox add-on. However, I have a hard time debugging the code. Every time I ...
2
votes
1
answer
216
views
Testing Firefox WebExtensions on Android
i'm trying to test a web extension for firefox android but i don't know how to install it. I tried making the package using web-ext build.
11
votes
2
answers
3k
views
Get tab URL from page action (WebExtensions, Android)
I would like to get the URL of the current tab within a page action popup.
At first it seems obvious: Just use the tabs API. But that doesn't seem to be available on Android if I deciphering the docs ...
0
votes
1
answer
972
views
WebExtensions: How to send a message to content script? (Android)
I just noticed that the tabs API is only available for the desktop not for Android. In the past I have used this code to send messages to my content scripts:
sendMsgToTabs(msg) {
return browser....
1
vote
1
answer
276
views
How to trigger web extension in Firefox for Android
I have a Firefox add on implemented as a web extension.
When I install the app on firefox for android, there is no button to trigger the action for the app - this is because browser actions are not ...
2
votes
1
answer
305
views
Can WebExtensions be used on Firefox for Android
WebExtensions are for desktop Firefox, but now I have a doubt: Are WebExtensions also for the Firefox for Android browser?