<script> window.addEventListener('load', function() { location.hash && (document.querySelector(location.hash).checked = true) }); </script>