Javascript error 'Object does not support..' with IE7/IE6
-
If WP SlimStat 2.8.3 is used on a site which is visited with IE7 or IE6, it causes a javascript error in the browser of the visitor:
Object does not support this property or method...
With Companion.JS and Script Debugger for Windows and by replacing
wp-slimstat.js
withdev/wp-slimstat.js
I was able to track down the problem, line 70:for (i in navigator.plugins) {
Screenshot: https://i.imgur.com/7Pbuq.gif
Obviously IE7 and below does not support access to
navigator.plugins
in this way, a quick google search seems to support this theory:https://www.matthewratzloff.com/blog/2007/06/26/detecting-plugins-in-internet-explorer-and-a-few-hints-for-all-the-others/
https://www.aspfree.com/c/a/windows-scripting/detecting-plugins-in-internet-explorer/
https://www.ifadey.com/2011/09/browser-plugin-detection/
…
- The topic ‘Javascript error 'Object does not support..' with IE7/IE6’ is closed to new replies.