Skip to content

Instantly share code, notes, and snippets.

@owise1
Created December 9, 2016 19:17
Show Gist options
  • Save owise1/4e7b5d16349d6d34e50a8aa2a0b886d6 to your computer and use it in GitHub Desktop.
Save owise1/4e7b5d16349d6d34e50a8aa2a0b886d6 to your computer and use it in GitHub Desktop.
'use strict';
function sayHello() {
if (navigator.userAgent.toLowerCase().indexOf('chrome') > -1) {
var args = ['\n %c Made with ♥ by Dogstudio %c %c %c http://www.dogstudio.be/ %c %c🐶 \n\n', 'color: #fff; background: #b0976d; padding:5px 0;', 'background: #494949; padding:5px 0;', 'background: #494949; padding:5px 0;', 'color: #fff; background: #1c1c1c; padding:5px 0;', 'background: #fff; padding:5px 0;', 'color: #b0976d; background: #fff; padding:5px 0;'];
window.console.log.apply(console, args);
} else if (window.console) {
window.console.log('Made with love ♥ Dogstudio - http://www.dogstudio.be/ 🐶');
}
}
module.exports = sayHello;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment