/ Published in: JavaScript
                    
                                        
print log in IE and Firefox
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
window.log = function() {
log.history = log.history || [];
log.history.push(arguments);
if(this.console) {
console.log(Array.prototype.slice.call(arguments));
}
};
Comments
 Subscribe to comments
                    Subscribe to comments
                
                