Conditions | 3 |
Paths | 2 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | 'use strict' |
||
3 | const warning = function () { |
||
4 | const i = 'Stop!' |
||
5 | const j = 'This is a developer-facing browser feature. Be aware that your account may be compromised by the unknown code use here.' |
||
6 | const k = ['See https://en.wikipedia.org/wiki/Self-XSS for more information.'] |
||
7 | if (window.chrome || window.safari) { |
||
8 | const l = 'font-family:helvetica; font-size:20px; '; |
||
9 | [[i, l + 'font-size:50px; font-weight:bold; ' + 'color:red; -webkit-text-stroke:1px black;'], [j, l], [k, l], ['', '']].map(function (r) { |
||
10 | setTimeout(console.log.bind(console, '\n%c' + r[0], r[1])) |
||
11 | }) |
||
12 | } |
||
13 | } |
||
14 | |||
50 |