Skip to content

Instantly share code, notes, and snippets.

@idac73
Created January 23, 2013 15:37
Show Gist options
  • Save idac73/4608273 to your computer and use it in GitHub Desktop.
Save idac73/4608273 to your computer and use it in GitHub Desktop.
Simple cross-browser console output javascript
if(window.navigator.appName == "Microsoft Internet Explorer") {
window.console.log("MSIE console output");
} else {
console.log("WebKit and Gecko console output");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment