µMatrix - the HTTP Switchboard successor

Discussion in 'other software & services' started by tlu, Oct 25, 2014.

  1. gorhill

    gorhill Developer

    Joined:
    Nov 12, 2013
    Posts:
    862
    Location:
    Canada
    That's the goal, to have community-driven rulesets, or as you said, your own rulesets centralized somewhere for you to fetch.
     
  2. gorhill

    gorhill Developer

    Joined:
    Nov 12, 2013
    Posts:
    862
    Location:
    Canada
    I agree with this. Ideally the extension should redirect to a blank page with a link and inform the user a page is trying to redirect. You may file an issue, and not sure whether there is a solid solution for this, but I think there is, now that I have played a lot more with the chrome API following uBlock.
     
  3. apathy

    apathy Registered Member

    Joined:
    Dec 10, 2004
    Posts:
    461
    Location:
    9th Circle of Hell(Florida)
    I think it would be great if there were some networking between uBlock and uMatrix so you can see what uBlock is blocking in uMatrix.. IMHO.
     
  4. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    3,030
    Location:
    Canada
    @gorhill (or someone),

    if you get a chance, can you please see my question in post #9. Thanks!
     
  5. gorhill

    gorhill Developer

    Joined:
    Nov 12, 2013
    Posts:
    862
    Location:
    Canada
    At first I was planning to, but given that scopes in HTTPSB are sandboxed while not the case in uMatrix, that might be too much code to write just for that one time purpose, I have a limited amount of time, and even less so in the coming weeks.
     
    Last edited: Oct 27, 2014
  6. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    3,030
    Location:
    Canada
    Okay no worries, thanks. It's just that it's been a lot of painstaking time and effort to forge and customize a ruleset, that it would be a shame to have to start over if I went a different approach, which leads me to my next question... do you think it's beneficial to go with the uBlock and uMatrix combo over that of only httpsb?
     
    Last edited: Oct 26, 2014
  7. apathy

    apathy Registered Member

    Joined:
    Dec 10, 2004
    Posts:
    461
    Location:
    9th Circle of Hell(Florida)
    That's the question of the day, because ublock has evolved past httpsb and umatrix is well on its way. I'm using them both at the moment.
     
  8. tlu

    tlu Guest

    So am I.

    @wat0114: IMO, you should definitely disable pattern-based filtering in HTTPSB and use µBlock instead since it's definitely superior in this field. If it comes to replacing HTTPSB with µMatrix - well, you may prefer to wait a bit until it's out of the alpha state or available from the webstore, but I think it's already very stable and its new approach offers obvious benefits over HTTPSB. It's a pity that it's not possible to import your HTTPSB rules but it's understandable since the syntax is rather different. However, if you make a backup of your rules in HTTPSB and open the generated text file while you're surfing your favorite websites with µMatrix, it's much easier and faster to determine which cells have to be whitelisted.
     
    Last edited by a moderator: Oct 27, 2014
  9. Pilou42

    Pilou42 Registered Member

    Joined:
    Oct 4, 2014
    Posts:
    66
    Consider HTTPSB dead; µBlock+µMatrix is the substitute. I don't think there's a reason to stay on HTTPSB.

    Please Gorhill, upload it on Google Store before being too much busy. The warning at start is boring (telling you you should not use third party extensions...). Wow. That was a long time I've not been that enthusiast with an application/extension/module.
     
  10. apathy

    apathy Registered Member

    Joined:
    Dec 10, 2004
    Posts:
    461
    Location:
    9th Circle of Hell(Florida)
    The cookie removal works great now on uMatrix thanks Gorhill!
     
  11. fs2com

    fs2com Registered Member

    Joined:
    Sep 20, 2014
    Posts:
    118
    How do I "disable pattern-based filtering in HTTPSB"... is in the setting?
     
  12. tlu

    tlu Guest

    Explained here.
     
  13. luxi

    luxi Registered Member

    Joined:
    Aug 31, 2013
    Posts:
    74
    Any plans to further streamline the rule syntax? Very minor gripe, but as it is now it seems unnecessarily repetitious/cluttered to me.
     
  14. gorhill

    gorhill Developer

    Joined:
    Nov 12, 2013
    Posts:
    862
    Location:
    Canada
    It is already streamlined, just not documented. Guess I will be working on the doc.
     
  15. Pilou42

    Pilou42 Registered Member

    Joined:
    Oct 4, 2014
    Posts:
    66
    "Origin webpage" "element from this webpage" "type of element" "allow or deny". Impossible to be easier. :eek:
     
  16. oneeyed25

    oneeyed25 Registered Member

    Joined:
    Nov 26, 2013
    Posts:
    21
    I haven't tried uMatrix yet, I'm still using HTTPSB. It's my only 3rd party extension and I really like it.

    But I'm wondering if there's a chance you'll add an option to filter images from OTHER in uMatrix ?

    I prefer to always have OTHER blocked (mainly to block HTML5 audio/video) so when I have to save an image it can get a bit annoying. That's actually the only nitpick I have with HTTPSB currently.

    By the way I noticed in task manager, HTTPSB's icon defaults to the generic "puzzle" icon. I've created a quick 16*16 icon for it (or uMatrix) . Feel free to use (or not) if you like it.
     

    Attached Files:

    Last edited: Oct 28, 2014
  17. fs2com

    fs2com Registered Member

    Joined:
    Sep 20, 2014
    Posts:
    118
    Thanks tlu
     
  18. gorhill

    gorhill Developer

    Joined:
    Nov 12, 2013
    Posts:
    862
    Location:
    Canada
    I just tried, and I could save an image by selecting "Save image as..." in the context menu even though I blocked the `other` column. Trying to understand why it works now, I find out that another piece of code which I added to work around some versions of Chromium not properly classifying a request with proper type is actually solving this issue.

    Regarding the icon, I don't think the icon is supposed to appear in the task manager, I don't remember seeing any for any extension.
     
  19. oneeyed25

    oneeyed25 Registered Member

    Joined:
    Nov 26, 2013
    Posts:
    21
    Thanks for the reply gorhill.

    I'm using the latest stable Chrome (38 - Windows) and Save Images does work sometimes but more often than not I have to enable other.

    Anyway if this issue is solved in uMatrix, I'll gladly use it when it's stable. I'm using HTTPSB with all the ubiquitous rules unchecked so I'm sure the transition will be painless for me.

    And thanks for the great work on these extensions, they are what finally decided me to move to Chrome for good from Opera 12 a few months ago ;)
     
  20. luxi

    luxi Registered Member

    Joined:
    Aug 31, 2013
    Posts:
    74
    I like the new rules syntax, easy to understand and edit manually, but what I meant was that I didn't see the need to have a new line for each request type. I guess it's needed for cross site stuff though. I'd imagine site rules could be on one line and compacted more, but that's nit picking.
     
  21. Pilou42

    Pilou42 Registered Member

    Joined:
    Oct 4, 2014
    Posts:
    66
    @gorhill: It looks like you can upload your extension and don't make it public if you want to beta test it.
    https://code.google.com/p/chromium/issues/detail?id=337734#c4
    Dat ~ Snipped as per TOS ~ bubble won't disappear and I don't want to use dev channel just for this...

    PS: Btw, "HTTPSB" is mentioned when you hover blocked frames (instead of µMatrix).
     
  22. gorhill

    gorhill Developer

    Joined:
    Nov 12, 2013
    Posts:
    862
    Location:
    Canada
    One directive per line is really the safest way for the parser and future ruleset maintainer IMO, because whitespaces are used to separate a set number of fields. But there are shortcuts. For example:

    twitch.tv jtvnw.net * allow

    Can be rewritten

    twitch.tv jtvnw.net *

    Or even

    twitch.tv jtvnw.net

    The request type default to
    *, while the action default to allow (since the preferred way of using uMatrix is deny-default, it's how it will ship given that now there is a 1st-party row which helps a lot not break sites).
     
  23. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    3,030
    Location:
    Canada
    Okay, thanks for the feedback. I will make the switch post-haste :D
     
  24. AutoCascade

    AutoCascade Registered Member

    Joined:
    Feb 16, 2014
    Posts:
    740
    Location:
    United States
    That would be pretty cool. Sort of like Stylish does.

    BTW for some reason I find uMatrix easier to work with than HTTPSB was. I think the '1st Party' thing helps. Fantastic work you've done.
     
  25. gorhill

    gorhill Developer

    Joined:
    Nov 12, 2013
    Posts:
    862
    Location:
    Canada
    There will be, I've come to see there is no way around this.
     
  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.