我正在尝试将我的移动网络应用程序的用户重定向到使用 Chrome 而不是 Safari。我尝试使用以下方法:
<script> javascript:location.href="googlechrome"+location.href.substring(4); </script>
然而,这会不断地在 Chrome 中循环打开标签。你知道我怎么能成功地做到这一点吗?
干杯,达拉
html javascript
html ×1
javascript ×1