<!DOCTYPE html><metahttp-equiv="Content-Type"content="text/html;charset=UTF-8"><metahttp-equiv="X-UA-Compatible"content="IE=edge"><title>Page 1</title><p>The <code>next</code> query param must be the URL for the next page tolink to.<script>varmatch=document.location.search.match(/next=(.*)/);if(match&&match.length==2){varnext=decodeURIComponent(match[1]);varlink=document.createElement('a');link.innerText='Next!';link.textContent='Next!';link.id='next';link.href=next+'?next='+encodeURIComponent('http://'+document.location.host+document.location.pathname.replace('page1.html','page3.html'));document.body.appendChild(link);}</script>