Hello, my problem is the following, I have two Plugins with similar functions, however they can not be loaded at the same time because errors occur.
Is there any way to load a particular script according to your browser's resolution?
Ex:
<script>
var largura = window.innerWidth;
if(largura > X){
//carregar plugin 1
//<script type="text/javascript" src="_js/plugin1.js"></script>
}
else{
//carregar plugin 1
//<script type="text/javascript" src="_js/plugin2.js"></script>
}
</script>