PHPackages                             mallka/anti-crawl - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. mallka/anti-crawl

ActiveYii2-extension

mallka/anti-crawl
=================

常规反爬虫安装

v0.1.1(5y ago)410MITJavaScript

Since May 27Pushed 5y ago2 watchersCompare

[ Source](https://github.com/mallka/anti-crawl)[ Packagist](https://packagist.org/packages/mallka/anti-crawl)[ RSS](/packages/mallka-anti-crawl/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Anti web crawl,
===============

[](#anti-web-crawl)

Feature
-------

[](#feature)

- reject dev tool
- run a javascript command if chome headless deteactd.
- get browser fingerprint and post to SOME URL

Install
-------

[](#install)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist mallka/anti-crawl "dev-master"

```

or add

```
"mallka/anti-crawl": "dev-master"

```

to the require section of your `composer.json` file.

How to use
----------

[](#how-to-use)

\###1. In view file:

```
