Message from JavaScript discussions

September 2020

— Someone knows a good trick for this?

— 

Https://stackoverflow.com/questions/10034707/how-do-i-determine-if-a-http-request-came-from-a-browser-or-something-else-like

— Lol, you never know with people nowadays

— I always send my node requests with Puppeteer, so it's no browser but no one can detect it

— Actually true 😂

— As it says, there's no absolute way actually, no tricks

— Nope, the easiest way is to unblur your mind out of camouflaged content🤤 open source for life

— My website has a variable in global scope. How do I find out which javascript file has created this variable?

Message permanent page

— In dev tools you can search all files

— Ctrl+shift+f

— You can't search for browser defined globals though. But you can find out if it comes from the browser with fn.toString()

Message permanent page

— Thanks