Accept all LinkedIn connections at once easily
It's all about enjoying the fact that you are a developer, to fix a relatively big issues that took long time in a very small amount of time, that what defines us as developers.
I just feel fortunate for being a Developer, Here is a short story:
I don't know when did LinkedIn remove that option of multiple actions on the connection requests, and I had about 700+ connection requests today, I was usually multi-selecting them and accept or ignore
I was annoyed that I have to accept one by one, and I did try in the beginning
Then I realized that I'm a developer so I could automate that if LinkedIn stop supporting it, just by selecting the elements by inspecting them in the browser and trigger the click event on them if I want to accept all in the same page.
Only running the following code did that magic for me in moments:
document .querySelectorAll(".invitation-card__action-btn") .forEach(btn => btn.click())
but let's think about it, why do we have programming in the first place?
Why are developers writing code?
I've just shared that to let you think for a few moments why are developers writing code?
I guess it's there to fix such stupid problems that anyone might face in daily life
- I would say
ALWAYSKISS (Keep it simple stupid) as long as you fixed the issue in the shortest way.
DON'Tover design your code
USEcode to fix anything
ENJOYbeing a developer 👨💻
Tot ziens 👋