You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All is well when Internet Explorer (9 in my test case) is running in Standards Mode. But when I create a page that triggers "Quirks mode", the interpreter complains:
Object doesn't support property or method 'addEventListener'
I'm writing a browser plugin that injects some script into the page, so I don't have any control over the page doctype declaration (or lack thereof). This is a scenario my plugin is quite likely to encounter at some point.
I note that on the MDN page for "addEventListener", a polyfill is provided with the caveat:
Also note that this IE8 polyfill ONLY works in standards mode: a doctype declaration is required
So that seems to be the same issue. I'm not sure how to work around this at the moment.
The text was updated successfully, but these errors were encountered:
Hello,
All is well when Internet Explorer (9 in my test case) is running in Standards Mode. But when I create a page that triggers "Quirks mode", the interpreter complains:
I'm writing a browser plugin that injects some script into the page, so I don't have any control over the page doctype declaration (or lack thereof). This is a scenario my plugin is quite likely to encounter at some point.
I note that on the MDN page for "addEventListener", a polyfill is provided with the caveat:
So that seems to be the same issue. I'm not sure how to work around this at the moment.
The text was updated successfully, but these errors were encountered: