Welcome, Guest
Username: Password: Remember me

TOPIC: Additional JS for FF console functions in IE

Additional JS for FF console functions in IE 15 Dec 2012 13:57 #6109

  • gdpodesta
  • gdpodesta's Avatar
  • Offline
  • Senior Member
  • Posts: 75
  • Thank you received: 8
  • Karma: -42
By adding the below code to be used in all pages with JS, the functions will not interfere on non-FF browsers
if (!window.console) window.console = {};
if (!window.console.log) window.console.log = function () { };
if (!window.console.info) window.console.info = function () { };
if (!window.console.debug) window.console.debug = function () { };
The administrator has disabled public write access.
Time to create page: 0.060 seconds

Get Started