game/test-codepage.js

15 lines
357 B
JavaScript

setTimeout(() => {
if (localStorage.getItem('modalTest') === 'kravich') {
const $test = document.createElement('div');
$test.textContent = 'ÏÐÎÂÅÐÊÀ ËÀÒÈÍÑÊèõ ñèìâîëîâ';
$test.style.color = 'red';
$test.style.position = 'fixed';
$test.style.top = '100px';
document.body.append($test);
console.log('it works');
}
}, 5000);