[Script] Growing your LinkedIn Profile! Easy 500+ Connections

It's working here. Check the attachment
Screen Shot 2018-01-15 at 21.53.38.png
 
Reworked the script to run after 4 minutes of scrolling.


setInterval(function() { window.scrollTo(0, document.body.scrollHeight); }, 2000);

function addConnection(component){
var btn_type=component.text().trim().split(' ')[0].trim();
if ((btn_type=="Invite" || btn_type=="Invitar")==false) {
component.trigger('click');
}
}

setInterval(function() {
jQuery('.button-secondary-small').each(function(index, value) {
setTimeout(addConnection($(this)), index * 1000);
});

}, 240000);
 
I keep running into the error that I'm reaching my "commercial use limit" and I need to upgrade in order to have "unlimited viewing of profiles"
Is there a way around this?
 
I made the simplest iMacros ever for LinkedIN literally all u gotta do is go to the my network page and go crazy
 
also, when you visit their profiles, do people actually request to connect with you? I know this used to work on linkedin a few years back, but do people still see that you visited their profile and then ask for a connectiON?
 
The original script does not work for me but...

I found a new one that does, works almost the same way as the first.

Just drop it into dev tools and run it on the "people you may know" page.

Enjoy!

Code :

var inviter = {} || inviter;
inviter.userList = [];
inviter.className = 'button-secondary-small';

inviter.refresh = function () {
window.scrollTo(0, document.body.scrollHeight);
window.scrollTo(document.body.scrollHeight, 0);
window.scrollTo(0, document.body.scrollHeight);
};

inviter.initiate = function()
{
inviter.refresh();
var connectBtns = document.getElementsByClassName(inviter.className);

if (connectBtns == null) {var connectBtns = inviter.initiate();}

return connectBtns;
};
inviter.invite = function () {
var connectBtns = inviter.initiate();
var buttonLength = connectBtns.length;
for (var i = 0; i < buttonLength; i++) {

if (connectBtns != null && connectBtns != null) {inviter.handleRepeat(connectBtns);}

if (i == buttonLength - 1) {
console.log("done: " + i);
inviter.refresh();
}
}

};

inviter.handleRepeat = function(button)
{
var nameValue = button.children[1].textContent
var name = nameValue.replace(/^\s\s*/, '').replace(/\s\s*$/, '');
if(inviter.arrayContains(name))
{
console.log("cancel");
var cancel = button.parentNode.parentNode.children[0];
cancel.click();
}
else
{
console.log("add");
inviter.userList.push(name);
button.click();

}
};

inviter.arrayContains = function(item)
{
return (inviter.userList.indexOf(item) > -1);
};

inviter.usersJson = {};

inviter.loadResult = function()
{

var retrievedObject = localStorage.getItem('inviterList');
var temp = JSON.stringify(retrievedObject);
inviter.userList = JSON.parse(temp);
};

inviter.saveResult = function()
{
inviter.usersJson = JSON.stringify(inviter.userList);
localStorage.setItem('inviterList', inviter.usersJson);
};


setInterval(function () { inviter.invite(); }, 5000);
 
The original script does not work for me but...

I found a new one that does, works almost the same way as the first.

Just drop it into dev tools and run it on the "people you may know" page.

Enjoy!

Code :

var inviter = {} || inviter;
inviter.userList = [];
inviter.className = 'button-secondary-small';

inviter.refresh = function () {
window.scrollTo(0, document.body.scrollHeight);
window.scrollTo(document.body.scrollHeight, 0);
window.scrollTo(0, document.body.scrollHeight);
};

inviter.initiate = function()
{
inviter.refresh();
var connectBtns = document.getElementsByClassName(inviter.className);

if (connectBtns == null) {var connectBtns = inviter.initiate();}

return connectBtns;
};
inviter.invite = function () {
var connectBtns = inviter.initiate();
var buttonLength = connectBtns.length;
for (var i = 0; i < buttonLength; i++) {

if (connectBtns != null && connectBtns != null) {inviter.handleRepeat(connectBtns);}

if (i == buttonLength - 1) {
console.log("done: " + i);
inviter.refresh();
}
}

};

inviter.handleRepeat = function(button)
{
var nameValue = button.children[1].textContent
var name = nameValue.replace(/^\s\s*/, '').replace(/\s\s*$/, '');
if(inviter.arrayContains(name))
{
console.log("cancel");
var cancel = button.parentNode.parentNode.children[0];
cancel.click();
}
else
{
console.log("add");
inviter.userList.push(name);
button.click();

}
};

inviter.arrayContains = function(item)
{
return (inviter.userList.indexOf(item) > -1);
};

inviter.usersJson = {};

inviter.loadResult = function()
{

var retrievedObject = localStorage.getItem('inviterList');
var temp = JSON.stringify(retrievedObject);
inviter.userList = JSON.parse(temp);
};

inviter.saveResult = function()
{
inviter.usersJson = JSON.stringify(inviter.userList);
localStorage.setItem('inviterList', inviter.usersJson);
};


setInterval(function () { inviter.invite(); }, 5000);
Hi u script is complicated to understand it , use this script is optimised:


setInterval(function() { window.scrollTo(0, document.body.scrollHeight); }, 2000);


jQuery('.js-discover-person-card__action-btn').each(function(index, value) {
setTimeout(function() {
jQuery(value).trigger('click');
}, index * 1000);
});
 
linkedin changes their css frequently, and doesnt have jquery on pages anymore so everything has to be native JS.

i've been writing scripts like this for years, like I said when they change their code this becomes obsolete as the selectors are then wrong. PM me if you want my script.
 
also, when you visit their profiles, do people actually request to connect with you? I know this used to work on linkedin a few years back, but do people still see that you visited their profile and then ask for a connectiON?

Yes, but not a whole lot. I ran a script to auto view profiles - Of the profiles I viewed, (30M) about 1% of them viewed me back (300K) and about 2% (6k) of those people sent me a connection request over the next month... so like 0.0002. It's really not quicker than inviting others to connect ...and the auto viewing caused me to get a temporary restriction... so use at your own risk.
 
Back
Top