Currently, a rogue behavior is very popular in China: Using Frame to embed your webpage into its webpage, how can we prevent embedding the Framework Code, the following small series will help you sort out the relevant materials, and how to block other websites from embedding the Framework Code. If you need friends to learn whether your webpage has been used by others, at present, there are some aggregated websites. After adding their own advertisements and logos on the top or bottom, they start to crawl the content of their websites and claim to provide excellent information. Some websites are also added to the Frame) this causes traffic to be flushed.
Although being used by others in this way can also increase their own traffic, uninformed readers will regard it as the content of their website, leading to the loss of users.
The following describes how to prevent other websites from embedding framework code in several ways.
Method 1: