替代

本页面旨在收集iPhone应用程序,软件,网站等的替代品。

(function(){ document.querySelector(".jump-group").addEventListener("submit",function(e){ e.preventDefault(); var num = parseInt(this.querySelector("input").value); var url = window.location.href; var total = parseInt(this.querySelector(".total").innerText); var path = url.substring(0,url.lastIndexOf('/') + 1); if(num <= total & num > 1){ if(url.indexOf("how-to.html") > 0){ window.location.href = path + "how-to/" + num + ".html"; }else{ window.location.href = path + num + ".html"; } }else{ alert("submit failed! please enter again.") } }) })()