[Ext] uBlock Origin
- GHM113
- Posts: 707
- Joined: December 16th, 2015, 3:59 am
- Location: Moscow, Russia
Re: [Ext] uBlock Origin
I have a stupid question. I tried to import 6 filters into uBlock Origin (latest beta) using the box at the bottom of the page in settings - 3rd-party filters (the one under the title "One URL per line. Lines prefixed with ‘!’ will be ignored. Invalid URLs will be silently ignored"):
https://easylist-downloads.adblockplus. ... ilters.txt
https://easylist-downloads.adblockplus.org/easylist.txt
https://easylist-downloads.adblockplus. ... s_full.txt
https://easylist-downloads.adblockplus. ... social.txt
https://easylist-downloads.adblockplus. ... rivacy.txt
https://easylist-downloads.adblockplus. ... sylist.txt
However, after I press Parse only 4 new filters appear under "Custom" title, two filters are missing: https://easylist-downloads.adblockplus. ... social.txt and https://easylist-downloads.adblockplus. ... ilters.txt
Why are two filters missing?
https://easylist-downloads.adblockplus. ... ilters.txt
https://easylist-downloads.adblockplus.org/easylist.txt
https://easylist-downloads.adblockplus. ... s_full.txt
https://easylist-downloads.adblockplus. ... social.txt
https://easylist-downloads.adblockplus. ... rivacy.txt
https://easylist-downloads.adblockplus. ... sylist.txt
However, after I press Parse only 4 new filters appear under "Custom" title, two filters are missing: https://easylist-downloads.adblockplus. ... social.txt and https://easylist-downloads.adblockplus. ... ilters.txt
Why are two filters missing?
Sorry for my poor English.
-
- Posts: 1504
- Joined: October 1st, 2014, 3:25 pm
Re: [Ext] uBlock Origin
I'd guess it's because they're already in the built-in list of filter subscriptions.
-
- Posts: 1504
- Joined: October 1st, 2014, 3:25 pm
Re: [Ext] uBlock Origin
How to force an update of subscriptions in uBlock Origin 1.10.7rc0?
- Virtual_ManPL
- Posts: 2052
- Joined: July 24th, 2008, 5:52 am
- Contact:
Re: [Ext] uBlock Origin
@ barbaz - "Purge all caches" first, and next "Update now"
Virtualfox persona
Tired of constant Firefox UI changes? XUL extensions are not working anymore? Try SeaMonkey, Waterfox Classic, Pale Moon.
Tired of constant Firefox UI changes? XUL extensions are not working anymore? Try SeaMonkey, Waterfox Classic, Pale Moon.
-
- Posts: 1504
- Joined: October 1st, 2014, 3:25 pm
Re: [Ext] uBlock Origin
I only want to force update individual subscriptions, for which the "purge cache" buttons are gone. They seem to be replaced by a clock icon that just says when the last update occurred.Virtual_ManPL wrote:@ barbaz - "Purge all caches" first,
[deleted screenshot]
Last edited by barbaz on February 15th, 2017, 8:58 pm, edited 1 time in total.
-
- Posts: 252
- Joined: June 23rd, 2004, 8:24 am
Re: [Ext] uBlock Origin
It's not very intuitive, but I figured out how to do it...barbaz wrote:I only want to force update individual subscriptions, for which the "purge cache" buttons are gone. They seem to be replaced by a clock icon that just says when the last update occurred.
- Click on the clock icon - It will turn into an exclamation mark within an orange triangle
- Then click on 'Update now' and only those subscriptions that have the orange triangle will update
- Virtual_ManPL
- Posts: 2052
- Joined: July 24th, 2008, 5:52 am
- Contact:
Re: [Ext] uBlock Origin
@ barbaz & Soothsayer - nice find
Virtualfox persona
Tired of constant Firefox UI changes? XUL extensions are not working anymore? Try SeaMonkey, Waterfox Classic, Pale Moon.
Tired of constant Firefox UI changes? XUL extensions are not working anymore? Try SeaMonkey, Waterfox Classic, Pale Moon.
-
- Posts: 1504
- Joined: October 1st, 2014, 3:25 pm
Re: [Ext] uBlock Origin
That works, thanks Soothsayer!Soothsayer wrote:It's not very intuitive, but I figured out how to do it...
- Click on the clock icon - It will turn into an exclamation mark within an orange triangle
- Then click on 'Update now' and only those subscriptions that have the orange triangle will update
@gorhill, can you please make this feature obvious again?
-
- Posts: 1504
- Joined: October 1st, 2014, 3:25 pm
Re: [Ext] uBlock Origin
I'm finding some sites intermittently problematic, and I'm not sure if that's due to my uBlock Origin filters. So I'd like to have the logger always open in the background. Or running even when not open, so that when I open it it shows all the logged requests.
How to do this?
I tried setting "chrome://ublock0/content/logger-ui.html#" as an additional homepage, but it doesn't log anything in that case.
How to do this?
I tried setting "chrome://ublock0/content/logger-ui.html#" as an additional homepage, but it doesn't log anything in that case.
-
- Posts: 163
- Joined: February 10th, 2015, 8:00 am
Re: [Ext] uBlock Origin
If I pin a tab with "chrome://ublock0/content/logger-ui.html#", it works in my case with both Nightly/Firefox stable, the log is getting filled with entries at launch time.barbaz wrote:I tried setting "chrome://ublock0/content/logger-ui.html#" as an additional homepage, but it doesn't log anything in that case.
-
- Posts: 163
- Joined: February 10th, 2015, 8:00 am
Re: [Ext] uBlock Origin
What version of uBO is that? With version 1.11.0, if an imported filter list matches one of the stock filters, the matching stock filter one will be automatically selected. See issue 1181.GHM113 wrote:However, after I press Parse only 4 new filters appear under "Custom" title, two filters are missing: https://easylist-downloads.adblockplus. ... social.txt and https://easylist-downloads.adblockplus. ... ilters.txt
Why are two filters missing?
-
- Posts: 1504
- Joined: October 1st, 2014, 3:25 pm
Re: [Ext] uBlock Origin
Thanks. In light of this, I'm doing some troubleshooting, and it appears that the problem is some horrible extension conflict. I've outlined my findings below in some detail. Where should this be reported to?gorhill wrote:If I pin a tab with "chrome://ublock0/content/logger-ui.html#", it works in my case with both Nightly/Firefox stable, the log is getting filled with entries at launch time.barbaz wrote:I tried setting "chrome://ublock0/content/logger-ui.html#" as an additional homepage, but it doesn't log anything in that case.
In my main profile, both "Mozilla Archive Format" and "NoScript" appear to be preventing the uBlock Origin logger working as a homepage. Disabling both of those addons gets it working again.
However, that's not the whole story - disabling "µMatrix", leaving all my other addons enabled, also gets it working.
But, however, installing all four of those addons in a clean profile is not enough to reproduce the issue.
After hours of fiddling about, I finally got it reproduced in a clean profile. As it turns out, uBlock Origin plus any one of the aforementioned other extensions is almost enough. (note: I was disabling the others, not removing them.)
And with that - setting the following homepage prefs, closing all webpages, clearing all browsing history, and restarting/retrying a few times seems to do it.
Code: Select all
user_pref("browser.startup.homepage", "data:text/html,%3C%21%64%6F%63%74%79%70%65%20%68%74%6D%6C%3E%0A%3C%6D%65%74%61%20%63%68%61%72%73%65%74%3D%22%75%74%66%2D%38%22%20%2F%3E%0A%3C%73%74%79%6C%65%20%74%79%70%65%3D%22%74%65%78%74%2F%63%73%73%22%3E%0A%62%6F%64%79%20%7B%0A%20%20%62%61%63%6B%67%72%6F%75%6E%64%2D%69%6D%61%67%65%3A%20%2D%6D%6F%7A%2D%6C%69%6E%65%61%72%2D%67%72%61%64%69%65%6E%74%28%2D%36%30%64%65%67%2C%20%67%72%61%79%2C%20%61%7A%75%72%65%29%3B%0A%20%20%62%61%63%6B%67%72%6F%75%6E%64%2D%72%65%70%65%61%74%3A%20%6E%6F%2D%72%65%70%65%61%74%3B%0A%20%20%62%61%63%6B%67%72%6F%75%6E%64%2D%61%74%74%61%63%68%6D%65%6E%74%3A%66%69%78%65%64%3B%0A%7D%0A%3C%2F%73%74%79%6C%65%3E%0A%3C%64%69%76%20%73%74%79%6C%65%3D%22%6D%61%72%67%69%6E%2D%74%6F%70%3A%31%30%30%70%78%3B%6D%61%72%67%69%6E%2D%6C%65%66%74%3A%35%30%70%78%3B%22%3E%0A%3C%70%72%6F%67%72%65%73%73%20%69%64%3D%22%6C%22%20%6D%61%78%3D%22%31%30%30%22%3E%3C%2F%70%72%6F%67%72%65%73%73%3E%0A%3C%2F%64%69%76%3E%0A%3C%73%63%72%69%70%74%20%74%79%70%65%3D%22%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%3B%76%65%72%73%69%6F%6E%3D%31%2E%38%22%3E%0A%76%61%72%20%6C%20%3D%20%64%6F%63%75%6D%65%6E%74%2E%67%65%74%45%6C%65%6D%65%6E%74%42%79%49%64%28%27%6C%27%29%3B%0A%77%69%6E%64%6F%77%2E%61%64%64%45%76%65%6E%74%4C%69%73%74%65%6E%65%72%28%27%6C%6F%61%64%27%2C%66%75%6E%63%74%69%6F%6E%28%29%20%7B%0A%20%77%69%6E%64%6F%77%2E%73%65%74%54%69%6D%65%6F%75%74%28%66%75%6E%63%74%69%6F%6E%28%29%7B%6C%2E%76%61%6C%75%65%3D%22%31%30%30%22%7D%2C%31%30%30%30%29%7D%2C%66%61%6C%73%65%29%3B%0A%3C%2F%73%63%72%69%70%74%3E%0A%3C%62%72%2F%3E%0A");
user_pref("browser.startup.homepage.1", "chrome://ublock0/content/logger-ui.html#");
user_pref("browser.startup.homepage.count", 2);
EDIT I just tried on another machine, with my same profile, and there it seems some other addon(s) are also conflicting with uBlock Origin in this same way.
EDIT2 There are two additional culprits - both are my own addons. These same versions of these same addons did not produce the issue in the first machine. Same version of SeaMonkey on both machines. What to make of that?
- GHM113
- Posts: 707
- Joined: December 16th, 2015, 3:59 am
- Location: Moscow, Russia
Re: [Ext] uBlock Origin
To say honestly, I don't remember. I've just tested the latest beta and it looks like this feature is working as intended.gorhill wrote:What version of uBO is that? With version 1.11.0, if an imported filter list matches one of the stock filters, the matching stock filter one will be automatically selected. See issue 1181.
Also, a little question about ABP and uBO performance parity.
https://bugzilla.mozilla.org/show_bug.cgi?id=1280368
Does anyone know if this asynchronous API for content blocking is supported by WebExtensions? I am trying to figure out when ABP will finally catch up with uBO in terms of performance....we should consider implementing an asynchronous API for content blocking which could replace nsIContentPolicy. Our content process code needs to query the parent for content policy decisions because that's where the state is. Currently it has to happen synchronously because nsIContentPolicy requires a synchronous decision - so rather than delaying a single network request slightly we block the entire content process every time. This is currently causing performance issues in Adblock Plus
Sorry for my poor English.
- GHM113
- Posts: 707
- Joined: December 16th, 2015, 3:59 am
- Location: Moscow, Russia
Re: [Ext] uBlock Origin
Open any image in a new tab, for example: http://forums.mozillazine.org/static/co ... s/sky2.png
Click on it with rmb - Block Element. Nothing happens. Nightly 07-03-17, uBlock 1.11.3b0
Bug or feature? I tried to google but didn't find anything.
Click on it with rmb - Block Element. Nothing happens. Nightly 07-03-17, uBlock 1.11.3b0
Bug or feature? I tried to google but didn't find anything.
Sorry for my poor English.
-
- Posts: 1504
- Joined: October 1st, 2014, 3:25 pm
Re: [Ext] uBlock Origin
From the releases page -
I had been, informally, using the "fake" filter option $invalidated to cause uBlock Origin to discard an otherwise-valid filter. What is the difference between continuing to do that and using the new $badfilter option?https://github.com/gorhill/uBlock/releases wrote:New static network filter option: badfilter. Using this option will prevent the filter to be loaded in memory. See uBlockOrigin/uAssets#192 for rationale for having such a filter option.