• Welcome to affLIFT!
    We are happy you have decided to check out our awesome affiliate marketing forum. Register your account today to join our amazing community!
  • AdsEmpire is a fast-growing network that provides plenty of profitable opportunities at almost all verticals. Direct and worldwide smartlink offers!
    Join AdsEmpire Today

Can you anyone help me understand how this bot trap script works?


Super Contributor
Nov 8, 2019
Hey guys,

So I was browsing though some landing pages I downloaded earlier, and found this bot trap script on one of them. I don't know how this works, and how I could potentially use it with my landing pages. Can anyone help me here? Thank you!

"use strict";var botTrapUrl="https://domain/humanVisit/trap?visitId=",prodUrl="wss://domain.cc/open/visit/ws?visitId=",devUrl="ws://localhost:8080/open/visit/ws?visitId=";function uuid(){for(var e=[],o="0123456789abcdef",t=0;t<36;t++)e[t]=o.substr(Math.floor(16*Math.random()),1);return e[14]="4",e[19]=o.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-",e.join("")}function humanVisit(t,e,i,n,a,r){t.onopen=function(e){var o;r||(o={type:"visit",campaignId:i,placementId:a,trafficId:n},t.send(JSON.stringify(o)),grecaptcha.ready(function(){grecaptcha.execute("6Le51MkZAAAAANaUO8VnvcxJ1Y5gE2reiFTRhNWU",{action:"homepage"}).then(function(e){var o={type:"google",token:e};t.send(JSON.stringify(o))})}))},t.onmessage=function(e){console.log("Received
To view the premium content in our affiliate marketing forum (including this awesome thread), you must first register and upgrade your account. Register today and become a part of our amazing community!