I tried applying this using ChatGPT, but it didn't work for me. Can you tell me where to put this code to make my code work?
// Функция для эмуляции нажатия мыши внутри элемента <canvas data-sentry-element="Stage"> function simulateMouseClickInCanvas() { const canvas = document.querySelector('canvas[data-sentry-element="Stage"]'); if (!canvas) { console.error("Элемент <canvas> не найден."); return; } const rect = canvas.getBoundingClientRect(); // Выбираем случайные координаты внутри элемента <canvas> const randomX = Math.random() * rect.width + rect.left; const randomY = Math.random() * rect.height + rect.top; // Создаём события мыши const mouseDownEvent = new MouseEvent("mousedown", { bubbles: true, cancelable: true, clientX: randomX, clientY: randomY, }); const mouseUpEvent = new MouseEvent("mouseup", { bubbles: true, cancelable: true, clientX: randomX, clientY: randomY, }); const clickEvent = new MouseEvent("click", { bubbles: true, cancelable: true, clientX: randomX, clientY: randomY, }); // Эмулируем события canvas.dispatchEvent(mouseDownEvent); canvas.dispatchEvent(mouseUpEvent); canvas.dispatchEvent(clickEvent); } // Функция для выполнения кликов с рандомной задержкой function performRandomClicksInCanvas(maxClicks) { let clicksCount = 0; function clickWithRandomDelay() { if (clicksCount >= maxClicks) { console.log("Все клики выполнены"); return; } const delay = Math.random() * (2000 - 100) + 100; // Рандомная задержка от 0.1 до 2 секунд setTimeout(() => { simulateMouseClickInCanvas(); clicksCount++; console.log(`Клик ${clicksCount} выполнен (задержка: ${Math.round(delay)} мс)`); clickWithRandomDelay(); // Рекурсивный вызов для следующего клика }, delay); } clickWithRandomDelay(); } // Запуск выполнения 10 кликов performRandomClicksInCanvas(10);question about to work on gleam.io with BAS
-
hi, i have to work on gleam.io, athrought i use proxy pakage (buy from webshare.io) + fingerprint switcher on bas but this site detect and block my login action. Pls help me, tele: @loclan6879

-
Try to change Proxy, they detect youre proxy.(I assume that your proxy is datacenter or residential)
You can also try it Proxyless. Something else what could improve the quality of your script would be a Fingerprint with PerfectCanvas. In general Paid doesnt mean that its good. From my experience webshare is semi detected. -
@NotWegant can u introduce me some web have good proxy package???
and another question, what can i do with cannvas? After use fingerprint + proxy, i go to browserleaks check my info, that trust about 96-99%. but i cant join gleam.io if i use proxy :(((

-
@loclan6879 @drq11
-
Gleam.io is giveaway website and I usually Join with 3-4 Devices and 3-4 different Internet Service but Recently i came to Know about Anti-Detect Browser and Proxy for Same and i Tried too But Never Won I was wondering What is the Problem Later I created one Giveaway Myself and Found Out All My Entries were Detected as Fraud as entry and They Probably Detected IP Address/Proxy Address Any Way to Bypass This anyone with Knowledge of Browser and Proxy Can Help Please.
-
Try fingerprint with perfect canvas and mobile proxies. Should work.
-
@morpheus93 I also made good profits using this method. Mobile proxy and clean fingers should be used.