How can I disable a plugin only for mobiles divices

I`d like disable completely a plugin when users are connected from mobile device.
I know I can use the following CSS for to apply changes only in mobiles device:
@media screen and (max-width:782px)
But I dont know if I can use this code for disable a plugin...
In my case I want disable the plugin:
If I can disable plugin for mobiles devices with CSS, I`d like know the complete code.
Can you provide me that?
Or, alternatively same other solution?
Thanks very much for your support.