µBlock, a lean and fast blocker

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

  1. harsha_mic

    harsha_mic Registered Member

    Joined:
    Mar 11, 2009
    Posts:
    815
    Location:
    India
    I don't think an option to disabe/enabe the addon will not be introduced, as Raymond believes its just duplicating the browser functionality. I too tend to agree with him on this!!

    So, you really have two options for you at this moment -
    - Use browser addon page to disable the addon. If you are using Chrome, i believe it by default provides an option to disable it, when you right-click on it.
    - Other option (not a complete one), is to use dynamic filtering. Where you can click on all cell (global scope), and make it green.
     
    Last edited: Nov 17, 2015
  2. The Red Moon

    The Red Moon Registered Member

    Joined:
    May 17, 2012
    Posts:
    4,101
    Im using google chrome as my main browser.I use ublock origin with inline and 3rd party scripts blocked.If i were to disable javascript in chrome,is there any conflict here between chrome and ublock.?

    Do i need to use the advanced settings in ublock if i disable the javascript in chrome.?
    Thanks.
     
  3. Minimalist

    Minimalist Registered Member

    Joined:
    Jan 6, 2014
    Posts:
    14,883
    Location:
    Slovenia, EU
    There shouldn't be a conflict but it could be harder to manage rules on two places. Both - Chrome and uBlock - will block scripts if configured so. You can still use advanced settings in uBlock to block 3rd party frames if you set script blocking in Chrome.
     
  4. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    17,559
    Location:
    The Netherlands
  5. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    17,559
    Location:
    The Netherlands
    I was wondering why first party scripts (top level domain) were automatically blocked on coolblue.nl?

    http://www.coolblue.nl/
     
  6. DOSawaits

    DOSawaits Registered Member

    Joined:
    Dec 11, 2008
    Posts:
    469
    Location:
    Belgium
    If you got the Easylist Privacy filters active, /__ssobj/core.js requests are blocked, they are nothing but tracking, probably used in good intentions to get to know which products people are most interested in.
     
  7. mantra

    mantra Registered Member

    Joined:
    Jan 25, 2005
    Posts:
    6,176
  8. Jarmo P

    Jarmo P Registered Member

    Joined:
    Aug 27, 2005
    Posts:
    1,207
  9. ance

    ance formerly: fmon

    Joined:
    May 5, 2013
    Posts:
    1,360
    The option "disable WebRTC" doesn't work, real IP is still visible. After installing "Disable WebRTC" addon IP adress is invisible. There must be a glitch in uBlock, please fix it.
     
  10. Jarmo P

    Jarmo P Registered Member

    Joined:
    Aug 27, 2005
    Posts:
    1,207
    I think it works. When I am using a VPN connection, I see only the public IP given by the VPN. Take a test with this: https://ipleak.net/

    Chrome shows my public IP, which is fine. Firefox shows:
    Your IP address - WebRTC detection
    https://ipleak.net/static/images/status/yes.pngNo leak, RTCPeerConnection not available.

    Main thing is my ISP given IP or my router given IP is not shown in either of them.

    If I uncheck WebRTC option in Firefox uBO, the test will show my VPN given local address and also my router given local IP.
     
    Last edited: Nov 21, 2015
  11. ance

    ance formerly: fmon

    Joined:
    May 5, 2013
    Posts:
    1,360
  12. marzametal

    marzametal Registered Member

    Joined:
    Mar 19, 2014
    Posts:
    766
    Also, if about:config in Firefox already has media.peerconnection.enabled (I think that is the entry) set to false, ticking WebRTC in uBlock will reverse it. That is what happened on my side... not sure if it can be replicated.
     
  13. Jarmo P

    Jarmo P Registered Member

    Joined:
    Aug 27, 2005
    Posts:
    1,207
    If I uncheck WebRTC leak option in Firefox uBO, that test will leak my VPN given local IP, ISP given IP and router given IP. If checked none leaking, so it works.

    Something has changed in latest Chrome I think. The WebRTC option in uBO has no effect on either of these tests. They don't show any leaking even if unchecked.
    Edit: Above paragraph was written testing in incognito mode. That option works the same in Chrome normal mode as in Firefox and if unchecked leaks IP information.

    I don't find after these tests that the uBO WebRTC option is not working. It works. Might be something in marzametal's post that the option acts as a toggle. I have not messed with either FF or Chrome settings myself.
     
    Last edited: Nov 21, 2015
  14. Minimalist

    Minimalist Registered Member

    Joined:
    Jan 6, 2014
    Posts:
    14,883
    Location:
    Slovenia, EU
    I tested it in Chrome. When uBlock Origin is blocking WebRTC from leaking my IP, I get only public IP showed (VPN). When I disable that option it shows local IP and IP designated by my ISP. So in my case that setting works just fine.
     
  15. ance

    ance formerly: fmon

    Joined:
    May 5, 2013
    Posts:
    1,360
    I think that's the problem here too. However, with separate addon "Disable WebRTC" the setting in media.peerconnection doesn't matter, IP is invisible. o_O
     
  16. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    17,559
    Location:
    The Netherlands
    OK I see, but I want it to always allow all "first party" scripts. Because this might break things I assume.
     
  17. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    4,065
    Location:
    Canada
    Code:
    * * 1p-script allow
    * * 1p-script noop
    The first rule allows all 1st party scripts absolutely on global basis (with no static filtering)
    The second rule allows 1st party scripts globally but will apply static filtering

    The second rule is recommended over the first. You should probably just apply the specific allow all filtering to any sites that may need it, such as the one you listed above.

    You might also want to take a look at medium Blocking mode.
     
  18. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    17,559
    Location:
    The Netherlands
    Will check it out, but I would sure like to have a dumbed down version, something like ScriptKeeper:

    https://addons.opera.com/en/extensions/details/scriptkeeper/
     
  19. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    4,065
    Location:
    Canada
    that's the beauty of uBlocko, in that you can dumb it down to the point where it's blocking bare minimum, although probably not recommended. There is also enhanced easy mode which is simply easy mode with the addition of blocking 3rd-party frames globally. this will give you pretty decent blocking while breaking very few webpages.
     
  20. Jarmo P

    Jarmo P Registered Member

    Joined:
    Aug 27, 2005
    Posts:
    1,207
    Your global * * 1p-script allow rule is rather interesting and does exactly what the guy asked. You can say you are an advanced user and with that rule just weaken the easy mode somewhat with the cost of loosing the tooltips. Not that I would use it but theoretically. And there is also the possibility to uncheck the 3rd party filters to bring the filtering downto ABP level. Not that I would use that either.

    The second noop rule is useless as far as I can see. It is default.
     
  21. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    4,065
    Location:
    Canada
    Whoa, easy there! Neither of those I use. Those are just crude examples because he wanted to allow 1st-party scripts, but I didn't recommend the first one at least and, in fact, I recommended he look at medium and enhanced easy blocking modes. Yes I know the second is default, but that was shown just to emphasize what it does. FWIW, I've been using medium mode for quite a while now.
     
  22. paulderdash

    paulderdash Registered Member

    Joined:
    Dec 27, 2013
    Posts:
    4,644
    Location:
    Under a bushel ...
    I am currently using uBlocko (static filtering) and uMatrix, but am considering changing to uBlocko only, with dynamic medium mode filtering, for its ease of use.
    Any views on what I would lose by doing this?
     
  23. Jarmo P

    Jarmo P Registered Member

    Joined:
    Aug 27, 2005
    Posts:
    1,207
    What comes to mind is blocking dynamically filtering (1st party) cookies, images, plugins, xhr and other.
    Matrix provides a convenient view of what is actually allowed and to operate.
    What is in the Privacy section of the dashboard. Those options will protect even when matrix is disabled for a site.
    More hosts files if one likes them.

    I use them together. If i filter with uMatrix, uBO has local noop settings for 3rd party script and frame. If I filter with uBO, uMatrix matrix filtering is disabled for the site. It is convenient to have uMatrix allow scripts (and frames and other stuff uBO allows too, except the cookies) for the first party as a default setting when running them together.
     
    Last edited: Nov 22, 2015
  24. Kind of hard to answer when you don't tell what you are afraid to lose in (security, privacy). Also what options did you disable/enable from on uMatrix?
     
  25. paulderdash

    paulderdash Registered Member

    Joined:
    Dec 27, 2013
    Posts:
    4,644
    Location:
    Under a bushel ...
    Both security and privacy ... all settings are at default I think, and all hosts files selected except hpHosts.
     
  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.