Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It looks like the script is there to block phantomjs based bots (which can evaluate JS). It seems to check for the global properties mentioned in this article:

https://blog.shapesecurity.com/2015/01/22/detecting-phantomj...

If the properties are defined, it doesn't do anything, otherwise it reloads the page.

It is obfuscated but that seems to be what's going on anyway.



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: