µBlock, a lean and fast blocker

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

  1. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    4,208
    my vote for the poll: nay
     
  2. Trooper

    Trooper Registered Member

    Joined:
    Jan 26, 2005
    Posts:
    5,595
    At least I am not alone with the @stapp looks like I am in good company.

    @imdb Thanks man. Not sure I want to mess with my HOSTS file but I may try it on a test PC just to check it out. :)
     
  3. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    4,208
    you're welcome, t. :thumb:
     
  4. stapp

    stapp Global Moderator

    Joined:
    Jan 12, 2006
    Posts:
    27,183
    Location:
    UK
    No joy. Still showed the Google Chrome popup so I took the entry out of the Hosts file.
    I don't use Edge as my primary browser so just tend to ignore the popup on the times I do use Edge.
    I empty Edge on close through the settings.
     
  5. Trooper

    Trooper Registered Member

    Joined:
    Jan 26, 2005
    Posts:
    5,595
    Good timing. Same thing here, no joy. I clear cache and all that on a daily basis so that is not the problem either. Maybe I need to use a new default browser.
     
  6. xxJackxx

    xxJackxx Registered Member

    Joined:
    Oct 23, 2008
    Posts:
    9,147
    Location:
    USA
    Did you clear your dns cache after you added it? Just a thought, though it probably wouldn't have mattered.
     
  7. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    6,298
    this working here for uBo
    Code:
    google.com##[src^="https://ogs.google.com/widget/callout"]
    uBo told me that blocked as DOM

    for those with stylus or similar
    Code:
    iframe[src^="https://ogs.google.com/widget/callout"]
    {display: none}
     
  8. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    4,208
    what browser did you test it on? edge?
     
  9. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    4,208
    @stapp @Trooper
    so, i guess this proves that it has something to do with edge's tp settings. i'll look further into it this weekend.
     
    Last edited: Mar 25, 2022
  10. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    6,298
    sure, edge, what else should i try? with chromium i dont get such message, nor firefox.

    seriously? :p
     

    Attached Files:

  11. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    4,208
    so, this screenshot you posted proves that you need a cosmetic filter to block this popup in edge. cause it looks like nw filter is preceded by edge's built-in tp settings. case closed.
     
  12. Trooper

    Trooper Registered Member

    Joined:
    Jan 26, 2005
    Posts:
    5,595
  13. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    6,298
    and where is the problem now? a lot of popups or similar elements are cosmetic filters, thats why ublock show in overview x network filters and y cosmetic filters in use. and this is ofc a cosmetic filter. a network filter looks different. and this thread is about ublock, where else should have i installed that filter?

    the filter as Trooper showed us in #6409 is working also here in "my filters", and do not re-appear when clicking the "eye"

    the minimal entry could be:
    ||ogs.google.com

    or in "my rules"
    * ogs.google.com * block

    these ways are working here like charm. if not on your side, maybe you need to adjust other edge settings.
     
    Last edited: Mar 25, 2022
  14. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    4,208
    it's all good, brumm. there is no problem. that was my initial thought on this issue of t's, that a cosmetic filter was required to block that popup.
    i don't get that popup in any of my browsers, i never did. :thumb:
     
  15. Trooper

    Trooper Registered Member

    Joined:
    Jan 26, 2005
    Posts:
    5,595
    So if I had the rule to my filterlist that you posted @Brummelchen then I should be good to go?
     
  16. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    4,208
    @stapp @Trooper
    ok, i just tested all this stuff on edge in a vm. here's the deal:
    there are five ways to block that popup.
    1. add "||ogs.google.com/widget/callout$subdocument" to my filters in ubo.
    or
    2. run command prompt as admin and execute the following cmd: "echo 0.0.0.0 ogs.google.com >> %WINDIR%\System32\Drivers\Etc\Hosts"
    or
    3. create a block rule for edge in your fw for "ogs.google.com"
    or
    4. create a block rule for "ogs.google.com" in your router's fw.
    or
    5. create a block rule for "ogs.google.com" in your system wide (ad) blocker.
    they all work. if they don't work for you, then there's something wrong with your config, something in your edge profile that's interfering with that nw filter or hosts file entry.
     
  17. Trooper

    Trooper Registered Member

    Joined:
    Jan 26, 2005
    Posts:
    5,595
    Trying the first one now @imdb Will keep you posted.
     
  18. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    6,298
    i am sorry for difficulties.

    for the HOSTS file - important to know for those, who use google services

    OGS means "One Google Signin", it might also block the choice top right for google services
     
  19. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    4,100
    Location:
    Canada
    Hi @Trooper

    have you tried the following filter:

    Code:
    ! Block switch to Chrome popop on google domains (search, maps, etc)
    ||ogs.google.*/widget/callout$all
    just copy and paste it into My filters.

    Edit

    it looks like you tried something similar to it, just not quite the same.

    Edit 2

    I tested the one posted at #6404

    Code:
    ||ogs.google.com/widget/callout$subdocument
    and it worked fine for me in latest Edge 99.0.1150.52 (Official build) (64-bit)
     
    Last edited: Mar 26, 2022
  20. stapp

    stapp Global Moderator

    Joined:
    Jan 12, 2006
    Posts:
    27,183
    Location:
    UK
    @wat0114
    The one you posted first works for me. Thanks.

    Code:
    ! Block switch to Chrome popop on google domains (search, maps, etc)
    ||ogs.google.*/widget/callout$all
     
  21. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    4,100
    Location:
    Canada
    You're welcome @stapp. That's good to know. Hopefully it works for @Trooper as well.
     
  22. Trooper

    Trooper Registered Member

    Joined:
    Jan 26, 2005
    Posts:
    5,595
    None of the filters work at all. I tried all of them. I even deleted my edge profile and started from scratch and still got the pop-up. The only thing that did work was adding ogs.google.com to my NextDNS blocklist and that worked! Not sure how I will handle at work but eh. Thanks @imdb !
     
  23. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,809
    Location:
    Italy
    Where is this pop-up? :confused:

    1.jpg
     
  24. stapp

    stapp Global Moderator

    Joined:
    Jan 12, 2006
    Posts:
    27,183
    Location:
    UK
    @Sampei Nihira
    Removed the filter so I could post a screenshot for you
    Screenshot 2022-03-26 174140.jpg
     
  25. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    4,208
    it's ok, brumm. all good. :thumb:
     
  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.