top | item 35329249 (no title) xchkr1337 | 2 years ago reassigning document.body.innerHTML like that seems like a really bad idea, this should be done using MutationObserver discuss order hn newest kevincox|2 years ago Yup. It will recreate all elements. At the very least it will break event listeners which will break most sites. It will probably do about 8 other things that break many sites.
kevincox|2 years ago Yup. It will recreate all elements. At the very least it will break event listeners which will break most sites. It will probably do about 8 other things that break many sites.
kevincox|2 years ago