PhantomJS
PhantomJS headless browser web crawler
About this crawler
PhantomJS is a web crawler identified by the regular-expression pattern PhantomJS in the User-Agent request header. It is categorised as browser-automation. Use the regex above to detect, log, allow, or block PhantomJS traffic in your web server, CDN edge rules, or robots.txt.
Block-rate · top 25k sites
0.065%
Technical details
- Name
- PhantomJS
- Pattern
PhantomJS- Tags
- browser-automation
- Reference
- https://phantomjs.org/
- Added
- 2017/09/18
- Instances
- 1 known sample(s)
Sample User-Agent strings
Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.1.1 Safari/538.1 bl.uk_lddc_renderbot/2.0.0 (+ http://www.bl.uk/aboutus/legaldeposit/websites/websites/faqswebmaster/index.html)
Block this crawler
robots.txt — disallow PhantomJS:
User-agent: PhantomJS
Disallow: /
Apache .htaccess — return 403:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} PhantomJS [NC]
RewriteRule .* - [F,L]
Nginx — return 403 inside a server block:
if ($http_user_agent ~* "PhantomJS") {
return 403;
}
← back to all crawlers