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
/* | |
* Unfollow All for Twitter | |
* | |
* Go to https://twitter.com/<YourUserName>/following and run the | |
* below code in the console to gradually unfollow all accounts | |
* you are following, this should play nice with any rate limiting. | |
* Built on current Firefox (2021-08-26) though may work for others. | |
* | |
* Author: https://twitter.com/OatyCreates | |
* Copyright 2021-Present @oatycreates |
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
let followbutton = document.querySelectorAll('.PolarisIGButton')[1] || document.querySelectorAll('._acan')[0] | |
let unfollowbutton = document.querySelectorAll('.PolarisIGButton')[1] || document.querySelectorAll('._acan')[0] | |
let timeBetweenClick = 2000; | |
let timeBetweenFollowUnfollow = 30000; | |
let iterateCount = 9; | |
let timeBetweenSessions = 3600000; | |
let followedUnfollowedCount = 0; | |
let maximumInstagramAllowedFollowCount = 145; |
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
function getCookie(a) { | |
const b = `; ${document.cookie}`, | |
c = b.split(`; ${a}=`); | |
if (2 === c.length) return c.pop().split(";").shift(); | |
} | |
function sleep(a) { | |
return new Promise((b) => { | |
setTimeout(b, a); | |
}); | |
} |
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
const FOLLOWING_BUTTON_TEXT = 'Following' // CHANGE "FOLLOWING" TO LOCALIZED LANGUAGE AS DISPLAYED ON INSTAGRAM | |
const UNFOLLOW_BUTTON_TEXT = 'Unfollow' // CHANGE "UNFOLLOW" TO LOCALIZED LANGUAGE AS DISPLAYED ON INSTAGRAM | |
const MAX_ATTEMPTS_PER_UNFOLLOW = 3 // MAXIMUM # OF ATTEMPTS | |
const unfollowSomebody = () => { | |
const followingButton = document | |
.evaluate(`//button[text()="${FOLLOWING_BUTTON_TEXT}"]`, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null) | |
.singleNodeValue | |
if (followingButton) { | |
console.log('Found following button. Clicking ...') |
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
/** | |
* This MCC level script removes Display placements with Super High CTR AND no view through conversions AND no conversions | |
* (you can edit these values on the top level variables). | |
* If one of the placements detected is anonymous.google, the script doesn't exclude it | |
* The script saves all detected placements in a spreadsheet | |
* If the script execution is interrupted, it saves the last account executed and will start from that account at the next execution | |
* | |
* @author Alberto Esteves | |
* URL: http://www.albertoestevescorreia.com/adwords-script-eliminar-ubicaciones-display-spam/ | |
* |
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
// Run GOOGLE CHROME - WORKING AS OF DEC 26 2023 | |
// Please @ me in the comments if this stops working, I will try to get it working again within the month | |
// INSTRUCTIONS | |
// 1. Open Instagram in Chrome | |
// 2. Click on "FOLLOWING" on your Instagram profile | |
// 3. Open developer tools by right clicking on the page and clicking "INSPECT" | |
// 4. Copy the code below and paste in the developer tools console and press enter to run | |
// 5. Script will not run if tab is navigated away from, minimized of unfocused (It is recommended to open a new chrome window or push tab to the side and let script run in background) |
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
// This simple script can be used in conjunction with Optmyzr's | |
// budget management scripts. | |
// uncomment either line 14 or 15 depending on whether you want to ADD or REMOVE the label | |
function main() { | |
var campaignIterator = AdsApp.campaigns().get(); | |
Logger.log('Total campaigns found : ' + | |
campaignIterator.totalNumEntities()); | |
while (campaignIterator.hasNext()) { |
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
import io | |
import picamera | |
import cv2 | |
import numpy | |
import requests | |
import base64 | |
def hitGA(faces): | |
print("Sending to GA") | |
requests.get("http://www.google-analytics.com/collect?v=1" \ |
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
// Create a report in a Google spreadsheet with performance data by keyword match type and search term match type in Google Ads | |
// Free AdWords Script courtesy of Optmyzr.com | |
// October 22, 2018 | |
var DEBUG = 0; | |
function main(){ | |
var currentSetting = new Object(); |
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
// Limit Monthly Cost By Postal Codes in a Campaign | |
// | |
// Copyright 2017 - Optmyzr Inc - All Rights Reserved | |
// Visit www.optmyzr.com for more AdWords Scripts and PPC Management Tools and Reports | |
// | |
// | |
// Purpose of the script: | |
// --------------------- | |
// To allow you to set a broad location target to capture more traffic in a regionwhile at the same time | |
// letting you limit the monthly cost for locations within the target region. |
NewerOlder