この自動化スクリプトでLinkedIn接続を増やします🎨
LinkedInであなたのネットワークを成長させることは、時間がかかることです.それで、私は私のネットワークを増やすために私の提案されたネットワークに接続するプロセスを自動化しようとしました
へのリンク 右クリックしてコンソールタブに移動します.以下のスクリプトをコピーし、コンソールにペーストしてEnterキーを押します.しばらく待って魔法を見てください✨
スクリプトは、すべての提案に接続要求を送信します.受け入れられるまで待つ
レポ
用途
see all
ボタンをクリックしてasync function moreConnectionsPlease() {
// maximum limit of Connect buttons clicked
const LIMIT = 500;
// wait in ms before each scroll
const SCROLL_TIMEOUT = 600;
// bulk scroll will scroll this amount of times
const BULK_SCROLL_COUNT = 15;
// wait in ms before each click
const CLICK_DELAY = 300;
// if this amount of connections in the page, time to click
const MINIMUM_CONNECTS_TO_CLICK = 60;
// if this amount of connections in the page, time to scroll
const MINIMUM_CONNECTS_TO_SCROLL = 10;
var connects = 0;
var fails = 0;
// retrieves array "Connect" buttons
function selectButtonElements() {
return [...document.querySelectorAll("button span")].filter(a =>
a.textContent.includes("Connect")
);
}
// scrolls to the bottom of the page
async function singleScroll() {
return new Promise(resolve => {
setTimeout(() => {
window.scrollTo(0, document.body.scrollHeight);
console.log("scroll!");
resolve();
}, SCROLL_TIMEOUT);
});
}
// delays an html element click
async function singleClick(elem) {
return new Promise(resolve => {
setTimeout(() => {
elem.click();
resolve();
}, CLICK_DELAY);
});
}
// scroll to the bottom of the page several times
async function bulkScroll() {
for (let i = 0; i < BULK_SCROLL_COUNT; i++) {
await singleScroll();
}
}
// click on all but a few Connect buttons
async function bulkClick() {
let elements = selectButtonElements();
console.log("elements length:", elements.length);
for (let i = 0; i < elements.length - MINIMUM_CONNECTS_TO_SCROLL; i++) {
try {
await singleClick(elements[i]);
console.log("click!");
connects++;
} catch (err) {
fails++;
}
}
}
// the list of people to connect to must keep a minimum amount of people
function isManyConnects(amount) {
return selectButtonElements().length >= amount;
}
do {
if (isManyConnects(MINIMUM_CONNECTS_TO_CLICK)) {
console.log("There are plenty of connections, time to click...");
await bulkClick();
} else {
console.log("Out of connections, need to scroll...");
await bulkScroll();
}
console.log(`New Connections:${connects} Failed clicks:${fails}`);
} while (connects < LIMIT);
}
moreConnectionsPlease();
スクリプトは、すべての提案に接続要求を送信します.受け入れられるまで待つ
レポ
Give it a ⭐ if you found this useful
マニトープ66
/
スクリプトリファレンス
https://gist.github.com/bertolo1988/9d285c4ac2b2c10c6026d74a671da9f9
注:このポストは、JavaScriptのパワーを表示するには
Reference
この問題について(この自動化スクリプトでLinkedIn接続を増やします🎨), 我々は、より多くの情報をここで見つけました
https://dev.to/manitej/increase-linkedin-connections-with-this-automation-script-48jl
テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol
Give it a ⭐ if you found this useful
Reference
この問題について(この自動化スクリプトでLinkedIn接続を増やします🎨), 我々は、より多くの情報をここで見つけました https://dev.to/manitej/increase-linkedin-connections-with-this-automation-script-48jlテキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol