internet explorer - JavaScript not running without developer console in IE (can't attribute to missing console) -
I am writing a web application platform that provides JavaScript applications in a browser. Needless to say, after launching the document I launch an application with JS method, but nothing happens on IE 9 if the Developer Console has been measured.
It seems like a normal disappearance problem,
Can you go where I am getting wrong?
- Site:
- JS Source:
I have been serving several different web apps with the same platform I want you to see the following (problem appears
- Objects in all versions of Internet Explorer are not supported: Please refer to the following: Object (from the above source) Object Adds the keys for browsers that do not support it:
if {! Object.keys} {Object.keys = (function () {var hasOwnProperty = Object.prototype .hasOwnProperty, hasDontEnumBug = ({toString: null)}! PropertyIsEnumerable ('toString'), dontEnums = [ 'toString', 'toLocaleString', 'valueOf', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'producer'], DontEnumsLength = dontEnums.length return function (obj) {if (type of obj! == ' Object '& amp; amp; Type Ob! ==' Function '|| Obj === Null) Throw new type errors (' Objects called non-object '). The Var result = [] {(var prop in obj) if (Haovnproprti call (obj, prop)) result.push (prop)} if (hasDontEnumBug) {(for var i = 0; i < / Pre>
In addition, the methods to check the existence of the console are incorrect:
Try running (http://jsfiddle.net/PytAh/) in Internet Explorer:
< pre> if (console) {alert ( "there");} else {no warning ( "");}
this is the console does not show the existence An error will occur that you can take place by it. < P>
if (window.console) {warning ("there");} other {warning ("not");}
Comments
Post a Comment