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
// 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 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 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 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 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 |
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
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Access to this page has been denied.</title> <link href="https://fonts.googleapis.com/css?family=Open+Sans:300" rel="stylesheet"> <style> html, body { margin: 0; padding: 0; font-family: 'Open Sans', sans-serif; color: #000; } a { color: #c5c5c5; text-decoration: none; } .container { align-items: center; display: flex; flex: 1; justify-content: space-between; flex-direction: column; height: 100%; } .container > div { width: 100%; display: flex; justify-content: center; } .container > div > div { display: flex; width: 80%; } .customer-logo-wrapper { padding-top: 2rem; flex-grow: 0; background-color: #fff; visibility: visible; } .customer-logo { border-bottom: 1px solid #000; } .customer-logo > img { padding-bottom: 1rem; max-height: 50px; max-width: 100%; } .page-title-wrapper { flex-grow: 2; } .page-title { flex-direction: column-reverse; } .content-wrapper { flex-grow: 5; |
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
<?php | |
header("Critical-CH: Sec-CH-UA-Full-Version-List,Sec-CH-UA-Mobile,Sec-CH-UA-Platform,Sec-CH-UA-Platform-Version,Sec-CH-UA-Bitness,Sec-CH-UA-Model"); | |
// Extract each of the client hints from the request | |
$fullVersionList = $_SERVER['HTTP_SEC_CH_UA_FULL_VERSION_LIST'] ?? 'Not provided'; | |
$mobile = $_SERVER['HTTP_SEC_CH_UA_MOBILE'] ?? 'Not provided'; | |
$platform = $_SERVER['HTTP_SEC_CH_UA_PLATFORM'] ?? 'Not provided'; | |
$platformVersion = $_SERVER['HTTP_SEC_CH_UA_PLATFORM_VERSION'] ?? 'Not provided'; | |
$bitness = $_SERVER['HTTP_SEC_CH_UA_BITNESS'] ?? 'Not provided'; | |
$model = $_SERVER['HTTP_SEC_CH_UA_MODEL'] ?? 'Not provided'; |
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
class Popunder { | |
constructor(url) { | |
this.targetUrl = url || "http://google.com"; | |
this.cookieName = "popunder"; | |
this.clicksRequired = 1; | |
this.expirationHours = 24; | |
this.cookiePath = ";path=/"; | |
this.eventName = "click"; | |
this.documentRoot = document.documentElement; | |
this.init(); |
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
class ActivityTracker { | |
constructor(totalTime, checkTime, metrikaId, debug = false) { | |
this.events = [ | |
"touchmove", | |
"blur", | |
"focus", | |
"focusin", | |
"focusout", | |
"load", | |
"resize", |
NewerOlder