Please support Firefox for Android
Hi, please support Firefox for Android (adblock plus works on firefox for android) thanks. PS I can help with testing if needed.
This would be great, I'd much rather use a more efficient blocker to block ads on a mobile device.
Hi, I've tried installing uBlock on Firefox for Android, but it says that version 35.0 is not supported.
I would also like uBlock for Firefox for Android. The biggest reason I'm using Firefox on my Android is because of the availability of AdBlock Plus for it. And I've been hoping to replace it with uBlock, because performance issues on Android are far more visible than on the desktop.
Anyway, I want to thank the developers for porting uBlock to Firefox.
It looks to me it should just be a matter of adding the proper targetApplication entry in install.rdf. However I do not have a mobile device, so I can't check whether uBlock will work just fine once made installable on mobile Firefox.
I know that the mobile version has more differences from the desktop forks, but the problem is that I don't have a device either where I could test.
I can confirm it doesn't work out of the box on Android with Firefox 35. It installs, but no blocking is done, and settings are inaccessible.
Related, genymotion is able to emulate android devices in virtualbox.
Hello, I can help testing. I'll try to modifiy the package and report back my experiences.
2015-01-20 16:51 GMT+01:00 Deathamns [email protected]:
I know that the mobile versions has more differences from the desktop forks, but the problem is that I don't have a device either where I could test.
— Reply to this email directly or view it on GitHub https://github.com/gorhill/uBlock/issues/524#issuecomment-70675788.
When I tried on my phone it didn't install ! Did you modified the package?
2015-01-20 17:19 GMT+01:00 Lee Watson [email protected]:
I can confirm it doesn't work out of the box on Android with Firefox 35. It installs, but no blocking is done, and settings are inaccessible.
Related, genymotion https://www.genymotion.com is able to emulate android devices in virtualbox.
— Reply to this email directly or view it on GitHub https://github.com/gorhill/uBlock/issues/524#issuecomment-70681547.
It should be possible to use the Android emulator:
It's possible to use the Android emulator to develop add-ons for Android without access to a device, but it's slow, so for the time being it's much easier to use the technique described below.
https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Mobile_development
@stefanocaselli yes, modify install.rdf as gorhill said above
If you have a "spare" computer to use it with, Android-X86 will run without being slowed down by emulation.
I've started working on this. There are a couple of places where Fennec differs from desktop Firefox internally, preventing µBlock from working in its current state.
I was able to install on mobile as well by adding the android target application, but there wasn't any blocking and there were no options available to configure or open the extension. Hopefully someone can figure it out, a lightweight blocker like this would benefit cpu usage and memory on mobile devices to save battery life
A lot of the Firefox API for addons is subtly different for Fennec (e.g. there's no gBrowser object, the UI consists of native objects, context menus are handled differently, etc.). Hence the addon in its current state would seem to load fine, but completely fail to do anything.
Much of the conversion is mechanical (which I've done). One of the remaining issues is that I haven't yet found a working equivalent to addTabsProgressListener.
From what I can tell, uBlock only uses addTabsProgressListener for onLocationChange. (TabClose and TabSelect are both available on BrowserApp.deck). Could adding a listener for the ready event on the tab itself not substitute for the progress listener, just for location change reporting?
would be great if one of you manages to solve it, the main problem with ABP&co. with Fennec is the limitation to only one blacklist...
Hey folks, @ncalexan from the Fennec team here. We're happy to try to help get uBlock working in Fennec but we need a clear request. @AlexVallat says that uBlock just needs onLocationChange -- can you drop a link to the relevant code? We should be able to get you location change events somehow, some way.
@ncalexan I think you also need to be able to observe/inspect HTTP requests: https://github.com/gorhill/uBlock/blob/master/platform/firefox/vapi-background.js#L916
If someone could point me in the right direction as to how to write plug-ins and how uBlock works. I would love to help out, at least count me in for testing
This should all work fine in Fennec -- these are Gecko-level events.
What's missing is the addTabsProgressListener functionality in Fennec.
Since we don't use a <tabbrowser>, that interface (which just moves
events around, as far as I can tell) is missing. We're thinking of what
the substitute should look like.
On Wed, Feb 11, 2015 at 11:47 AM, Chris Aljoudi [email protected] wrote:
@ncalexan https://github.com/ncalexan I think you also need to be able to observe/inspect HTTP requests: https://github.com/gorhill/uBlock/blob/master/platform/firefox/vapi-background.js#L916
— Reply to this email directly or view it on GitHub https://github.com/gorhill/uBlock/issues/524#issuecomment-73950618.