xxxxxxxxxx
<iframe></iframe>
<script>
const iframeEl = document.querySelector('iframe');
const nextQueryValue = !location.search ? 1 :
Number(location.search.split("?").pop()) + 1;
iframeEl.src = `index.html?${nextQueryValue}`;
</script>