Crawler Detect
The plugin exposes a Crawler Detect's methods:
{{ craft.crawlerDetect.isCrawler ? 'I am a crawler.' : 'I am not crawler.' }}
{% if craft.crawlerDetect.isCrawler %} I am a crawler. {% endif %}
Also passing user agent as string:
{% if craft.crawlerDetect.isCrawler('Mozilla/5.0 (compatible; Sosospider/2.0; +http://help.soso.com/webspider.htm)') %} I am a crawler. {% endif %}
- Installation Instructions
To install this plugin, copy the command above to your terminal.
- Active Installs
- 71
- License
- MIT
- Last release
- August 25, 2022
- Activity (30 days)
- 0Closed Issues0Open Issues0Merged PRs0Open PRs