µBlock, a lean and fast blocker

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

  1. 142395

    142395 Guest

    EL includes a rule to hide the 2nd anr 3rd elements as a generic cosmetic rule, but if your blocker is inefficient, you may see the element for a (mili-)second(s) just after the page load.
     
    Last edited by a moderator: Oct 15, 2019
  2. paulderdash

    paulderdash Registered Member

    Joined:
    Dec 27, 2013
    Posts:
    4,496
    Location:
    Under a bushel ...
    Thankfully I'm there already. Apart from my password manager add-on, uBlock Origin is the first, and sometimes only, other add-on I use.
     
  3. Seer

    Seer Registered Member

    Joined:
    Feb 12, 2007
    Posts:
    2,067
    Location:
    Serbia
    Good decision. uBlock got approved for now, but this is just delaying the inevitable.
    Not that anyone cares what I'll do, I was hoping that the outcries will give some result so I cried a bit :D
    But the powers that be are adamant - a limit of 30000 filters... lel. *****
    I use 4. Already did a test drive and the switch will be seamless.
     
  4. Compu KTed

    Compu KTed Registered Member

    Joined:
    Dec 18, 2013
    Posts:
    1,265
    If I uncheck [ ] Ignore generic cosmetic filters in uBO and run the test again.
    Results before and after refresh of test page are:

    <li>: Should not be hidden

    NOTE: That is only if [ ] Disable cosmetic filtering is unchecked.
    Cosmetic filtering is always enabled by default in uBO.
     
  5. 142395

    142395 Guest

    If you only see that when generic cosmetic is enabled and don't see other two even for a moment, your blocker is working well.
     
  6. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    15,703
    Location:
    The Netherlands
    OK thanks, I have disabled it and it now seems to run faster.
     
  7. mood

    mood Updates Team

    Joined:
    Oct 27, 2012
    Posts:
    44,022
    uBlock Origin v1.23.0 Released (October 21, 2019)
    Download - v1.23.0 - Firefox (AMO)
    Download - v1.23.0 - Chrome (Web Store)
    Download - v1.22.4 - Opera (Opera Addons)
    Download - v1.15.24 - Edge (Microsoft Store)
     
    Last edited: Oct 24, 2019
  8. mood

    mood Updates Team

    Joined:
    Oct 27, 2012
    Posts:
    44,022
    uBlock Origin v1.24.0 Released (November 18, 2019)
    Download - v1.24.0 - Firefox (AMO)
    Download - v1.23.0 - Chrome (Web Store)
    Download - v1.23.0 - Opera (Opera Addons)
    Download - v1.15.24 - Edge (Microsoft Store)
     
    Last edited: Nov 22, 2019
  9. mood

    mood Updates Team

    Joined:
    Oct 27, 2012
    Posts:
    44,022
    uBlock Origin v1.24.1b0 or higher required
    uBlock Origin for Firefox addresses new first-party tracking method
    November 20, 2019
    https://www.ghacks.net/2019/11/20/u...ox-addresses-new-first-party-tracking-method/
     
    Last edited: Nov 22, 2019
  10. deugniet

    deugniet Registered Member

    Joined:
    Nov 25, 2013
    Posts:
    1,111
    Last edited: Nov 20, 2019
  11. 142395

    142395 Guest

    Note currently enabling this can have performance impact. I think uAssets filters will soon adapt and then @gorhill will turn it on by default. Probably AdGuard will follow sooner or later.
    Not exactly correct. Indeed, okiehsch have added an injection rule to uBlock-Privacy filter, but this have to be done by site-per-site basis so by no means is efficient, and there's a case involving image only. It's also possible to block these randomely-looking subdomains one by one, as such a strategy itself is nothing new - again, it's a matter of efficiency. The statement that 1st party resources are usually not blocked is also incorrect.
     
  12. Nanobot

    Nanobot Registered Member

    Joined:
    Jun 23, 2010
    Posts:
    466
    Location:
    Neo Tokyo
  13. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    2,756
    Location:
    Italy
    It works.
    Thanks.:thumb:


    700.JPG
     
    Last edited: Nov 21, 2019
  14. Krusty

    Krusty Registered Member

    Joined:
    Feb 3, 2012
    Posts:
    9,657
    Location:
    Among the gum trees
  15. Bertazzoni

    Bertazzoni Registered Member

    Joined:
    Apr 13, 2018
    Posts:
    512
    Location:
    Milan, Italia
  16. Krusty

    Krusty Registered Member

    Joined:
    Feb 3, 2012
    Posts:
    9,657
    Location:
    Among the gum trees
    @Bertazzone ,

    Ah, I don't know how I missed that.

    "Beta 1.24.1b0 and newer"

    Thanks for bringing that to my attention. Thanks also to @deugniet . :thumb:
     
  17. mood

    mood Updates Team

    Joined:
    Oct 27, 2012
    Posts:
    44,022
    uBlock Origin v1.24.2 Released (November 22, 2019)
    Download - v1.24.2 - Firefox (AMO)
    Download - v1.23.0 - Chrome (Web Store)
    Download - v1.23.0 - Opera (Opera Addons)
    Download - v1.15.24 - Edge (Microsoft Store)
     
  18. korben

    korben Registered Member

    Joined:
    Nov 5, 2009
    Posts:
    913
    I am still on my 1-year -ole Vaio...

    And the pain of my rig/ Firefox/ turns out to be... drumroll... Ublock

    All of a sudden my CPU works as expected, that is no overheating while working on multiple Tabs

    Is there a less CPU hungry addon to replace Ublock or should I test other settings with Ublock?

    Perhaps stop using it entirely and modify the HOSTs file more radically?

    I can't believe it how smoothly my oldish friennd Vaio is working today, butt the number of ads....wow
     
  19. gorhill

    gorhill Developer

    Joined:
    Nov 12, 2013
    Posts:
    864
    Location:
    Canada
    I am skeptical about your conclusion -- this goes against all the findings out there. I even use uBO on a 13 y/o laptop and it's not a performance issue.

    But it's easy to sort out since you are using Firefox: you can simply launch a profiling session using the Firefox profiler and share your results.

    Questions:

    - Which exact version of Firefox? ("latest" is not a useful answer)
    - Which exact version of uBO?
    - What filter lists did you enable in uBO?
    - What uBO settings did you modify?
    - What other extensions are you using?
    - Did you make modifications to Firefox's `about:config`?
     
  20. korben

    korben Registered Member

    Joined:
    Nov 5, 2009
    Posts:
    913
    FF 70.0.0.1 x32
    Ublock 1.24.2

    https://imgur.com/TfVXiOj

    https://imgur.com/7WhV8nY

    Bitwarden
    Foxy Getures
    Group Speed dial
    Iridium
    Newtababout:blank
    noScript
    OpenMultiple Urls
    TabSessionManager
    UndoCloseTabButton

    Plus a few that are disabled.

    Did I? Yes. Too many to trace. All of them were encouraged by tech gurus though, nothing off my own accord.

    Now I am trying to work out how the Geco Profiler should help me :)
     
  21. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    4,678
    you dont need noscript with ublock, thats rubbish and not useful.
    which antivirus is installed?

    this profile on win7 x64 = no issues, same performance as win10
     
  22. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    3,720
    Location:
    Canada
    With all due respect Brummelchen, I disagree, at least if NoScript's restrictions are disabled, which is how I use it with uBlockO. This way NoScript's excellent XSS filter is functional, and all other filtering is handled by uBlockO.
     
  23. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    4,678
    you need to adjust ublock filters or create your own rules.
    and uBo ofc is able to handle XSS which is nothing else than scripts or data from 3rd-party domains
    https://www.reddit.com/r/uBlockOrig...o_hard_mode_enough_to_replace_noscript_or_do/

    its not advertised as blocking xss but uBo is able to do this as long it exists.
    this is the result of reading the wiki.
    and you can refine such rules
     
  24. Bertazzoni

    Bertazzoni Registered Member

    Joined:
    Apr 13, 2018
    Posts:
    512
    Location:
    Milan, Italia
  25. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    3,720
    Location:
    Canada
    It looks to be a fine line between using both extensions or uBlockO only in Hard mode, but the latter leads to likelihood of higher website breakage, so I'll just stick to both with uBlockO in medium mode, though thanks for the suggestions.
     
  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.