Last update: 2018-07-20
I love the technology of technical rookie, in short, there is interest in writing code. Straight into the chase.
Description
1. Individual studies and experiments have learned that most websites or blogs that count visits should at least be limited to IP and may contain the following:
A. For a period of time, such as 25 seconds, the limit of the same IP can only access 1 times (increase only one visit)
B. The maximum number of times the same IP is accessed, and if more than 1 minutes, pull the IP into the blacklist
C. To be Continued ...
Paste code First, and then the time to perfect, currently only to limit the number of times the same IP access to the situation. In the code, for example, someone's blog in a domestic website, it is more effective to increase the traffic by accessing its sub-pages.
Welcome you to discuss the message.
The code is as follows:
<! DOCTYPE html>
"Original" improves blog traffic with pure JavaScript