-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrestrict-console.js
1 lines (1 loc) · 1.26 KB
/
restrict-console.js
1
var textonly=!1,start=function(){var o="Stop!",e="This is a browser feature intended for developers. If someone told you to copy and paste something here to enable a Facebook feature or \"hack\" someone's account, it is a scam and will give them access to your Facebook account.\n\nSee https://www.facebook.com/selfxss for more information.";if(!window.chrome&&!window.safari||textonly){for(var n=[""," .d8888b. 888 888","d88P Y88b 888 888","Y88b. 888 888",' "Y888b. 888888 .d88b. 88888b. 888',' "Y88b. 888 d88""88b 888 "88b 888',' "888 888 888 888 888 888 Y8P',"Y88b d88P Y88b. Y88..88P 888 d88P",' "Y8888P" "Y888 "Y88P" 88888P" 888'," 888"," 888"," 888"],t=(""+e).match(/.{35}.+?\s+|.+$/g),r=Math.floor(Math.max(0,(n.length-t.length)/2)),a=0;a<n.length||a<t.length;a++){var i=n[a];n[a]=i+new Array(45-i.length).join(" ")+(t[a-r]||"")}return void console.log("\n\n\n"+n.join("\n"))}var s="font-family:helvetica; font-size:20px; ";[[o,s+"font-size:50px; font-weight:bold; color:red; -webkit-text-stroke:1px black;"],[e,s+""],["",""]].map(function(o){setTimeout(console.log.bind(console,"\n%c"+o[0],o[1]))})}();