24 lines
438 B
JavaScript
24 lines
438 B
JavaScript
function sleep(ms) {
|
|
return new Promise(resolve => setTimeout(resolve, ms));
|
|
}
|
|
|
|
|
|
async function waiting()
|
|
{
|
|
while (!document.body.contains(document.getElementById("mat-expansion-panel-header-3"))) {
|
|
sleep(100);
|
|
}
|
|
}
|
|
|
|
//waiting();
|
|
|
|
console.log('megva');
|
|
|
|
footer = document.getElementsByClassName('footer');
|
|
|
|
console.log(footer.length);
|
|
|
|
for (let i = 0; i < footer.length; i++) {
|
|
footer[i].style.backgroundColor = '#e4007c';
|
|
}
|