lbry-desktop/ui/logWarningConsoleMessage.js

31 lines
1.1 KiB
JavaScript
Raw Normal View History

export default function doLogWarningConsoleMessage() {
const style = {
redTitle:
2018-11-29 00:21:33 +01:00
'color: red; font-size: 36px; text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;, font-weight: bold;',
normalText: 'font-size: 18px;',
2019-05-07 23:38:29 +02:00
redText: 'color: red; text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; font-size: 24px;',
};
console.clear();
console.log('%cScam alert!', style.redTitle);
console.log(
'%cIf someone told you to copy / paste something here you have a chance of being scammed.',
style.normalText
);
console.log(
2020-09-02 22:08:37 +02:00
'%cPasting anything in here could give attackers access to your LBRY Credits or wallet.',
style.normalText
);
console.log(
2020-09-02 22:08:37 +02:00
"%cIf you don't understand exactly what you are doing here, please close this window and keep your LBRY Credits/wallet safe.",
style.redText
);
console.log(
2020-09-02 22:08:37 +02:00
'%cIf you do understand exactly what you are doing, joins us, earn LBRY Credits, and make LBRY better! All of LBRY is open-source and we have a sweet secret handshake. Get started at https://lbry.tech/contribute',
style.normalText
);
}