µBlock, a lean and fast blocker

Discussion in 'other software & services' started by gorhill, Jun 23, 2014.

  1. chrcol

    chrcol Registered Member

    Joined:
    Apr 19, 2006
    Posts:
    923
    Location:
    UK
    Thanks, just tried on a site though and annoyance filters dont seem to be working against it, I think the problem is because its not using tracking domains, its a 1st party script, I dont want to resort to blocking 1st party javascript by default.

    Bit more testing shows XHR filtering no use and 1st javascript on the site needs to be blocked which also makes the site look horrible as like many sites now days it needs javascript.

    I feel ublock needs a new feature that can filter "ongoing" javascript so basically it would kill script processing 1 sec after site finishes loading which would kill this problem dead. As for this horrible thing to work must mean scripts carry on running in the background for the website. Also would be nice to be able to prevent websites been able to detect cursor movement etc. Ublock I think needs to catch up with the new toys they have. I know I would be able to filter using the element picker, but I dont want be manually doing that for 100s of sites.
     
  2. NiteRanger

    NiteRanger Registered Member

    Joined:
    Nov 15, 2016
    Posts:
    592
    Location:
    Far East
    Can link the site?
     
  3. Yuki2718

    Yuki2718 Registered Member

    Joined:
    Aug 15, 2014
    Posts:
    1,909
    @chrcol
    Both are typically done by event handler (e.g. onload to process sth after page load, onmousemove for pointer movement; EDIT: setTimeout can also be used to process sth after certain time) and actually uBO can deal w/ them, tho I see your point probably is easier solution that don't require understanding filter syntax.

    No annoyance filter is perfect so your experience is no wonder and one reason I don't recommend to subscribe too many annoyance filters, but you don't necessarily need to make 100s of rules as some scripts or class names will be used by many sites.

    E.g. these scripts and some of WP plugin rules I put on my Github (ublock-static-rules.txt) are what I see often tho YMMV. I've disabled generic cosmetic filtering and so far not sure about often used class names for the modal.
    Code:
    /iziModal.min
    ||cdn.jsdelivr.net/npm/micromodal/dist/micromodal.min.js|
     
    Last edited: Feb 4, 2020
  4. mood

    mood Updates Team

    Joined:
    Oct 27, 2012
    Posts:
    23,960
    uBlock Origin v1.24.4 Released (February 2, 2020)
    Download - v1.24.4 - Firefox (AMO)
    Download - v1.24.4 - Chrome (Web Store)
    Download - v1.23.0 - Opera (Opera Addons)
    Download - v1.15.24 - Edge (Microsoft Store)
    Download - v1.23.0 - Edge (Microsoft Edge Addons)
     
    Last edited: Feb 6, 2020
  5. Gandalf_The_Grey

    Gandalf_The_Grey Registered Member

    Joined:
    Jan 31, 2012
    Posts:
    635
    Location:
    The Netherlands
  6. Azure Phoenix

    Azure Phoenix Registered Member

    Joined:
    Nov 22, 2014
    Posts:
    1,091
    It's probably better to use the chrome version rather than Microsoft Store if you are an Edge user.
     
  7. Gandalf_The_Grey

    Gandalf_The_Grey Registered Member

    Joined:
    Jan 31, 2012
    Posts:
    635
    Location:
    The Netherlands
    I hope it will be updated soon, they are on the same version as opera.
    Maybe because of:
    That was what Bitwarden support told me when I asked the question when their extension will be updated to the same version as the chrome store.
     
  8. chrcol

    chrcol Registered Member

    Joined:
    Apr 19, 2006
    Posts:
    923
    Location:
    UK
    I can but wasn't keen on doing so as I felt it be spammy and didn't want to give them hits.

    I solved that site anyway by unticking the disable generic cosmetic filters box, it seems that was disabling a lot of annoyance filters.

    If you still want the site I will post it.
     
  9. chrcol

    chrcol Registered Member

    Joined:
    Apr 19, 2006
    Posts:
    923
    Location:
    UK
    thanks :) do you have a link to your github?
     
  10. Yuki2718

    Yuki2718 Registered Member

    Joined:
    Aug 15, 2014
    Posts:
    1,909
    @chrcol
    Fanboy and AdGuard Annoyances filters (in particular the former) rely heavily on generic cosmetic filtering so those who use them shouldn't disable it, and this means despite their premise these filters may not be very performance friendly depending on your hardware. At the same time this is another evidence you don't need 100s or rules, as some selector are shared among many these modals.

    Here's mine:
    Code:
    https://github.com/Yuki2718/adblock
    Navigate to /medium_mode/ublock-static-rules.txt , and click "raw" button on then copy and paste them to your My filters. Currently they are meant to be used in this way (unlike AdGuard filters which I made subscription filters).

    [EDIT] I hope anyone to first read README before using any of my filters and proceed only after you understand what the filters are. Ideally it should be common sense for virtually any filters not enabled by default.
     
  11. mood

    mood Updates Team

    Joined:
    Oct 27, 2012
    Posts:
    23,960
    uBlockO legacy v1.16.4.17 Released (February 10, 2020)
    1.16.4.17
    Commits since last release: firefox-legacy-1.16.4.16...firefox-legacy-1.16.4.17
     
  12. mood

    mood Updates Team

    Joined:
    Oct 27, 2012
    Posts:
    23,960
    uBlockO legacy v1.16.4.18 Released (February 17, 2020)
    1.16.4.18
     
  13. mood

    mood Updates Team

    Joined:
    Oct 27, 2012
    Posts:
    23,960
    uBlock Origin v1.25.0 Released (February 19, 2020)
    Download - v1.25.0 - Firefox (AMO)
    Download - v1.24.4 - Chrome (Web Store)
    Download - v1.23.0 - Opera (Opera Addons)
    Download - v1.15.24 - Edge (Microsoft Store)
    Download - v1.23.0 - Edge (Microsoft Edge Addons)
    It will take some time until the new version will be available on AMO, Chrome Web Store, etc.
     
    Last edited: Feb 25, 2020 at 12:56 PM
  14. Geoffrey Frogeye

    Geoffrey Frogeye Registered Member

    Joined:
    Dec 12, 2019
    Posts:
    5
    Location:
    France
    Good news, the v1.25.0 version of uBlock Origin now supports DNS cloaking. Well, for Firefox at least. Not sure what the plan was for the other browser but with DNS over HTTP this is definitely feasible.

    Didn't test it out yet, but it seems that this is a global setting, and also enabled by default. This might be an issue with some list (notably the ones on firebog.net) that tends to block CDN domains like chicdn.net or edgekey.net. While as is they might be used to serve tracking scripts, there also are a lot of legitimate website such as 68.media.tumblr.com or agreements.apple.com that are CNAME'd to them. However, since the default set of lists provided with uBlock Origin seems to be carefully picked, this shouldn't be a problem for most users.

    Once this is up and I have some free time, I'll make sure my base list is included in the default set of uBlock Origin so y'all will be ale to remove that 36K+ list from your uBO configuration (which, by the way, generates aout 4 GiB per day of traffic, this is insane). At least as far as Firefox users and CNAME cloaking are concerned. A (i.e. IP) cloaking is still a thing not covered by uBlock Origin.
     
  15. Yuki2718

    Yuki2718 Registered Member

    Joined:
    Aug 15, 2014
    Posts:
    1,909
    Unfortunately and puzzling to me, so many users derail from the default, having subscribed too many filters, reported the problems which ends up "not reproduced" label. Anyway, thanks for heads up and welcome back!
     
  16. mood

    mood Updates Team

    Joined:
    Oct 27, 2012
    Posts:
    23,960
    uBlock Origin 1.25 Now Blocks Cloaked First-Party Scripts, Firefox Only
    February 25, 2020
    https://www.bleepingcomputer.com/ne...cks-cloaked-first-party-scripts-firefox-only/
     
  17. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    3,115
    however this new feature is causing pain here and forces me to create new filters. and for same reason it causes failure behavior (right mouse save as..). i will watch this, but if it will bother me again i will stick with 1.24.4 until resolved.
     
  18. pasmal

    pasmal Registered Member

    Joined:
    Jan 25, 2015
    Posts:
    53
    Yeah, I noticed that if you're running uBlock Origin in medium mode with 1.25, you'll have to graylist some CDNs to unblock some functionality. I don't mind it though and like looking at the resolved domains.
     
  19. gorhill

    gorhill Developer

    Joined:
    Nov 12, 2013
    Posts:
    841
    Location:
    Canada
    You can disable the uncloaking of canonical names by toggling cnameUncloak to false in advanced settings. Not sure what you mean by "until resolved", this feature is not going away.
     
  20. Yuki2718

    Yuki2718 Registered Member

    Joined:
    Aug 15, 2014
    Posts:
    1,909
    Nothing to be resolved, the new feature is working fine - it's just you need to add some more noop rules, nothing has changed for what those 'advanced user' have to do. See this too.

    @Geoffrey Frogeye Your list is also working on Brave, tho many were already blocked by generic rules in EasyPrivacy, I reported at least one CNAME tracker not covered by any rules in EP but covered by your list.
     
  21. Peter 123

    Peter 123 Registered Member

    Joined:
    Feb 1, 2009
    Posts:
    210
    The same here. At the moment it is extremely difficult for me to open (respectively use) websites with which I had no problems before the update to 1.25.0.

    About a year ago I had changed from NoScript to uBlock Origin because its handling seemed to be more comfortable and easy to understand for me. But at the moment I have the impression that this advantage has gone.

    PS:
    Ah, many thanks. :thumb: What a relief! By disabling this feature all seems to work again as it did before the update.
     
    Last edited: Feb 26, 2020 at 11:54 AM
  22. bjm_

    bjm_ Registered Member

    Joined:
    May 22, 2009
    Posts:
    3,389
    Location:
    .
    uBlock Origin 1.25.0 medium mode
    I've needed to add one new noop on two sites, so far.
    1.25.0 okay, for me.
     
  23. Bertazzone

    Bertazzone Registered Member

    Joined:
    Apr 13, 2018
    Posts:
    260
    Location:
    Wonderland
    @Yuki2718 Are you using the Frogeye list with Brave's native adblocking or are you using µBO?
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.