includes/clientside/firebug/firebugx.js
author Dan
Sat, 23 Aug 2008 16:03:13 -0400
changeset 703 e492511e31ea
parent 551 3acd624d4f4f
permissions -rw-r--r--
Fixed minor (non-XSS) sanitization issue for main_page field in Admin:GeneralConfig

if(!("console" in window)||!("firebug" in console)){var names=["log","debug","info","warn","error","assert","dir","dirxml","group","groupEnd","time","timeEnd","count","trace","profile","profileEnd"];window.console={};for(var i=0;i<names.length;++i){window.console[names[i]]=function(){}}};