Created
July 12, 2014 23:48
-
-
Save SecureCloud-biz/1b8838bb03493a9e7d61 to your computer and use it in GitHub Desktop.
Leave a message for those pesky developers who like inspecting websites
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Util = { | |
is_webkit: function() { | |
return navigator.userAgent.indexOf("AppleWebKit") > -1; | |
}, | |
message: function() { | |
if ( typeof console == "object" ) { | |
if ( Util.is_webkit() ) { | |
console.log( "%cHey! Why are you looking here for?\nDeveloped by SecureCloud http://www.securecloud.biz", "color: #359AD8; font-size: 18px; font-family: 'Trebuchet MS', Helvetica, sans-serif;" ); | |
} else { | |
console.log( "Hey! Why are you looking here for?\nDeveloped by SecureCloud http://www.securecloud.biz" ); | |
} | |
} | |
} | |
} | |
// call on page load | |
Util.message(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment