This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To run this bot need to open web instagram, make login and search you interesting hashtag. For example: "#dog", "#travel" ... etc. | |
* Open first card. After open card you need to put the code into console. To open console look the documentation: https://developers.google.com/web/tools/chrome-devtools/open | |
* Don't forgot to replace text for const likeButtonText and nextButtonText in action function before paste it in console. | |
*/ | |
function getNextButton(text) { | |
let aTags = document.getElementsByTagName("a"); | |
let searchText = text; | |
let nextButton; |