Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var ua = navigator.userAgent.toLowerCase();
- if(ua.indexOf("android") > 0 || ua.indexOf("iphone") > 0){
- window.location.href = "m/index.html";
- }else if(top.location.href.indexOf("guigu")){
- window.location.href = "c/index.html";
- }
Add Comment
Please, Sign In to add comment