Are you planning on releasing a Firefox port?
First of all, I saw that you have started another project (based on your first which is so awesome) and would like to congratulate you for yet another successful project. :D
Is there any plan on releasing a Firefox port for µblock? I tried it in Chromium and impressed in how light it is. It would be nice to see it running in Firefox. I have yet to find a blocker similar to µblock in Firefox.
Yes that would be nice, it seems people like it, more than I expected (given that it doesn't do all what ABP currently does -- like manually blocking elements, or entering URL to lists). I am currently quite loaded, and there are still important issues in need of fixing with HTTPSB.
Learning a whole new API is very time consuming. Even with the chrome API I can spend a while trying to figure why something unexpected is happening (as happened yesterday), so let alone a new one.
What would be nice is an angel developer doing some leg works to port to Firefox, and I could do my part in splitting more the platform specific stuff out of the core code as per feedback, etc. Eventually both projects could be merged.
I'd generally second this request, even though I can't be of great help for a port since I unfortunately know close to nothing about extension development. Would love to have this great extension in Firefox nevertheless.
I wonder if it'd be helpful to split out various "bite-size" chunks of work and add them as specially tagged issues in here.
- [x] Skeleton framework
- [x] Where to hook net request handling?
- [x] Where to hook initialisation?
- [x] Where to save/restore data?
- [x] Are core, content scripts, popup and dashboard page all in separate contexts? If yes:
- [x] What messaging infrastructure FF provides?
- [x] Initialization of the core
- [x] Reading user settings (which lists are selected etc.)
- [x] Loading, parsing the lists, storing the filters
- [x] Intercepting net request and potentially cancel them as per filters
- [x] Local mirroring
- [x] Pop-up blocking
- [x] Content-scripts
- [x] Element picker
- [x] Cosmetic filtering
- [x] Infrastructure to update updatable assets
- [x] Popup menu
- [x] Dashboard
+1
+1 for a FF version sorry I can´t help with it, i´m a Cisco guy not a programmer
Please make a version for FF :D thanks!
This would be great indeed, I'm using Bluhell Firefox on Firefox currently but it has limited functions.
If anyone wants to start, here's the list of relevant hooks https://developer.mozilla.org/en/docs/Observer_Notifications#HTTP_requests to use with https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/system_events
+1
Yes please do a firefox version there isn't one good adblocker on firefox Please :'(
Cool. Testing it out.
When I restore from a file the options in the "Settings" and "Statistics" tabs doesn't restore. Same happens when you try resetting to default.
@Deathamns Wow, this is awesome.
Among first thing I tried, the VIM Color Scheme Test (which originally is why I decided to start uBlock):
From Mozilla dev re. VIM test vs. ABP:
According to
about:memory,window-objects->layout->style-setsis the epicenter of the usage (jumping about 1 GB)
So I just looked:
- uBlock + default filter lists [1]:
window-objects->layout->style-sets= 49 MB. - ABP + filter lists in [1]:
window-objects->layout->style-sets= 1,565 MB. - No blocker:
window-objects->layout->style-sets= 49 MB.
- [1] Default filter lists:
- EasyList
- Peter Lowe's Ad server list
- EasyPrivacy
- Fanboy's Social Blocking List
- Malware domain lists
"Show the number of blocked requests on the icon" is not remembered upon restart. 0.8.2.0 is the version shown in add-ons manager, and 0.7.2.0 is shown in addon menu. beside that, after several minutes of testing - brilliant! thank You again Deathamns!
Another thing to look into, is that blocking inline javascript specifically does not seem to work: Test page. ~~Is it a limitation of Firefox re. Content Security Policy?~~ Never mind, I see onHeaderReceived has not been implemented yet.
This is just an early preview, still implementing the basics. I'm not even sure if reporting issues at this point is necessary. I just wanted to show what I was working on, and what can be expected for Firefox, but it's definitely not ready.
@my-password-is-password @alekksander You're probably talking about the same problem, which I was aware of.
@gorhill For me, ABP freezes the whole browser with 1GB+ RAM usage on the VIM page, I have to kill the process. However, there's no problem with µBlock, so my testing stopped here.
(By the way, your links to both the VIM Color Scheme Test (wrong link) and why (extra slash) are broken.)
As I said, some things are still missing, for example blocking inline scripts or pop-ups, experimental features, context menu, and there are bugs too, like the pop-up doesn't hide when a link is opened from it, or settings don't save in some cases (above mentioned)...
@Deathamns
This is just an early preview, still implementing the basics.
Understood. Issues should be filed once you decide it's ready for this. It works pretty well overall already. One thing is for sure: this is a huge milestone. Such a nice thing to see first thing this morning. Thank you very much for your work on portability and now the Firefox port a whole lot of people are waiting for.
I'm curious about one thing though. There is a constant crash in e10s enabled Nightly. After the extension is installed, restart the browser and all tabs will crash because of the extension. However, if I disable the extension, and enable it (via the Add-ons Manger, without restarting the browser), then It will work normally. Can someone confirm this?
Maybe file a bug at bugzilla? e10s are not working for me with yesterday's build. Getting a black page. Will update tonight and see if I can test this in e10s. Congratulations for huge milestone. Soon I will be start using Firefox again.:)