如何防止外部javascript在移动设备上运行?

如何防止外部javascript在移动设备上运行?,javascript,mobile,Javascript,Mobile,您好,我是一个使用javascript的begginer,不知道该怎么做 我有这个剧本 <script id="rhlpscrtg" type="text/javascript" charset="utf-8" async="async" src="https://web.redhelper.ru/service/main.js?c=studenteu"> 但它并不适用于所有的移动设备(在iphone上工作,有些机器人不行)。我问自己:为什么要阻止这种情况?如果有人选择使用这个脚

您好,我是一个使用javascript的begginer,不知道该怎么做

我有这个剧本

<script id="rhlpscrtg" type="text/javascript" charset="utf-8" async="async" 
src="https://web.redhelper.ru/service/main.js?c=studenteu">

但它并不适用于所有的移动设备(在iphone上工作,有些机器人不行)。我问自己:为什么要阻止这种情况?如果有人选择使用这个脚本,那就这样吧。为什么它是一个问题的脚本在哪里使用?可能重复的
@media screen and (max-width: 768px) {
#rc-connect {
display: none !important;
}}