</main></div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<script>
document.querySelectorAll('[data-confirm]').forEach(x=>x.addEventListener('click',e=>{
 if(!confirm(x.dataset.confirm)) e.preventDefault();
}));
</script></body></html>
