page++
/* * @title page++ * @description page countup * @include http://* * @license MIT License */ var a=location.pathname.split('/'); var p=a[a.length-1]; if (/^\d+$/.test(p)) { p++; a.pop(); a.push(p); } else { a.push(2); } location.pathname=a.join('/');