Hacker News new | ask | show | jobs
by andrewstellman 2893 days ago
Yep. Here's the line that prints it – open a new Chrome tab (ymmv w/ other browsers, definitely looks weird in Safari), open developer tools, and paste it into the console:

console.log("%c\t\t\t\t\t\t\t\t\t\t\t\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n Hi there! \n\nIt seems you like to poke around as much as we do.\n\nhttps://github.com/Microsoft/join-dev-design", "color: white; background-color: #080808; background-image: url(https://microsoft.github.io/join-dev-design/msft-square.svg)... background-size: 70%; background-position: 50% 25%; background-repeat: no-repeat; padding: 3em; text-align: center;font-size: 1.25em;");

1 comments

wow I had no idea you can style console.log. You could add url()'s and track if people opened dev tools!
I knew I can style console but never put two and two together. For example, I’ve had to do this with google contacts just to read the actual error because the error on the website is too vague.

I know they can also track my every keystroke and cursor in their window but I somehow thought of right click -> inspect as not subject to tracking. I’m so much to learn.