This file contains hidden or 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
| const FOLLOW_BUTTON_TEXT = 'Follow' | |
| const MAX_ATTEMPTS_PER_FOLLOW = 3 | |
| const followSomebody = () => { | |
| const followButton = document | |
| .evaluate(`//button[text()="${FOLLOW_BUTTON_TEXT}"]`, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null) | |
| .singleNodeValue | |
| if (followButton) { | |
| let attempts = 1 | |
| while (attempts < MAX_ATTEMPTS_PER_FOLLOW && !followButton) { | |
| console.log(`Attempted to find followButton but could not. Retry #${attempts++}`) |
This file contains hidden or 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
| CloudShell : | |
| =========== | |
| https://cloud.google.com/shell | |
| Osintgram : | |
| =========== | |
| git clone https://github.com/Datalux/Osintgram.git |
This file contains hidden or 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
| /* follow */ | |
| javascript:var inputs = document.getElementsByClassName('RCK Hsu USg adn CCY czT F10 xD4 fZz hUC a_A gpV hNT BG7 NTm KhY'); | |
| function executePin(){ | |
| for(var i=0; i<inputs.length;i++) { | |
| inputs[i].click(); | |
| } | |
| window.scrollBy(0,5000); | |
| } | |
| setInterval(executePin,4000) |
This file contains hidden or 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
| /** | |
| * | |
| * Heat Map Creation Tool - with Devices | |
| * | |
| * This script calculates the smoothed average performance of each hour of each day | |
| * of the week, and outputs this into a heat map and graph in a Google Sheet. This | |
| * can be done for all data and for device data. It also suggests ad schedules and | |
| * device bid adjustments based on conversion rates. | |
| * | |
| * Version: 2.0 |