We are eager to use PHP or JS to block HTML code. please help me. how can this problem be solved?

Source: Internet
Author: User
Urgent: use PHP or JS to block HTML code. Please help your younger brother & lt; html & gt; & nbsp; & lt; bodyonload = & quot; window. open ('http: // www.40646.com ', 'example01', 'fullscreen '); & quot: use PHP or JS to block HTML code. please help me.

;
Free space advertisement




Personal homepage of xxx


Main content



For example, you can find two tags in the above code. Because free space is used, free space will automatically add an advertisement to my page. This advertisement is to load an HTML page on my HTML page. The first one is my page content. how can I block the first displayed content?

Use PHP or JS. Trouble

------ Solution --------------------
In the code order, the advertisement is run at the beginning. other codes are behind and cannot be blocked.
------ Solution --------------------
Discussion

Reference:
Reference:

Is there no technical solution?
Reference:
Do not use the space of others.
It will be a "suggestion" that you might have liked"


Before writing your website into your website on behalf of Alibaba Cloud, I first wrote a notice to the js website. I guess there is no idea.
However, isn't this method able to automatically intercept a large number of robots?


Tested I ......

------ Solution --------------------
Invincible. the window pops up when it is opened.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.