Last active
June 20, 2023 14:00
-
-
Save hUwUtao/7917849b6f165af1d85b9139d9ef1e14 to your computer and use it in GitHub Desktop.
NERD-TECTOR 2000. Nanolibrary to check if your client is a developer or not. DO NOT TRACK INDIVIDUAL
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 characters
window["__NERD_TECTOR_2000__"] = (() => { | |
const check = (me, type) => typeof me === (type || "object"), | |
cfs = { | |
__REACT_DEVTOOLS_GLOBAL_HOOK__: "f/f/react", | |
__REDUX_DEVTOOLS_EXTENSION__: "f/f/react/redux", | |
__VUE_DEVTOOLS_GLOBAL_HOOK__: "f/f/vue", | |
__APOLLO_DEVTOOLS_GLOBAL_HOOK__: "b/d/apollo", | |
__HOPP_EXTENSION_STATUS_PROXY__: "u/hpscotch", | |
__qc: "u/wapp", | |
webpackChunkclarity_live_chrome_extension: "d/clarity", | |
}, | |
eo = {}, | |
k = Object.keys(cfs); | |
eo._in = | |
(eo._rat = | |
k | |
.map( | |
(k, i) => | |
(eo[cfs[k]] = check(window[k]) || check(window[k], "function")) | |
) | |
.reduce((p, t) => p + t, 0) / k.length) !== 0; | |
return eo; | |
})(); |
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 characters
window.__NERD_TECTOR_2000__=(()=>{const _=(_,O)=>typeof _===(O||"object"),O={__REACT_DEVTOOLS_GLOBAL_HOOK__:"f/f/react",__REDUX_DEVTOOLS_EXTENSION__:"f/f/react/redux",__VUE_DEVTOOLS_GLOBAL_HOOK__:"f/f/vue",__APOLLO_DEVTOOLS_GLOBAL_HOOK__:"b/d/apollo",__HOPP_EXTENSION_STATUS_PROXY__:"u/hpscotch",__qc:"u/wapp",webpackChunkclarity_live_chrome_extension:"d/clarity"},e={},c=Object.keys(O);return e._in=0!=(e._rat=c.map(((c,t)=>e[O[c]]=_(window[c])||_(window[c],"function"))).reduce(((_,O)=>_+O),0)/c.length),e})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment