µBlock Origin thread

General discussion about web technology.
gorhill
Junior Member
Posts: 44
Joined: Sun Mar 30, 2014 12:19 pm

Re: µBlock Origin thread

Post by gorhill » Mon Sep 19, 2016 4:47 pm

barbaz wrote:Any of that ring any bells / any suggestions where to look next?

Not sure. You say when the issue occurs the problematic cosmetic filter is still reported in the logger?
Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0

barbaz
Senior Member
Posts: 9281
Joined: Sat Aug 03, 2013 5:45 pm

Re: µBlock Origin thread

Post by barbaz » Mon Sep 19, 2016 5:12 pm

gorhill wrote:You say when the issue occurs the problematic cosmetic filter is still reported in the logger?

No, it does not get reported.
*Always* check the changelogs BEFORE updating that important software!
-

barbaz
Senior Member
Posts: 9281
Joined: Sat Aug 03, 2013 5:45 pm

Re: µBlock Origin thread

Post by barbaz » Tue Sep 20, 2016 1:47 am

Saw the issue again -
barbaz wrote:I think the trigger could has something to do with browsing for a long time before ever opening the link.

Yet another piece of evidence pointing at this.

What timers, if any, does uBlock Origin have, and how long are they set for?

barbaz wrote:
gorhill wrote:You say when the issue occurs the problematic cosmetic filter is still reported in the logger?

No, it does not get reported.

To be clear, the logger stuff was from a working instance.

Interestingly, the $websocket block still consistently show up, so blocking rules must not be affected by this, right?

Also interestingly, as a test, used the element picker to created a blocking rule of pocttopus' avatar there

Code: Select all

||forums.mozillazine.org/download/file.php?avatar=2823383_1470844325.png$image

Reload the page with SeaMonkey's refresh button, and the cosmetic filters are working again. Could that be related?
*Always* check the changelogs BEFORE updating that important software!
-

gorhill
Junior Member
Posts: 44
Joined: Sun Mar 30, 2014 12:19 pm

Re: µBlock Origin thread

Post by gorhill » Tue Sep 20, 2016 12:49 pm

barbaz wrote:To be clear, the logger stuff was from a working instance.

Ok, at first I thought you were saying the logger was reporting the filter even when not working. If the logger does not report the filter, then I have a pretty good suspicion of where the issue is. For performance consideration, uBO will stop surveying the DOM for a specific site (just the hostname part) after loading a new page x times from that site without finding new cosmetic filter for that site.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0

barbaz
Senior Member
Posts: 9281
Joined: Sat Aug 03, 2013 5:45 pm

Re: µBlock Origin thread

Post by barbaz » Tue Sep 20, 2016 4:30 pm

Thanks, that would make sense if "page" is

Code: Select all

http://forums.mozillazine.org/viewtopic.php

ignoring the query string.

Is this the one? https://github.com/gorhill/uBlock/blob/ec6cd4b300ca6927078700a8a052412d5926945c/src/js/cosmetic-filtering.js#L52

mozillaZine is down right now, so I'll try find another way to check it.
*Always* check the changelogs BEFORE updating that important software!
-

barbaz
Senior Member
Posts: 9281
Joined: Sat Aug 03, 2013 5:45 pm

Re: µBlock Origin thread

Post by barbaz » Tue Sep 20, 2016 10:19 pm

@gorhill: Nice, you nailed it! :D 8-)
Thanks again! https://github.com/gorhill/uBlock/issues/2011

That seems like it should be a configurable setting, but how to change it?
*Always* check the changelogs BEFORE updating that important software!
-

barbaz
Senior Member
Posts: 9281
Joined: Sat Aug 03, 2013 5:45 pm

Re: µBlock Origin thread

Post by barbaz » Sat Sep 24, 2016 3:38 am

@gorhill: I'm experiencing some weird filter glitch in uBlock Origin 1.9.8 in any version of SeaMonkey (tested both 2.40 and 2.46pre). uBlock Origin 1.9.6 works fine, and we don't seem to be able to reproduce the issue in Firefox.

Basically, if I add a specific local file as a filterset (with or without other filtersets), uBlock Origin disregards some whitelist rules inside the file. As a result, if I visit e.g. viewtopic.php?f=18&t=21619&start=30, uBlock Origin blocks the images from i.psyche.me.

Problem is, I'm not having any luck minimising this, and it would be preferable not to post that entire 740 KB file for all to see. (It is an automatically generated MASSIVE collection of "normalised" filtersets from I-forget-where-all, also including some personal filters.)

If I send you the file, is it OK with you to file the formal issue with only the STR?
*Always* check the changelogs BEFORE updating that important software!
-

gorhill
Junior Member
Posts: 44
Joined: Sun Mar 30, 2014 12:19 pm

Re: µBlock Origin thread

Post by gorhill » Sun Sep 25, 2016 12:45 pm

barbaz wrote:Basically, if I add a specific local file as a filterset (with or without other filtersets), uBlock Origin disregards some whitelist rules inside the file. As a result, if I visit e.g. viewtopic.php?f=18&t=21619&start=30, uBlock Origin blocks the images from i.psyche.me.

Sorry, quite probably related to this regression bug. Fixed in 1.9.10.
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

barbaz
Senior Member
Posts: 9281
Joined: Sat Aug 03, 2013 5:45 pm

Re: µBlock Origin thread

Post by barbaz » Sun Sep 25, 2016 6:11 pm

gorhill wrote:Sorry, quite probably related to this regression bug. Fixed in 1.9.10.

Yep, 1.9.10 WFM, thanks :D
*Always* check the changelogs BEFORE updating that important software!
-

barbaz
Senior Member
Posts: 9281
Joined: Sat Aug 03, 2013 5:45 pm

Re: µBlock Origin thread

Post by barbaz » Fri Oct 14, 2016 5:30 pm

@gorhill: Is this mozillaZine thread http://forums.mozillazine.org/viewtopic.php?f=48&t=2965271 an official support/discussion thread for uBlock Origin?
*Always* check the changelogs BEFORE updating that important software!
-

gorhill
Junior Member
Posts: 44
Joined: Sun Mar 30, 2014 12:19 pm

Re: µBlock Origin thread

Post by gorhill » Sat Oct 15, 2016 11:45 am

barbaz wrote:@gorhill: Is this mozillaZine thread http://forums.mozillazine.org/viewtopic.php?f=48&t=2965271 an official support/discussion thread for uBlock Origin?

There is not really any official support thread for uBO. Wherever there is more activity is probably the best candidate for support/discussion, as it means more chance to have one's question answered. There is not much activity on mozillazine for uBO. There is more activity at the other places Wilders Security, Mozilla Discourse.
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

barbaz
Senior Member
Posts: 9281
Joined: Sat Aug 03, 2013 5:45 pm

Re: µBlock Origin thread

Post by barbaz » Sat Oct 15, 2016 2:48 pm

Well I ask because it looks like all of us in this thread are members on mozillaZine, and we don't have that many people coming to these forums discussing uBlock Origin. Most of mentions of uBlock Origin are me suggesting it.

These days, this thread is just me asking you for help getting info to file bug reports. Which I could do on mozillaZine just as easily as here.

So, since mozillaZine has a lot more uBlock Origin users/activity than here, and thus more potential uBlock Origin help, I'm considering locking this in favor of the other threads. People who want to ask for uBlock Origin help here can start a new thread on their specific problem in Web Tech.
*Always* check the changelogs BEFORE updating that important software!
-

barbaz
Senior Member
Posts: 9281
Joined: Sat Aug 03, 2013 5:45 pm

Re: µBlock Origin thread

Post by barbaz » Thu Jan 05, 2017 9:41 pm

barbaz wrote: since mozillaZine has a lot more uBlock Origin users/activity than here, and thus more potential uBlock Origin help, I'm considering locking this in favor of the other threads.

No objections and no one else posted to this thread, so done.
*Always* check the changelogs BEFORE updating that important software!
-

Locked