23 lines
528 B
JavaScript
23 lines
528 B
JavaScript
|
export function consoleWarning(messages) {
|
||
|
console.log(
|
||
|
`%c${messages.SELF_XSS_HEADER}`,
|
||
|
'color: #7289DA; -webkit-text-stroke: 2px black; font-size: 72px; font-weight: bold;'
|
||
|
);
|
||
|
console.log(
|
||
|
`%c${messages.SELF_XSS_LINE_1}`,
|
||
|
'font-size: 16px;'
|
||
|
);
|
||
|
console.log(
|
||
|
`%c${messages.SELF_XSS_LINE_2}`,
|
||
|
'font-size: 18px; font-weight: bold; color: red;'
|
||
|
);
|
||
|
console.log(
|
||
|
`%c${messages.SELF_XSS_LINE_3}`,
|
||
|
'font-size: 16px;'
|
||
|
);
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
// WEBPACK FOOTER //
|
||
|
// ./discord_common/js/lib/XSSDefenses.js
|