Here’s a dirty trick: do you need to block the DOM in order to inspect an element that needs some user interaction? Run this in your browser console:
setTimeout(() => { debugger; }, 5000)
You now have 5000 milliseconds (5 seconds) to reach the element you need to inspect. Once the debugger is triggered your page will "freeze". 🙂
If you want to share a comment or report an issue with this post, please send me an email to napolux@gmail.com