<!-- Omit page param for Page 1, otherwise we'd need a rel-canonical link
to make `page=1` equivalent to not setting the param. -->
<ahref="client-side-navigation">Page 1</a>
<ahref="client-side-navigation?page=2">Page 2</a>
<ahref="client-side-navigation?page=3">Page 3</a>
</div>
<divstyle="padding-top: 10px;">
<labelfor="replaceStateCheckbox">Use <code>replaceState</code> instead of <code>pushState</code>?</label><inputtype="checkbox"id="replaceStateCheckbox">
</div>
<script type="module">
constpageContent=[
'Some extra content that is only on the first page.',