With a few simple lines of javascript, you can capture the source and take preventive measures. Today, I encountered a very interesting problem. Because the company has cooperated with some vendors to close the issue, the websites of both parties will also exchange links. When the contract ends today, however, when the other party never links the link, this may sometimes lead to unnecessary misunderstandings, so that the average user thinks that there is still cooperation between the two parties, although this can make some traffic, it also causes some misunderstanding. Therefore, the first part of the article hopes to determine whether it can be used to reject it when it comes from the station, this led Mei Gan to move back to three steps. Originally, he thought that he had to set the settings from the host. After finding some files online, he discovered that only a few simple lines of javascript would be used, you can capture the source and take preventive measures.
:
The Code is as follows: