Skip to content

Instantly share code, notes, and snippets.

View aleksandrkuzminv's full-sized avatar
😊

Александр Кузьмин aleksandrkuzminv

😊
View GitHub Profile
@jadeallencook
jadeallencook / instalike.js
Last active July 6, 2024 20:17
instagram autolike script
let likes = 0;
setInterval(() => {
const heart = document.querySelector('svg[aria-label="Like"][width="24"]');
const arrow = document.querySelector('svg[aria-label="Next"]');
if (heart) {
heart.parentNode.parentElement.click()
likes++;
console.log(`You've liked ${likes} post(s)`);
}
arrow.parentElement.parentElement.click();
@max-frai
max-frai / find_and_remove.js
Created May 11, 2017 21:41
Find and remove inactive facebook friends & bots
var accountTag = 'own_remove_account_tag';
var css = " \
.own_popup { \
width: 50%; min-width: 676px; height: 80%; padding: 15px; \
background: white; border: 1px solid #eee; border-radius: 15px; \
z-index: 999999; position: fixed; margin: auto; \
top: 50px; left: 0; right: 0; \
-webkit-box-shadow: 0px 3px 38px 0px rgba(50, 50, 50, 0.32); \
-moz-box-shadow: 0px 3px 38px 0px rgba(50, 50, 50, 0.32); \
box-shadow: 0px 3px 38px 0px rgba(50, 50, 50, 0.32); \
@max-frai
max-frai / remove.js
Created May 6, 2017 21:01
Remove outgoing facebook friend requests
var interval = window.setInterval(function() {
var moreButton = document.querySelector('a[ajaxify*="outgoing/more"]');
if (moreButton)
{
moreButton.click();
console.log('loading more...');
}
else
{
//window.clearInterval(interval);