[Resolved] coin mining message

Discussion in 'Custom Filters' started by Azzz, Oct 28, 2017.

  1. Azzz

    Azzz New Member

    Joined:
    Jun 2, 2017
    Messages:
    60
    I know adguard warns the users about the sites that use the coin miner script, and let us decide to allow or not.
    But Can this warning message be never pop up and automatically not allow the devices to be used for mining? I installed adguard on my mom's android phone, and some websites she visits use the coin miner script so the message pops up thanks to adguard. However this is in English, and she's not used to it so I'm kinda worried that she accidently could tap on 'Allow' even though I said always tap on 'No'. I don't want to let her phone be used for mining.
    Filter for blocking mining script at all would be really appreciated.
     
  2. Alex302

    Alex302 Filters Developer Staff Member Administrator

    Joined:
    Jul 20, 2012
    Messages:
    24,736
    Hi
    Just add these rules to custom filter
    Code:
    ||coin-hive.com^$third-party,domain=~cnhv.co
    ||coinhive.com^$third-party,domain=~cnhv.co
    
     
  3. Azzz

    Azzz New Member

    Joined:
    Jun 2, 2017
    Messages:
    60
    Added to the user filters, but still getting the pop up message.
    tested on meowiso.me(NSFW) with chrome desktop and chrome android.
    with chrome android, when it loaded a mobile page of the website, the popup message didn't appear. (Maybe the script is not embedded in the mobile page?)
    However, when I loaded the desktop version of the website, the message showed up like on chrome desktop.

    Here's the screenshots.
    pc version page on chrome android
    [​IMG]

    on Chrome desktop
    [​IMG]
     
  4. Alex302

    Alex302 Filters Developer Staff Member Administrator

    Joined:
    Jul 20, 2012
    Messages:
    24,736
    Code:
    ||meowiso.me/wp-content/plugins/ch.min.js
    
     
  5. Azzz

    Azzz New Member

    Joined:
    Jun 2, 2017
    Messages:
    60
    Thanks.
    But is there no way for blocking all the coinhive scripts on ANY websites, not on a certain site, and not showing the warning message?
    (cause I visited that site to see if the filters works, was not asking for blocking the script on that specific site :) )