<script>
try {
var urlhash = window.location.hash;
if (!urlhash.match("fromapp"))
{
if ((navigator.userAgent.match(/(iPhone|iPod|Android|ios|iPad)/i)))
{
window.location="这里写移动端的网址,注意要http://开头";
}
}
}
catch(err)
{
}
</script>
<script>
try {
var urlhash = window.location.hash;
if (!urlhash.match("fromapp"))
{
if ((navigator.userAgent.match(/(iPhone|iPod|Android|ios|iPad)/i)))
{
window.location="这里写移动端的网址,注意要http://开头";
}
}
}
catch(err)
{
}
</script>