Timeline for Why doesn't MutationObserver code run on Chrome 30?
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 17, 2016 at 1:05 | comment | added | cainhs | @PS I found the issue. I should not monitor the document.body in Firefox as the DOM is not ready. (i.e. it is empty) during page load. Instead, create a main div in the body and observe that. I wonder why Firefox behaves differently from Chrome and IE. | |
| Nov 9, 2016 at 22:55 | comment | added | PSL | @cainhs MDN says it should work with firefox as well. | |
| Nov 9, 2016 at 6:38 | comment | added | cainhs | @PSL It doesn't work in Firefox. Is there alternative? | |
| Oct 3, 2013 at 18:29 | history | edited | PSL | CC BY-SA 3.0 | added 122 characters in body |
| Oct 3, 2013 at 5:17 | comment | added | plalx | @PSL, Right, my bad ;) | |
| Oct 3, 2013 at 4:17 | vote | accept | weilou | ||
| Oct 3, 2013 at 4:14 | comment | added | PSL | @plalx check this example remove subtree and try as well. jsfiddle.net/9wtDc | |
| Oct 3, 2013 at 4:13 | comment | added | PSL | @plalx No. Subtree is required, if he wants to monitor deep in body as well, ex, if he wants to add anothe div inside this div. | |
| Oct 3, 2013 at 4:10 | history | edited | PSL | CC BY-SA 3.0 | added 3 characters in body |
| Oct 3, 2013 at 4:04 | history | answered | PSL | CC BY-SA 3.0 |