首页代码:

<script src="/js/uaredirect.js" type="text/javascript"></script>
<script type="text/javascript">uaredirect("http://m.330792.com");</script>

目录页面代码:

<meta http-equiv="mobile-agent" content="format=html5; url=http://m.330792.com{dede:type}[field:typelink /]{/dede:type}">
<script src="/js/uaredirect.js" type="text/javascript"></script>
<script type="text/javascript">uaredirect("http://m.330792.com{dede:type}[field:typelink function='str_replace("www.330792.com","m.330792.com",@me) /]{/dede:type}");</script>

章节页面代码:

<meta http-equiv="mobile-agent" content="format=html5; url=http://m.330792.com{dede:field name='arcurl'/}">
<script src="/js/uaredirect.js" type="text/javascript"></script>
<script type="text/javascript">uaredirect("http://m.330792.com{dede:field name='arcurl' function='str_replace("www.330792.com","m.330792.com",@me)/}");</script>

发表评论

电子邮件地址不会被公开。 必填项已用*标注