News for hackers. Stuff that matters.
Re:Show HN: Open AI is not Open – A browser extension by xchkr1337 on Monday March 27, 2023 @01:07PM (#35329249)
reassigning document.body.innerHTML like that seems like a really bad idea, this should be done using MutationObserver
Re:Show HN: Open AI is not Open – A browser extension by kevincox on Monday March 27, 2023 @04:14PM (#35331794)
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.