game/test-codepage.js

15 lines
382 B
JavaScript
Raw Normal View History

2022-12-19 20:22:19 +00:00
setTimeout(() => {
if (localStorage.getItem('modalTest') === 'kravich') {
const $test = document.createElement('div');
2023-01-10 16:29:32 +00:00
$test.textContent = 'ПРОВЕРКА ЛАТИНСКих символов';
2022-12-19 20:22:19 +00:00
$test.style.color = 'red';
$test.style.position = 'fixed';
$test.style.top = '100px';
document.body.append($test);
console.log('it works');
}
}, 5000);