@castleio/castle-js
Advanced tools
Comparing version 2.4.3 to 2.5.0
@@ -26,6 +26,7 @@ interface StorageOptions { | ||
throttling?: boolean; | ||
eFn?: (e: any) => void; | ||
wUrl?: string; | ||
dCss?: boolean; | ||
eCss?: boolean; | ||
eFn?: (e: any) => void; // debugging error logger | ||
wUrl?: string; // collector worker url | ||
dwUrl?: string; // debugg/er worker url | ||
dCss?: boolean; // disable inline css | ||
eCss?: boolean; // set external csses | ||
} | ||
@@ -32,0 +33,0 @@ |
@@ -1,4 +0,5 @@ | ||
(function(){Math;var p=function(r){var n=a;function a(r,n){var t=s();return(a=function(r,n){return t[r-=429]})(r,n)}for(var t=330448,e=a,f=s();[],!0;)try{if(parseInt(e(431))/1*(parseInt(e(433))/2)+-parseInt(e(441))/3+-parseInt(e(439))/4*(-parseInt(e(430))/5)+parseInt(e(442))/6*(parseInt(e(432))/7)+parseInt(e(434))/8+parseInt(e(435))/9+parseInt(e(429))/10*(-parseInt(e(444))/11)==t)break;f["push"](f["shift"]())}catch(r){f["push"](f["shift"]())}function s(){var r=["78LFTFPb","join","6173849WbjWNI","10iGiTgu", | ||
"10xbgVSI","5827eSXxys","602fNLhNo","22cDjmnH","4757280qpSfyX","4147029fYUPdn","charCodeAt","push","length","533284vYiZtB","split","1486773WCoyhE"];return(s=function(){return r})()}var i,p={},c=r[n(440)](""),u=c[0],o=[u],v=256,h=c[0],I=256;for(r=1;r<c[n(438)];r++)i=(i=c[r][n(436)](0))<v?c[r]:p[i]||h+u,o[n(437)](i),u=i["charAt"](0),p[I]=h+u,I++,h=i;return o[n(443)]("")}("bazrffntr?cbfgZ\u0103\u0105\u0107?JROTY?HAZNFXRQ?hfreN\u0107ag\u0109yngsbez?qrivpr\u010ez\u012fl?uneqj\u013frP\u0100pheerap\u013c\u012bath\u0106\u0108an\u0135t\u012c\u012f\u0132roht_\u014aa\u0133\u014ae_va\u012e?IRAQBE?E\u016cQR\u0172\u0170\u0107gRkg\u014bfv\u0100?\u0178C\u013fn\u0102\u017ce\u0181rg\u0145\u0128r\u017b?Bssfp\u014a\u014bPnainf").split("?"); | ||
function N(r){for(var n,t,a,e=p[r],f="",s=13%26,i=0;i<e.length;i++)f+=(t=s,65<=(a=(n=e.charAt(i)).charCodeAt())&&a<=90?String.fromCharCode((a-65+t)%26+65):97<=a&&a<=122?String.fromCharCode((a-97+t)%26+97):32===a?String.fromCharCode(a+1):33===a?String.fromCharCode(a-1):n);return f}var r=N(0),R=N(1);self[r]=function(r){var n=N(2),t=N(3),a=N(4),e=N(5),f=N(6),s=N(7),i=N(8),p=N(9);try{var c=self[p],u={ua:c[a],p:c[e],dm:c[f],hc:c[s],l:c[i],ls:c[i+"s"]},o=N(10),v=N(11),h=N(12),I=256,g=N(13),l=N(14),b=N(15), | ||
y=N(16);try{var S,_=(new self[y](I,I))[b](n.toLowerCase());_&&(S=_[g](n+"_"+o))&&(u.v=_[l](S[t+"_"+v+"_"+n]),u.r=_[l](S[t+"_"+h+"_"+n]))}catch(r){}self[R](u)}catch(r){self[R]({e:r})}}})(); | ||
(function(){Math;var l=function(r){var n=e;function e(r,n){var t=f();return(e=function(r,n){return t[r-=429]})(r,n)}for(var t=330448,a=e,s=f();[],!0;)try{if(parseInt(a(431))/1*(parseInt(a(433))/2)+-parseInt(a(441))/3+-parseInt(a(439))/4*(-parseInt(a(430))/5)+parseInt(a(442))/6*(parseInt(a(432))/7)+parseInt(a(434))/8+parseInt(a(435))/9+parseInt(a(429))/10*(-parseInt(a(444))/11)==t)break;s["push"](s["shift"]())}catch(I){s["push"](s["shift"]())}function f(){var r=["78LFTFPb","join","6173849WbjWNI","10iGiTgu", | ||
"10xbgVSI","5827eSXxys","602fNLhNo","22cDjmnH","4757280qpSfyX","4147029fYUPdn","charCodeAt","push","length","533284vYiZtB","split","1486773WCoyhE"];return(f=function(){return r})()}var c,l={},u=r[n(440)](""),i=u[0],o=[i],p=256,v=u[0],h=256;for(r=1;r<u[n(438)];r++)c=(c=u[r][n(436)](0))<p?u[r]:l[c]||v+i,o[n(437)](c),i=c["charAt"](0),l[h]=v+i,h++,v=c;return o[n(443)]("")}("trgUvtuRagebclInyhrf?qrivprZrzbel?cyngs\u011ez?hfreN\u0100\u0108?\u0123athn\u0100?uneqj\u013arPbapheer\u0142\u0120\u013apuvgrpg\u0144r?o\u014da\u0112\u0113\u011d\u0115y\u0121\u0123\u0125\u0127I\u012cfv\u0141?jbj64\u0129nShyy\u0161e\u0163\u0165\u0141z\u0158\u0136\u0153cbfg\u011bff\u0179?JROTY?HAZNFXRQ\u0114roht_\u0146a\u0115\u0146e_va\u0126?IRAQBE?E\u01a3QR\u01a9\u01a7\u0100gRk\u014ea\u0174a?\u01afC\u013an\u0177\u014ee\u01b7\u0101\u0140\u0108r\u01b2?Bssfp\u0146\u0147Pnainf").split("?"); | ||
function z(r){for(var n,t,e,a=l[r],s="",f=13%26,c=0;c<a.length;c++)s+=(t=f,65<=(e=(n=a.charAt(c)).charCodeAt())&&e<=90?String.fromCharCode((e-65+t)%26+65):97<=e&&e<=122?String.fromCharCode((e-97+t)%26+97):32===e?String.fromCharCode(e+1):33===e?String.fromCharCode(e-1):n);return s}const A=z(0),n=void 0,B=r=>r||n,C=r=>r.navigator,E=(r,n)=>{return r+((t=n).charAt(0).toUpperCase()+t.slice(1));var t},F=z(1),Q=z(2),T=z(3),W=z(4),X=z(5),Y=z(6),Z=z(7),w=z(8),x=z(9),H=z(10),L=z(11);var r=z(12);const U=z(13); | ||
self[r]=async r=>{var n,t,e,a,s,f,c,l=z(14),u=z(15);try{var i={ua:(c=self,C(c)[T]),p:(f=self,C(f)[Q]),dm:(s=self,B(C(s)[F])),hc:(a=self,B(C(a)[X])),l:(t=self,(e=C(t))[W]||e[E("user",W)]||e[E("browser",W)]||e[E("system",W)]),ls:(n=self,C(n)[W+"s"]||[]),keep:!0},o=z(16),p=z(17),v=z(18),h=256,I=z(19),y=z(20),g=z(21),b=z(22);try{var S,_=(new self[b](h,h))[g](l.toLowerCase());_&&(S=_[I](l+"_"+o))&&(i.v=_[y](S[u+"_"+p+"_"+l]),i.r=_[y](S[u+"_"+v+"_"+l]))}catch(P){}self[U](i);try{var j=self,R=C(j).userAgentData, | ||
d=[Y,Z,w,x,H,L],N=r=>{self[U]({he:r})};try{R?A in R?R[A](d).then(r=>N(r),()=>N(null)):N(null):(N(null),void 0)}catch(k){N(null)}}catch(m){}}catch(q){self[U]({e:q})}}})(); |
{ | ||
"name": "@castleio/castle-js", | ||
"version": "2.4.3", | ||
"version": "2.5.0", | ||
"description": "Castle Fingerprinting Script", | ||
@@ -5,0 +5,0 @@ "main": "dist/castle.js", |
@@ -271,2 +271,3 @@ # Castle Fingerprinting Script | ||
* 2.5.0 - enhanced bot detection capabilities, performance improvements, bug fixes | ||
* 2.4.3 - internal enhancements | ||
@@ -273,0 +274,0 @@ * 2.4.2 - force https for the monitor requests, bug fixes, utf enhancements |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
197739
8
829
326