How to remove all the following from linked in just run one script
For removing all the following
let btns = document.querySelectorAll(".invitation-card_action-btn");
for (let b of btns) {
b.click();
}
For accepting all the invitations
let btns = document.querySelectorAll(".follows-recommendation-card__follow-btn");
for (let b of btns) {
b.click();
}