µBlock, a lean and fast blocker

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

  1. SLE

    SLE Registered Member

    Joined:
    Jun 30, 2011
    Posts:
    361
    Thx @gorhill.
    I'm absolutely with you at this point! Security and performance are more important. And the inherit feature is more than enough for what I need. :) I only wanted to show that wildcard are not possible and you gave a good reason for negative side-effects if it would be so.
    __

    a little feature request.
    I know you have the complex umatrix, but I'm on firefox and I really like the simplicity and usuability of ublock. And also I like to have similar things (here: blocking of annoyances on pair with privacy & security features) in one add-on. So far the script blocking feature of ublock is excellent for me and I even gave up noscript for that.

    So my question: Is it possible to add one (or two) other lines in the matrix to controll cookies (1st party, 3rd party) from ublock in future versions? Block cookies: red, session cookies: grey, allow: green ?
     
  2. MC Fat Tongue

    MC Fat Tongue Registered Member

    Joined:
    Mar 1, 2015
    Posts:
    2
    Thank you everyone, the answers to the question I asked are now clear.

    Cheers.
     
  3. TomAZ

    TomAZ Registered Member

    Joined:
    Feb 27, 2010
    Posts:
    1,131
    Location:
    USA
    I'm having a little trouble with the ublock "SINCE INSTALL" cummulative counter in the popup UI. The number displayed isn't correct at all. In fact, it seems to randomly increase and decrease (how/why would it decrease?) That number seems to vacillate between the range of 300 and 500, which is vastly incorrect. "343" seems to be the "magic" number that it keeps coming back to.

    I've been using ublock with Firefox and Sandboxie for a little over a week now. At first I thought it might be a Sandboxie related thing, but now I don't really think so.

    Is this a bug or known problem? Any thoughts on how to fix it? I've already tried uninstalling and re-installing it - didn't seem to help.
     
    Last edited: Mar 3, 2015
  4. gorhill

    gorhill Guest

    How did you rule out it's not Sandboxie? To me it looks just like it is. uBlock will persist the global count at regular interval -- each 4 minutes. So if something wipe out that persisted global count, it will start over from zero again.
     
  5. TomAZ

    TomAZ Registered Member

    Joined:
    Feb 27, 2010
    Posts:
    1,131
    Location:
    USA
    The way I ruled out Sandboxie is by using Firefox without Sandboxie. I would watch the counter increase as I surfed from site to site, but after I would close FF and log on again (without SBIE), the number would decrease again. It seems like it wants to "rest" in the 300s -- not always exactly the same 300s number -- but 343 seems to be a common one. If seen, 332, 358, 345, 349. 373, etc. As I write this, it's at 363 (should be in the 1000s),

    What is the file that stores that information?
     
  6. gorhill

    gorhill Guest

    I don't know about windows, but on linux it's at:

    /home/[user name]/.mozilla/firefox/[profile name]/extension-data/ublock.sqlite

    But everything goes in there, settings, cached filter lists, etc., not just these two global counts.
     
  7. TomAZ

    TomAZ Registered Member

    Joined:
    Feb 27, 2010
    Posts:
    1,131
    Location:
    USA
    So, would it be safe to uninstall ublock, delete that file (if it remains after the uninstall) and then re-install again. I assume the ublock.sqlite file would be re-created with the re-install -- right?
     
  8. gorhill

    gorhill Guest

    Yes.
     
  9. TomAZ

    TomAZ Registered Member

    Joined:
    Feb 27, 2010
    Posts:
    1,131
    Location:
    USA
    I stand corrected -- it appears that Sandboxie is the culprit. Too bad there's not a workaround for that issue.
     
  10. clubhouse1

    clubhouse1 Registered Member

    Joined:
    Sep 26, 2013
    Posts:
    1,124
    Location:
    UK
    I've just updated uBlock from 8.9.1 to 8.9.2 (I assume its final) for Firefox 36 and in the Ublock:about it still shows 8.9.1...I downloaded the xpi from Github and re-installed still shows 8.9.1.
     
  11. prius04

    prius04 Registered Member

    Joined:
    Apr 14, 2007
    Posts:
    1,248
    Location:
    USA
    Ditto here. For laughs, I installed 8.9.3-dev and it displays 8.9.3
     
  12. bo elam

    bo elam Registered Member

    Joined:
    Jun 15, 2010
    Posts:
    6,144
    Location:
    Nicaragua
    Yes, there is. You can set Firefox to have Direct access to ublock.sqlite, bypassing sandboxing.

    Sandbox settings>Resource access>File access>Direct access. In the drop down window, select Firefox. Click Add, navigate to ublock.sqlite and Apply. I don't use ublock so I cant test it. But doing this should save out of the sandbox all the information that gets saved in ublock.sqlite.

    Bo
     
  13. TomAZ

    TomAZ Registered Member

    Joined:
    Feb 27, 2010
    Posts:
    1,131
    Location:
    USA
    Just tried it, Bo, and thought for sure it would work, but for some reason it didn't. Thanks anyway for the suggestion.
     
  14. harsha_mic

    harsha_mic Registered Member

    Joined:
    Mar 11, 2009
    Posts:
    815
    Location:
    India
    I assume it might be intentional. Per change logs 0.8.9.2 is essentially same as 0.8.9.1 for all the users except safari.
     
  15. wolfrun

    wolfrun Registered Member

    Joined:
    Jul 26, 2009
    Posts:
    700
    Location:
    North America
    I am having the same problem, FF in sandboxie and FF by itself. I uninstalled µBlock and reinstalled. The setting starts out at 0, then of course going to a few sites the settings continue to add up, close FF and restart the settings are back to 0. Direct access to the µblock.sqlite file in sandboxie does not help since in FF alone therein lies the problem.
    Edit: This happens with or without Dynamic filtering. Just to add, am wondering if the problem is with the latest FF 36 build. I don't recall having this problem in the previous build.
     
    Last edited: Mar 5, 2015
  16. gorhill

    gorhill Guest

    Note that the counts are saved at most once per 4 minutes. So if you close the browser before the counts had a chance to save, then you won't get the latest counts. This is not critical information, and saving each time the counts change would be unreasonable.
     
  17. SLE

    SLE Registered Member

    Joined:
    Jun 30, 2011
    Posts:
    361
    Can't confirm. Using Sandboxie and FF (actually 37b2). I have direct access to my firefox profile in Sandboxie
     
  18. wolfrun

    wolfrun Registered Member

    Joined:
    Jul 26, 2009
    Posts:
    700
    Location:
    North America
    The results are the same even going over the 4 minute time limits, set a timer up to 8 minutes still no joy in FF with or without sandboxing. Reverts back to zero upon closing in each instance. The main reason I switched over to FF from Palemoon was to use µBlock and initially it worked as it should with the previous builds and previous FF build. Something changed in the meantime and I don't know what it is. Think I might just head back to Palemoon in the meantime as FF is getting rather bloated anyway. If things change and or if a few more people can test µBlock in FF and the global count is back on track, I will be back.
     
  19. gorhill

    gorhill Guest

    Code reviewed and found a regression related to global block counts, which explains the problem described here. Fixed in 0.8.9.3-dev.2
     
  20. wolfrun

    wolfrun Registered Member

    Joined:
    Jul 26, 2009
    Posts:
    700
    Location:
    North America
    Works well now in FF 36.0 now. Also working in FF in Sandboxie with direct access to ublock.sqlite file. Resource Access/File Access/Direct Access/ublock.sqlite. Thanks for the update. Now I have to revise my signature. lol. :thumb:
     
  21. TomAZ

    TomAZ Registered Member

    Joined:
    Feb 27, 2010
    Posts:
    1,131
    Location:
    USA
    Are the Rules ("My Rules" tab) also stored in ublock.sqlite?
     
  22. gorhill

    gorhill Guest

    Everything is saved in that one database.
     
  23. TomAZ

    TomAZ Registered Member

    Joined:
    Feb 27, 2010
    Posts:
    1,131
    Location:
    USA
    Thank you.
     
  24. SweX

    SweX Registered Member

    Joined:
    Apr 21, 2007
    Posts:
    6,429
  25. khanyash

    khanyash Registered Member

    Joined:
    Apr 4, 2011
    Posts:
    2,428
  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.