µ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
    I got latest version installed. I really like new icon :thumb:
     
  2. PallMall

    PallMall Guest

    New icon for uBlock Origin 0.9.4.3 -- A visual distinction with the "official", non-Origin uBlock -- No mistaking possible.

    icon.png

    Available as always on uBlock Origin's Releases page
     
    Last edited by a moderator: Apr 15, 2015
  3. mvario

    mvario Registered Member

    Joined:
    Sep 16, 2008
    Posts:
    339
    Location:
    Haddonfield, IL
    That icon may cause me to switch versions…

    Selection_001.png
     
  4. PallMall

    PallMall Guest

    Icons' sizes is a redundant problem in Firefox... it's a pity to abandon an add-on for such a futility.
    Concerning uBlock0's toolbar icon the following resolves the dimension issue :

    #ublock0-button {max-width: 32px !important;}
    #ublock0-button .toolbarbutton-icon {min-height: 16px !important; max-height: 16px !important; margin-top: -2px !important; margin-bottom: -2px !important;}

    EDIT : removed #ublock0-button {border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important;} because it does not apply to the icon's width but only to a personal cosmetic setting...
     
    Last edited by a moderator: Apr 15, 2015
  5. Mayahana

    Mayahana Banned

    Joined:
    Sep 13, 2014
    Posts:
    2,220
    Firefox.. So many issues, small and large.. I haven't used it in years - for reasons like this.
     
  6. mvario

    mvario Registered Member

    Joined:
    Sep 16, 2008
    Posts:
    339
    Location:
    Haddonfield, IL
    Nicely played. Can you give me a little info on that, like where you get the button name from? I actually had three other buttons that would go super-size in the menu bar, and I installed the Classic Theme Restorer add-on which made them smaller (though it had no effect on the uBlock Origin icon).

    I'd get ride of the Classic Theme Restorer add-on if you could tell me how I could find the name for the css for other buttons, because your fix worked a treat.
     
  7. PallMall

    PallMall Guest

    I have a rather heavily tweaked Firefox browser with about 80 add-ons, many styles, scripts (but only 2 plug-ins) and an as heavily tweaked GUI, with many buttons with some on auto-hide toolbars in order to conciliate availability and space. I have Classic Theme Restorer installed as well and, concerning the toolbar buttons, the Classic Toolbar Buttons extension also ... this is why, now that I think of it, the 2 css lines I mentioned above may not work correctly on all installations...

    When I have to find a new toolbar button's ID I'm ashamed to say I find it the hard way, totally out of the academic routine... once I've set my button in the right place I note after which other button it is localized. I know the other buttons' ID because I handle the toolbars and their contents with 2-3 dedicated styles. I then check the closest button ID on my CSS file, note it down, then I open the prefs.js file in my Firefox's profile folder, search for the ID I wrote down and find the ID of the new add-on... Ouf :)
    To be noted : the new toolbar buttons appear correctly in the prefs.js file only once you've restarted Firefox, even if the add-on is a no-restart.

    Concerning the Classic Theme Restorer add-on, it's far more than a CSS work. I wouldn't advise to remove it on the basis it can be done as well with a few css lines. It's far more consequent and also adds tools of its own. But for someone who uses that add-on for only, say, square tabs, then several low-level alternatives can be found at Stylish
     
  8. mvario

    mvario Registered Member

    Joined:
    Sep 16, 2008
    Posts:
    339
    Location:
    Haddonfield, IL
    Thank you for the hints, I actually figured it out and got the icons under control. I looked through prefs.js as you suggested and figured them out.

    I have about half as many add-ons as that (enabled), but I'm trying to prune out stuff I don't need. I only had Classic Theme Restorer installed to try and deal with those icons (and only recently), so I wasn't using it for anything else.

    So thanks again, those lines worked.
     
  9. PallMall

    PallMall Guest

    Great. I just realized I had forgotten to remove in the first css line I mentioned above, #ublock0-button {border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important;} because it does not apply to the icon's width but only to a personal cosmetic setting...

    Yeah, things get exponentially complicated with rising numbers of add-ons, scripts, styles ... that's why I decided right from the beginning to keep things organized in order 1- to avoid chaos, 2- to edit my configs the easy way. But life in itself is an eternal move from chaos to order so, personally, I'm more fond of the chaos I can observe than of the order I could hope for had I the power to stop time ... There I go again, off-topic :)

    Anyway, the topic here is uBlock Origin, and the add-on is exceptional, I really mean it.
     
  10. mvario

    mvario Registered Member

    Joined:
    Sep 16, 2008
    Posts:
    339
    Location:
    Haddonfield, IL
    Okay, cool. So I don't need the first line. I'll try without, though it doesn't appear to be doing any harm.

    I like ublock & ublock0. I'll stick with Origin for the time being, but with gorhill recommending the other one, I won't discount switching at some point. Depending. :shifty:
     
  11. DOSawaits

    DOSawaits Registered Member

    Joined:
    Dec 11, 2008
    Posts:
    469
    Location:
    Belgium
    Are you using the Firefox nightly version ? I had the exact same problem here, a few days ago, but both, a Firefox fix and a uBlock commit fixed it for me.
     
  12. XIII

    XIII Registered Member

    Joined:
    Jan 12, 2009
    Posts:
    1,383
    New to this tool (I was an AdBlock Edge user).

    Is uBlock Origin only for Safari/Chrome?

    (the Safari link on Raymond's uBlock Origin website links to Chris' uBlock and offers a uBlock with a lower version number)
     
  13. DOSawaits

    DOSawaits Registered Member

    Joined:
    Dec 11, 2008
    Posts:
    469
    Location:
    Belgium
    Nope, both Chris & Gorhill's version are (still) working fine on Firefox also, gorhill's version is here : https://github.com/gorhill/uBlock/releases , just make sure you read the Important stuff (under the 0.9.4.0 changelog) when switching between both editions.
     
  14. mvario

    mvario Registered Member

    Joined:
    Sep 16, 2008
    Posts:
    339
    Location:
    Haddonfield, IL
    No, 37.0.1, and the latest, latest ublock Origin that had the icon fix. Guess it was just something with my config.
     
  15. XIII

    XIII Registered Member

    Joined:
    Jan 12, 2009
    Posts:
    1,383
    I'm really sorry, but I made a mistake in my question. I meant:

    Is uBlock Origin only for Firefox/Chrome? (So not Safari?)

    (it is the Safari extension that is linked to uBlock; and I'm looking for the uBlock Origin Safari version)
     
  16. Jarmo P

    Jarmo P Registered Member

    Joined:
    Aug 27, 2005
    Posts:
    1,207
    gorhill, please fix the problem that came with Chrome 42. That it is not possible to see pdf file content on sites when uMatrix has Behind-the scene "scope" blacklisted.
    https://www.wilderssecurity.com/thre...chboard-successor.369601/page-13#post-2481971

    I have not found any other problems running the latest Chrome with uMatrix&uBlock Origin. Anyways I am not going to report this problem to some developer site I am not a member, nor interested in being. But if someone is there one, reporting this would be appreciated.
     
  17. DOSawaits

    DOSawaits Registered Member

    Joined:
    Dec 11, 2008
    Posts:
    469
    Location:
    Belgium
    I only know gorhill (the author of the now Origin version) is mainly Chromium oriented, and partly Firefox, Chris' version will be more refined to be Safari compatible. I would ask gorhill if he could compile the Safari installer, maybe he just forgot, since comparing the codes in the platform section, at least now, they share the same Safari related code, but I suspect he will point you to Chris' version if you want it to stay Safari compatible.
     
  18. cooperb21

    cooperb21 Registered Member

    Joined:
    Jan 29, 2015
    Posts:
    71
  19. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    4,064
    Location:
    Canada
    The original creator is gorhill (Raymond Hill) who now calls his extension ublock-origin.

    This quote is taken from: -https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm/support
     
  20. cooperb21

    cooperb21 Registered Member

    Joined:
    Jan 29, 2015
    Posts:
    71
  21. J_L

    J_L Registered Member

    Joined:
    Nov 6, 2009
    Posts:
    8,738
    In all seriousness, did you even read the quote? First question is innocent enough, but really this isn't some kind of rocket science that's going on.

    I will continue to use gorhill's version, although I never saw the point of splitting up uBlock for Chrome...
     
  22. Banzi

    Banzi Registered Member

    Joined:
    Oct 21, 2013
    Posts:
    397
    Location:
    Scotland
    Are there plans to update the Opera uBlock extension to the latest uBlock Origin version?
     
  23. tlu

    tlu Guest

    Yes.
     
  24. Banzi

    Banzi Registered Member

    Joined:
    Oct 21, 2013
    Posts:
    397
    Location:
    Scotland
    Many thanks for the link to the info tlu, I will be sticking with gorhill's version in Chrome, Firefox & Opera as I have never had any issues with it :)
     
  25. Hehe brand messaging is my field of play, so some small changes suggested to the icon

    upload_2015-4-18_11-52-3.png


    A shield is designed to block attacks. Hence the B is obselete

    the Origin of the creator prevails for me, hence the O encapsulates the U in the uBlock Origin icon

    I liked the micro U instead of the U, because uBlock allowed for micro management. Stil you got to respect the choices of the developer, so a U in capital, to refer to uBlock
     
  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.