µBlock, a lean and fast blocker

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

  1. Minimalist

    Minimalist Registered Member

    Joined:
    Jan 6, 2014
    Posts:
    14,881
    Location:
    Slovenia, EU
    You can also use Shift + Esc to bring up Task manager. It will show you how much memory is used by extension.

    upload_2016-11-1_8-36-19.png

    It also shows you processID of extension. I don't have Adblock Plus installed so can't compare them.
     
  2. The Seeker

    The Seeker Registered Member

    Joined:
    Oct 24, 2005
    Posts:
    1,338
    Location:
    Adelaide
  3. Minimalist

    Minimalist Registered Member

    Joined:
    Jan 6, 2014
    Posts:
    14,881
    Location:
    Slovenia, EU
    Put ! in front of a filter and click Parse:

    upload_2016-11-1_9-9-42.png
     
  4. The Seeker

    The Seeker Registered Member

    Joined:
    Oct 24, 2005
    Posts:
    1,338
    Location:
    Adelaide
    Thanks so much!
     
  5. Minimalist

    Minimalist Registered Member

    Joined:
    Jan 6, 2014
    Posts:
    14,881
    Location:
    Slovenia, EU
    You're welcome :)
     
  6. guest

    guest Guest

    In overall the size is 5.6MB, but the languages (directory: "_locales" - 1.4MB) and the filter-lists (directory: "assets" - 3.1MB) consumes the most.
     
  7. @gorhill

    You made my neighbor very happy (man of 72) and I promised him to thank you in this forum. He moved from XP (Trust-No-Exe and Jettico and Firefox with Noscript) to Windows 7. He wanted to use Chrome in stead of Firefox and looked for a Noscript replacement.

    So on my Asus Transformer we went to all the websites he frequented (while Windows was updating) and made sure the websited worked okay. I could tried to convince him that script blocking was not nessecary, but I could not convince him. Luckily he settled for only blocking third-party scripts and iframes,

    The option to export and import settings really is a nice feature when you want top transfer settings across different PC's. I discovered that by only using Peter Lowe's block list, al his websites did not recognise uBlock as an adblocker. That blocklist is very good, by itself it managed to block most ads when NOOP-ing a website to find out which third-party to allow.

    Regards Kees
     
  8. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    17,546
    Location:
    The Netherlands
    I need to take a look at it, but the last time I checked, the script-blockers for Chromium didn't work the same as NoScript. You couldn't allow JS globally and only block certain sites on demand.
     
  9. Overkill

    Overkill Registered Member

    Joined:
    Mar 16, 2012
    Posts:
    2,343
    Location:
    USA
    How do I block these ads at the bottom of the page @twc? they lead to adware
     
  10. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    The Element Picker created the following filter:

    Code:
    ! 11.11.2016, 13:04:02 http://news.thewindowsclub.com/tech-support-scammers-chrome-bug-87084/
    news.thewindowsclub.com##div:nth-of-type(6) > strong
    Haven't you tried that?
     
  11. Overkill

    Overkill Registered Member

    Joined:
    Mar 16, 2012
    Posts:
    2,343
    Location:
    USA
    Yea but came back after reload and other pages
     
  12. DOSawaits

    DOSawaits Registered Member

    Joined:
    Dec 11, 2008
    Posts:
    469
    Location:
    Belgium
    Because there's nothing specific to be caught by the picker mode, it's probably only possible to dig in the source code, and build some filter from there.

    Good helping hand : https://adblockplus.org/filter-cheatsheet#elementselection

    Code:
    ! 12-11-2016 01:28:40 http://news.thewindowsclub.com/tech-support-scammers-chrome-bug-87084/
    thewindowsclub.com##div[style*="margin:10px 0 10px 0;"]
     
  13. gorhill

    gorhill Guest

    Try:
    Code:
    thewindowsclub.com##.entry-content > div:has(a[href^="http://link.tweakbit.com/"])
     
    Last edited by a moderator: Nov 12, 2016
  14. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    Interesting - not here! I just opened that site again and couldn't see it.
     
  15. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    4,064
    Location:
    Canada
    The problem with using the element picker is it just masks the ads, rather than block them, so there is no privacy gain using it.
     
  16. Overkill

    Overkill Registered Member

    Joined:
    Mar 16, 2012
    Posts:
    2,343
    Location:
    USA
    I opened a few different pages from TWC and I don't see that add anymore :thumb: Thanks
     
  17. chrcol

    chrcol Registered Member

    Joined:
    Apr 19, 2006
    Posts:
    982
    Location:
    UK
    I admit I still dont get why umatrix would be run alongside ublock origin, I run ublock origin in expert mode and it can manage javascript filtering fine.
     
  18. guest

    guest Guest

    If you need a fine-grained control for your filtering, uMatrix may be a better choice. But if you don't this control, uBlockO can be used for filtering instead of uMatrix.
     
  19. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    No, this blanket statement is incorrect.;) It's also possible to create network filters with the Element Picker if applicable. However, this is often not the case.
     
  20. JohnMult

    JohnMult Registered Member

    Joined:
    Mar 26, 2012
    Posts:
    133
    Location:
    Greece
    One question for the experts:
    I have one site that when I use pick element to manually block ads and so on I manage to create these filters:
    www.nooz.gr###ctl00_mainRightColumn_ctl13_adRotatorUpdatePanel
    www.nooz.gr###ctl00_articleRightColumn_ctl06_adRotatorUpdatePanel
    www.nooz.gr###ctl00_CategoryRightColumn_ctl06_adRotatorUpdatePanel
    www.nooz.gr###ctl00_CategoryRightColumn_ctl12_adRotatorUpdatePanel
    www.nooz.gr###ctl00_mainRightColumn_ctl10_adRotatorUpdatePanel
    All these have the expression "adRotatorUpdatePanel" in common. Is there a way to create one single filter to handle all of them?
     
  21. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    17,546
    Location:
    The Netherlands
  22. busy

    busy Registered Member

    Joined:
    Apr 10, 2006
    Posts:
    413
    @JohnMult

    Code:
    www.nooz.gr##[id$="adRotatorUpdatePanel"]
    or

    Code:
    www.nooz.gr##[id*="adRotatorUpdatePanel"]
    The $ sign means "ends with "adRotatorUpdatePanel""
    The * sign means "contains "adRotatorUpdatePanel""
     
    Last edited: Nov 13, 2016
  23. JohnMult

    JohnMult Registered Member

    Joined:
    Mar 26, 2012
    Posts:
    133
    Location:
    Greece
    Thanks man that works perfect!
     
  24. guest

    guest Guest

    This was requested some days ago at Github ("Issues"). The Result:
     
  25. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    17,546
    Location:
    The Netherlands
    OK I see, so it's not going to happen. Hopefully browsers will add such a function.
     
  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.