websitegeek
Junior Member
- Dec 22, 2011
- 103
- 15
Sweet. Thanks guys
OH F**K!@Naulex It doesn't work anymore, the script makes the page just keep scrolling down but doesn't click the connect button.
It was working fine about until 2 weeks ago
OH F**K!
Hopefully there´s a BHW member that may be able to fix it!
// 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-8#post-12863703
// 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
var arrUsers = [];
var numberOfUsers = 0;
var intervalUsers;
var lastWindowHeight = -1;
var totalConnectionsSent = 0;
function startScript(numberOfCon){
numberOfUsers = numberOfCon;
arrUsers = [];
lastWindowHeight=-1;
totalConnectionsSent = 0;
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(){
for (let usr of arrUsers) {
if (numberOfUsers>0 && totalConnectionsSent!==0 && totalConnectionsSent+1 > 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);
keep them comingUpdate
So, long time ago I did this script and honestly, I haven't checked it for a while but since I had to use it today and LinkedIn did some changes, I have thought about posting here an updated version.
Changelog:
- It works on the latest LinkedIn update
- Fixed some bugs it had
- Tested on the latest Google Chrome version
How to use:
Keep in mind LinkedIn is now more strict and if you have a fresh account with no phone verification (and even with phone verification) you should start slow, don't send thousands of invitations, start with 50 or so every few hours!
- 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-8#post-12863703 // 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 var arrUsers = []; var numberOfUsers = 0; var intervalUsers; var lastWindowHeight = -1; var totalConnectionsSent = 0; function startScript(numberOfCon){ numberOfUsers = numberOfCon; arrUsers = []; lastWindowHeight=-1; totalConnectionsSent = 0; 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(){ for (let usr of arrUsers) { if (numberOfUsers>0 && totalConnectionsSent!==0 && totalConnectionsSent+1 > 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);
// 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
var arrUsers = [];
var numberOfUsers = 0;
var intervalUsers;
var lastWindowHeight = -1;
var totalConnectionsSent = 0;
function startScript(numberOfCon){
numberOfUsers = numberOfCon;
arrUsers = [];
lastWindowHeight=-1;
totalConnectionsSent = 0;
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(){
for (let usr of arrUsers) {
if (numberOfUsers>0 && totalConnectionsSent!==0 && totalConnectionsSent+1 >= 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);
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 (https://www.blackhatworld.com/seo/script-growing-your-linkedin-profile-easy-500-connections.914759/page-3#post-10102424), 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!
This code is awesome because it not only sends the connection request from that "my network" tab page, but also sends to those People You May Know after we add any industry-specific person with whom we actually want to connect!
View attachment 91974
So go ahead people, add all those profile-like people after adding 1 such industry-specific person. Great job @Naulex
I try your code but i alway get "net::ERR_BLOCKED_BY_CLIENT" and "This error does not have an error message [{"status":500}]"Quick Update
Yesterday I posted an update but it has a minor bug. It was nothing important, just it was always following one user less than what you specify; but since I don't like to publish things that are not working perfectly, I have thought about doing a quick update with the fix.
Also, I was testing the script and meanwhile I was hit by a limitation to send invites a few times and also I have to work so I wasn't able to be running the script all day I didn't follow a lot of people, the account I did yesterday for testing with 0 connections has now 263 connections (and growing every minute, since other people are accepting the requests).
So, what is the updated code? Here it is:
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 var arrUsers = []; var numberOfUsers = 0; var intervalUsers; var lastWindowHeight = -1; var totalConnectionsSent = 0; function startScript(numberOfCon){ numberOfUsers = numberOfCon; arrUsers = []; lastWindowHeight=-1; totalConnectionsSent = 0; 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(){ for (let usr of arrUsers) { if (numberOfUsers>0 && totalConnectionsSent!==0 && totalConnectionsSent+1 >= 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);
I try your code but i alway get "net::ERR_BLOCKED_BY_CLIENT" and "This error does not have an error message [{"status":500}]"
Check my attach file for more information