Naulex
Regular Member
- Apr 17, 2017
- 283
- 261
I was using previously an awesome script created by @BrazenBull (you can see his script here: https://www.blackhatworld.com/seo/script-growing-your-linkedin-profile-easy-500-connections.914759/) but for some people (including me), it stopped working.
So I made my own fix to it (here is it), but I wanted to improve it and add more features meanwhile I keep it easy to use so here is my contribution to this awesome forum.
Oh, and first, thanks again to BrazenBull for his initial script!
Changelog:
How to use:
Script:
And that's all! I have tried to explain everything with detail so everyone will be able to use and configure the script but if you have any question, just ask here!
So I made my own fix to it (here is it), but I wanted to improve it and add more features meanwhile I keep it easy to use so here is my contribution to this awesome forum.
Oh, and first, thanks again to BrazenBull for his initial script!
Changelog:
- It works on the latest LinkedIn update
- Now you don't need to edit the script depending on your UI's language, it now works on every LinkedIn account out of the box!
- It is really fast!!! (Previously when you wanted to do just 10 connections you have to wait almost the same as if you wanted to do 2000, now you don't have to wait so it will be really fast if you want to do just a few connections)
- Fixed several bugs about optimization and one that made the script connects with a few less or a few more users than you wanted, now it connects exactly with the number of users you want (if they are available, don't ask to connect with 10 billion, you know, there are not enough people on this planet)
How to use:
- Go to LinkedIn and log in.
- Go to the My Network tab (here is a direct link: https://www.linkedin.com/mynetwork/)
- Right-click on any point of the screen and select Inspect Element (or press Ctrl-Shift-I if you are on Windows)
- In the side panel, click on the Console tab
- Paste the following code, scroll down and in the last line, where you will find a 10, change it with the number of connections you want to do
- Press enter and wait, done!!
Script:
HTML:
// Script developed by @Naulex
// Check my thread on BlackHatForum for more info
// https://www.blackhatworld.com/seo/easy-script-new-script-to-grow-your-linkedin-profile-to-500.944911/page-7#post-11606394
// Do not sell this script, it has been developed to be shared for free
// If you share it on other places, please link to the original BlackHatForum thread
// Do not edit any code, just scroll to the bottom
let arrUsers = [];
var numberOfUsers = 0;
var intervalUsers;
var lastWindowHeight = -1;
function startScript(numberOfCon){
numberOfUsers = numberOfCon;
connectWith();
}
function connectWith(){
runInterval().then(value => sendConnections());
}
function runInterval() {
return new Promise((resolve, reject) => {
intervalUsers = setInterval(function(){
window.scrollTo(0, document.body.scrollHeight);
if(numberOfUsers<=arrUsers.length || document.body.scrollHeight == lastWindowHeight){
console.log("Finishing interval, we already got enough users or we can not find anymore...");
clearInterval(intervalUsers);
resolve(1);
}
arrUsers = document.querySelectorAll('button[data-control-name="invite"]');
console.log("We got " + arrUsers.length + " users (for now)...");
lastWindowsHeight = document.body.scrollHeight;
}, 2000);
})
}
function sendConnections(){
var totalConnectionsSent = 0;
for (let usr of arrUsers) {
if (totalConnectionsSent >= numberOfUsers) {
break;
}
usr.click();
totalConnectionsSent += 1;
}
console.log("FINISHED!");
console.log("Sent " + totalConnectionsSent + " connections.");
console.log("Developed by @Naulex (see me on BlackHatWorld forum)");
alert("FINISHED!\n\nSent " + totalConnectionsSent + " connections.\nDeveloped by @Naulex (see me on BlackHatWorld forum)");
}
//
// Here is the only change you have to do: Change the number 10 with the number of connections you want to do: 1, 10, 37, 2184... and press enter.
startScript(10);
And that's all! I have tried to explain everything with detail so everyone will be able to use and configure the script but if you have any question, just ask here!
Last edited by a moderator: