When I open the console on some sites like Facebook and Blockchain, I get a warning like the one below, I was wondering how I can do that on my site? Display a warning telling the user it's dangerous and he should not paste anything there.
You can style console.log messages:
console.log('%cStop!', 'color: red; font-size: 30px; font-weight: bold;');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With