Skip to content

Commit

Permalink
1/2 delay
Browse files Browse the repository at this point in the history
  • Loading branch information
PatoFlamejanteTV authored Nov 30, 2024
1 parent 36b77ba commit a8cba8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function enviarScript(scriptText){

setTimeout(() => {
(main.querySelector(`[data-testid="send"]`) || main.querySelector(`[data-icon="send"]`)).click();
}, 100);
}, 50);

if(lines.indexOf(line) !== lines.length - 1) await new Promise(resolve => setTimeout(resolve, 250));
}
Expand Down

0 comments on commit a8cba8b

Please sign in to comment.