stylesheets can be made to load only for some devices using:
<link href="big.css" rel="stylesheet" media="screen and (min-width: 768px)">
OR
<style media="screen and (min-width: 768px)"></style>
Is there an equivalent way to load specific scripts for specific devices?
I cannot modify the script since it is provided by third-party cdn imported using:
<script src="https://example.com/script.js"></script>