- Description: Ensures you are at the beginning of a new line, necessary for the commands to be recognized.
- Usage: Hit the
Enter
key.
- Description: Uses the tilde key as a special escape sequence initiator for SSH.
function startProcess() { | |
console.log('inici'); | |
// Primer element: click al botó de "unfollow" | |
const unfollowButton = document.querySelector('button[data-testid$="unfollow"]'); | |
console.log(unfollowButton); | |
if (unfollowButton) { | |
unfollowButton.click(); | |
// Espera un temps aleatori entre 800 ms i 1200 ms i clicka al segon element | |
const randomDelay = Math.floor(Math.random() * (120 - 80 + 1)) + 80; |
/* | |
* DISCLAIMER: | |
* This script is provided 'as is', without warranty of any kind, express or implied. | |
* The author will not be liable for any damages, loss of data, or any other harm | |
* resulting from the use of this script. | |
* | |
* This script is intended for educational purposes only. Use it at your own risk. | |
* By using this script, you agree to assume all responsibilities and consequences | |
* associated with its execution. | |
* |
Enter
key.