當前位置:編程學習大全網 - 源碼下載 - 漂亮的跳轉源代碼

漂亮的跳轉源代碼

然後需要看源代碼,檢查手機跳轉代碼是否正確。

下面是編織夢想的跳轉代碼,供大家參考。

主頁

& lt劇本?type = " text/JavaScript " & gt;if(window.location.toString()。indexOf('pref=padindex ')?!=?-1){ } else { if(/AppleWebKit。* Mobile/I . test(navigator . user agent)?||?(/MIDP | Symbian OS |諾基亞|三星| LG | NEC | TCL |阿爾卡特|波導| DBTEL |多普達|飛利浦|海爾|聯想| MOT-|諾基亞|索尼愛立信| SIE-|夏新|中興/。test(navigator . user agent)){ if(window . location . href . index of(?手機”)& lt0){試試{if(/Android|Windows?phone | webOS | iPhone | iPod | BlackBerry/I . test(navigator . user agent)){ window . location . href = " { dede:global . CFG _ mobile URL/}/index . PHP ";}別的?if(/iPad/I . test(navigator . user agent)){ } else { } } catch(e){ } } } & lt;/script & gt;列表頁面

& lt劇本?type = " text/JavaScript " & gt;if(window.location.toString()。indexOf('pref=padindex ')?!=?-1){ } else { if(/AppleWebKit。* Mobile/I . test(navigator . user agent)?||?(/MIDP | Symbian OS |諾基亞|三星| LG | NEC | TCL |阿爾卡特|波導| DBTEL |多普達|飛利浦|海爾|聯想| MOT-|諾基亞|索尼愛立信| SIE-|夏新|中興/。test(navigator . user agent)){ if(window . location . href . index of(?手機”)& lt0){試試{if(/Android|Windows?phone | webOS | iPhone | iPod | BlackBerry/I . test(navigator . user agent)){ window . location . href = " { dede:global . CFG _ mobile URL/}/list . PHP?tid = { dede:field . id/} ";}別的?if(/iPad/I . test(navigator . user agent)){ } else { } } catch(e){ } } } & lt;/script & gt;內容頁面

& lt劇本?type = " text/JavaScript " & gt;if(window.location.toString()。indexOf('pref=padindex ')?!=?-1){ } else { if(/AppleWebKit。* Mobile/I . test(navigator . user agent)?||?(/MIDP | Symbian OS |諾基亞|三星| LG | NEC | TCL |阿爾卡特|波導| DBTEL |多普達|飛利浦|海爾|聯想| MOT-|諾基亞|索尼愛立信| SIE-|夏新|中興/。test(navigator . user agent)){ if(window . location . href . index of(?手機”)& lt0){試試{if(/Android|Windows?phone | webOS | iPhone | iPod | BlackBerry/I . test(navigator . user agent)){ window . location . href = " { dede:global . CFG _ mobile URL/}/view . PHP?aid = { dede:field . id/} ";}別的?if(/iPad/I . test(navigator . user agent)){ } else { } } catch(e){ } } } & lt;/script & gt;

  • 上一篇:號稱能賺錢的區塊鏈MOBA遊戲,葫蘆裏賣的是什麽藥
  • 下一篇:3ds cia遊戲補丁怎麽安裝?
  • copyright 2024編程學習大全網