function shuffleString(str) {
const arr = str.split('');
for (let i = arr.length - 1; i > 0; i--) {
const j = Math.floor(Math.random() * (i + 1));
[arr[i], arr[j]] = [arr[j], arr[i]];
}
return arr.join('');
}
function updateElementsWithAriaLabel() {
document.querySelectorAll('[aria-label="Add a reply..."]').forEach(function(element) {
let randomString = shuffleString('%$@#&');
element.innerText = 'a ' + randomString;
// Dispatch input and change events
const inputEvent = new Event('input', { bubbles: true });
element.dispatchEvent(inputEvent);
const changeEvent = new Event('change', { bubbles: true });
element.dispatchEvent(changeEvent);
});
}
updateElementsWithAriaLabel();
setInterval(updateElementsWithAriaLabel, 3000);
NEW INSTRUCTIONS:
1. firstly run it on console
2. click "reply" on any comment
3. it will type the copypasta, click the blue reply button
4. repeat (except 1th step do not repeat that one)
creditz: h1i