[go: up one dir, main page]

Skip to content

0xNevo/follow-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Github Bot For Following

Have you agreed to many people?

Here is simple easy to implement your idea.


✔ First, find famous github account and then click followers.

✔ Second, now, you can see his follwers, and if you didn't follow each person, button's label can be "Follow".


Otherwise, displaying "Unfollow". So your goal is to click the button of its label "Follow".

Now, plz, let's implement bot.

  • If you can see each person with "Follow" label, at that page, press "F12" key or click "Inspect" of short menu.
  • Well, and then, copy the following codes and past in the inspect bar.

Codes:

let arr = document.getElementsByName('commit');

for(let i=0; i<arr.length; i++){
  if(arr[i].value == "Follow"){
  	console.log(arr[i].value);
  	arr[i].click();
  }
}

First


Second


Third


Fourth


Last Step:

Press Enter key.

LinkedIn Bot For Following

let elements = document.getElementsByClassName("artdeco-button artdeco-button--2 artdeco-button--full artdeco-button--secondary ember-view full-width mt2");

for (let i = 0; i < elements.length; i++) {
  console.log( elements[i].querySelector('.artdeco-button__text').textContent.trim() )
  if( elements[i].querySelector('.artdeco-button__text').textContent.trim() === "Follow" ){
    elements[i].click()
    console.log( 'Here' );
  }
}

About

Is this helpful?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published