Minimal Js Sources For Wiping Out The Whole Dom
This originally came as a spin off from https://stackoverflow.com/q/45390025/1737973. Sometimes, when JS is supported and enabled in the browser, I find it more useful to rebuild m
Solution 1:
document.body.innerHTML = ""
document.head.innerHTML=""
...but why?
![Any Diffrence Between Element.setattribute Element['attr'] Element.attr](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEZR1HtNb7Cu-zFkWj8JhcNIalqp5JuTCYC04mfY9PnrEAiY6hwfgJmH0aOmBhUm4JJDR_oj_8TY8PTKMiPPS1YbcZJBqYYqP0fxcExVfJ4ROdgVGPrvVGNQIQRCXgdy2asyrxtLmRb40/w192-h108-n-k-rw-no-nu/nomage+%25281%2529.png)
Post a Comment for "Minimal Js Sources For Wiping Out The Whole Dom"