Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Dad Dad
97 PointsHow to do this ...
Check this link -> http://kirszenberg.com/assets/facebook-sixth-sense/warning-message.png
2 Answers
Steven Parker
243,215 PointsJoel seems to have found the answer but the question itself is a bit troubling. Reminds me of Tom Riddle asking "I was in the library the other day, in the Restricted Section, and I read something rather odd about a bit of rare magic. It's called, as I understand it... a Horcrux."
Dad Dad
97 PointsI found it .. try this :)
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script type="text/javascript"> const warningTitleCSS = 'color:red; font-size:60px; font-weight: bold; -webkit-text-stroke: 1px black;'; const warningDescCSS = 'font-size: 18px;'; console.log('%cStop!', warningTitleCSS); console.log("%cThis 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.", warningDescCSS); console.log('%cSee https://www.facebook.com/selfxss for more information.', warningDescCSS); </script> </body> </html>
Joel Bardsley
31,258 PointsJoel Bardsley
31,258 PointsInstead of attempting to answer it myself, here's a link to a stackoverflow page where the Facebook security engineer explains it themselves: How does Facebook disable the browser's integrated Developer Tools?