Ticket #103: 设备跳转js.txt

File 设备跳转js.txt, 560 bytes (added by chenguohao, 12 years ago)
Line 
1<!--ʹÓÃ˵Ã÷ : ÔÚÏàÓŠµÄµØ·œÌîÉ϶ÔÓŠ°æ±ŸµÄÁŽœÓ , È»ºó°ÑÕâ¶ÎŽúÂë·ÅµœÍ·²¿<title>±êÇ©µÄºóÃæ-->
2<script src="http://www.pconline.com.cn/3g/wap2013/intf/1305/intf2739.js" class=" defer"></script>
3<script type="text/javascript">
4deviceJump.init({
5        "wap":"ìŰæÁŽœÓ",
6        "wap_3g":"ìŰæÁŽœÓ",
7        "main":"pc¶ËÁŽœÓ"
8},function(name,jsonUrl){
9        delete jsonUrl["wap_3g"];
10        delete jsonUrl["main"];
11        if(document.referrer != "" && document.referrer.toLowerCase().split('/')[2].match(/.pconline.com.cn/i) == ".pconline.com.cn"){
12                delete jsonUrl[name];
13        }
14});
15</script>