kmeleon
kmeleon copied to clipboard
Nodelist.ForEach is not a function.
The ForEach function is used, in particular, in the wpdiscuz wordpress plugin. The problem can be solved by adding a line before scripts. NodeList.prototype.forEach = Array.prototype.forEach; Is there a way to insert this polyfill into omni.ja? Or is it possible to incorporate it into the browser in some other way?
this is gecko50's function: https://bugzilla.mozilla.org/show_bug.cgi?id=1290636
Ok, we can't change the engine, but maybe we can add a "content-document-global-created" event for macros and inject a polyfill script? $OnLoad event fires too late.