3 ms·
document.querySelectorAll('p').forEach(p => p.dispatchEvent(new Event('mousedown')))
by peebeebee 3y ago
document.querySelectorAll('p').forEach(p => p.dispatchEvent(new Event('mousedown')))
- kuschkufan 3y agoOr use 'mouseover'. It will show some different emojis now and then.
- thomasfromcdnjs 3y agoconst pTags = document.querySelectorAll('p'); pTags.forEach((p) => { while (!p.textContent.includes('EMOJI')) { p.dispatchEvent(new MouseEvent('mouseover')); } }); Need to replace EMOJI with what you want Can't be bothered writing code that could add a delay so it would look like a pokie machine.