µBlock, a lean and fast blocker

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

  1. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,803
    Location:
    Italy
    https://www.ghacks.net/2022/08/27/websites-may-write-to-the-clipboard-in-chrome-without-user-permission/

    Add this rule in UBO's "My Filters":

    Code:
    *##+js(acis,navigator.clipboard)
     
  2. Bertazzoni

    Bertazzoni Registered Member

    Joined:
    Apr 13, 2018
    Posts:
    746
    Location:
    Milan, Italia
    Thanks. Where did you find that, or did you write it yourself?
     
  3. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,803
    Location:
    Italy
    I could have but I noticed in the comments of the article that another user also entered that rule.
    This issue is not a problem for me.
    But other users are concerned,so I gave it visibility.

    I read the comments to the article for my Opera browser in Android also not vulnerable (Don't ask me why,to me it is enough that I am not vulnerable :D).
    Instead some user reports that some chrome-based browsers are vulnerable.:eek:

    I woke up this morning curious if Chrome-based browsers in Linux are vulnerable to the test.
     
    Last edited: Aug 29, 2022
  4. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    987
    Location:
    The Netherlands
    Ungoogled Chromium in Linux is vulnerable as well.
    The rule you posted works though. :):thumb:
     
  5. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,803
    Location:
    Italy
    Here,you didn't have to write it down.:(;):):D
    Now I hope I don't spend the night wondering why my Android Opera.................,but I don't.
    :argh:
     
  6. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    6,298
    Edge is vulnerable too. i would say any chromium based - too bad, i am using firefox :p

    anyhow thank you for reporting

    edit. your rule do not harm pages like this
    https://beautifier.io/
    button working.
     
  7. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,803
    Location:
    Italy
  8. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    6,298
    at least we meet again ;)
     
  9. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,803
    Location:
    Italy
  10. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    4,100
    Location:
    Canada
    I tested Apparmor-enforced Edge in Linux MX-21 just now and it failed to prevent copying to the clipboard from that test site.
     
  11. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,803
    Location:
    Italy
  12. EASTER

    EASTER Registered Member

    Joined:
    Jul 28, 2007
    Posts:
    11,536
    Location:
    U.S.A. (South)
    Pretty interesting addition.
     
  13. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,803
    Location:
    Italy
  14. wat0114

    wat0114 Registered Member

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

    maybe I'm doing something wrong, but this filter isn't working for me on that test site.
     
  15. Bertazzoni

    Bertazzoni Registered Member

    Joined:
    Apr 13, 2018
    Posts:
    746
    Location:
    Milan, Italia
    Same here.
     
  16. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    987
    Location:
    The Netherlands
    Encountered it only on first visit.
    After Ctrl+F5 it didn't appear in the clipboard any more.

    Changed the rule to:
    Code:
    *##+js(acis, navigator.clipboard.write)
    
    Then it worked again from first visit and onwards.
    (uBlock Origin development build 1.44.1b3)

    o_O

    [Edit]
    This works as well:
    Code:
    *##+js(aopw, navigator.clipboard)
    
     
    Last edited: Sep 2, 2022
  17. EASTER

    EASTER Registered Member

    Joined:
    Jul 28, 2007
    Posts:
    11,536
    Location:
    U.S.A. (South)
    Playing catch up switching systems-Appreciate you guru's great fantastic insight into browser safety tech :thumb:
     
  18. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,803
    Location:
    Italy
    It works for me.
    Verify that you have clipboard history disabled or perhaps in other browsers enter the changes of @nicolaasjan.
     
  19. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    4,100
    Location:
    Canada
    No luck with clipboard history disabled, but @nicolaasjan's rule works :thumb:

    It's a constant cat & mouse game for sure. And, indeed, I have no idea how on earth Sampei and nicolaasjan are able to figure this stuff out :)
     
  20. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,803
    Location:
    Italy
  21. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    987
    Location:
    The Netherlands
    Browsing a lot of forums and using search engines.
    Then copy → paste. :D
     
  22. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    4,100
    Location:
    Canada
    Well at least you know where to look and you are being modest ;):thumb:
     
  23. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,803
    Location:
    Italy
    @plat1098:

    1.jpg
    2.jpg

    If you want to get a score of 100% on the test the easiest way without increasing the rules is to take advantage of some DNS.
     
  24. PokerNemo

    PokerNemo Registered Member

    Joined:
    Nov 18, 2020
    Posts:
    27
    Location:
    NY
  25. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,803
    Location:
    Italy
    3.jpg

    A shorter search in FilterLists requires learning how to use the tags.: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.