<script>
document.addEventListener('DOMContentLoaded', function() {
window.location.search += '?param=42';
}, false);
</script>
my page keep reload when I put this code
<script>
document.addEventListener('DOMContentLoaded', function() {
window.location.search += '?param=42';
}, false);
</script>
my page keep reload when I put this code