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);Fingerprint does not work with a proxy
-
When I check http://f.vision/ with fingerprint off, it works. When a proxy is used and I want to check, I have something like this
nt-family: courier, monospace;
color: black;
font-size: 10pt;
}
#dirlisting {
margin-left: 2%;
margin-right: 2%;
}
#dirlisting tr.entry td.icon, td.filename, td.size, td.date {
border-bottom: groove;
}
#dirlisting td.size {
width: 50px;
text-align: right;
padding-right: 5px;
}/ * horizontal lines * /
hr {
margin: 0;
}/ * page displayed footer area * /
#footer {
font-size: 9px;
padding-left: 10px;
}body
: lang (fa) {direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; }
: lang (he) {direction: rtl; }
-> </style>
</head> <body id = ERR_ACCESS_DENIED>
<div id = "titles">
<h1> ERROR </h1>
<h2> The requested URL could not be retrieved </h2>
</div>
<hr><div id = "content">
<p> The following error was encountered while trying to retrieve the URL: <a href="f.vision:80"> f.vision:80 </a> </p><blockquote id = "error">
<p> <b> Access Denied. </b> </p>
</blockquote><p> Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect. </p>
<p> Your cache administrator is <a href = "mailto: webmaster? subject = CacheErrorInfo% 20-% 20ERR_ACCESS_DENIED & amp; body = CacheHost% 3A% 20localhost% 0D% 0AErrPage% 3A% 20ERR_ACCESS_DENIED% 0D% 0AEr% 0D% 0AEr % 5D% 0D% 0ATimeStamp% 3A% 20Fri,% 2027% 20May% 202022% 2015% 3A02% 3A19% 20GMT% 0D% 0A% 0D% 0AClientIP% 3A% 2045.77.199.146% 0D% 0A% 0D% 0AHTTP% 20Request% 3A% 0D% 0ACONNECT% 20% 20HTTP% 2F1.1% 0AUser-Agent% 3A% 20Mozilla% 2F5.0% 20 (Windows% 20NT% 206.1% 3B% 20WOW64)% 20AppleWebKit% 2F537.36% 20 (KHTML,% 20like% 20Gecko)% 20Chrome% 2F43.0.2357.130% 20Safari% 2F537.36% 0D% 0AProxy-Connection% 3A% 20Keep-Alive% 0D% 0AHost% 3A% 20f.vision% 3A80% 0D% 0A% 0D% 0A % 0D% 0A "> webmaster </a>. </p>
<br>
</div><hr>
<div id = "footer">
<p> Generated Fri, 27 May 2022 15:02:19 GMT by localhost (squid) </p>
<! - ERR_ACCESS_DENIED ->
</div>
</body> </html>Can someone explain to me what I am doing wrong please?
-
@sly said in Fingerprint does not work with a proxy:
Can someone explain to me what I am doing wrong please?
The problem is with your proxy
-
-
-
problem with proxy
Moved Support -
Proxy config
Moved Support -