mirror of https://github.com/IoTcat/fp.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
IoTcat
b5c3913ecd
|
5 years ago | |
---|---|---|
src | 5 years ago | |
.gitignore | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
demo.html | 5 years ago | |
fp.js | 5 years ago | |
fp.min.js | 5 years ago | |
fp.min.js.map | 5 years ago | |
index.html | 5 years ago |
README.md
fp
wow~ ⊙o⊙ Such a smart fingerprint generator that I don't even need a cookie anymore~
What is fp?
fp is a smart js which can generate an unique 'fingerprint' for each visitor basing on visitor's device and your domain.
With the help of fp you can easily identify who is visiting your website.
Basing on fp, it becomes possible to release your whole site from cookie which is considered unsafe for user's privacy.
Quick start
Click here to see how it works!
How to use fp?
To use fp, you must include the fp.js first.
The generated fingerprint is stored in global variabel fp.
A simple example:
<script type="text/javascript" src="https://cdn.yimian.ac.cn/fp/fp.js"></script>
<script type="text/javascript">alert(fp);</script>