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);WebRTC is not working with BAS
-
I am still having this issue.
Now I am using socks5 proxies with UDP support.
www.ipbinding.online is only working with BAS 28.1.2
The 100% same script will not work with BAS 28.8.1
I think it is not a performance issue, because both versions are fast when using socks5 proxy (instead of Home-IP)Can anyone confirm?
-
I still think it is a critical bug in BAS.
ipbinding.online is working in BAS instandly without proxy.
Using a fast proxy with UDP support in BAS is not working.When ipbinding.online can detect "WebRTC ist blocked at network level" then everyone can.
It is a strong indicator that you are using a proxy.But it seems noone from BAS cares about it.
-
@FastSpace said in WebRTC is not working with BAS:
@Grassman проблема в твоих прокси, они говно.
7 бед один ответ xD
-
@usertrue said in WebRTC is not working with BAS:
@FastSpace said in WebRTC is not working with BAS:
@Grassman проблема в твоих прокси, они говно.
7 бед один ответ xD
На дворе 2025 год, куча всяких разных ИИ. Все тебе расскажут и помогут
Но нет, ведь же находиться люди ктоприходит на помойкув шоп с прокси и пытаетсяв этой помойке найти вкусный торт с вишенкойнайти хорошие прокси. Все ищет, ищет и не находит. Так не ходи на помойку господи. -
You think there are no UDP proxies available?
I do not think so.
iproyal.com has UDP support and you can test it for example here: https://abrahamjuliot.github.io/creepjs/
But UDP support does not automatically mean BAS can handle WebRTC with UDP.
ipbinding.online is still not working with BAS.
I have tried different UDP proxy seller.
It is arrogant to say the whole world is selling UDP proxies that are not working and BAS is the only thing working correctly.
If this is true then proof it.

