Browser to remove site ads, registration tips and other content (just the current page)

Source: Internet
Author: User

Believe that any front-end developers to browse the Web site know how to get rid of annoying ads (if you need to stay on the page for a long time), but not most of the front-end developers do not understand, so the article is for small white write, nature can not recommend to the homepage;

Write the background of the article:

When we visit our website, we often encounter ads, registration tips, etc. (as shown):

So how do you make the content of these obscured pages disappear? Below, the article slowly comes to:

1. Use F12 to open the browser's debugging tool;

The best browser is the WebKit kernel, such as chrome (or dual-core domestic browser, it is not IE on line), domestic browser if the interface with the following the same, right-click Switch to "Speed mode";

2. Find the HTML code to remove the display;

After the mouse pauses the contents of the block, right-click and select "Review element";

3. Find the HTML code for the block content;

After the previous step in the Debug window and the mouse hovers over it (the HTML code), the corresponding block of the page will have color changes:

4. Locate the inline style of the HTML code;

is the "Element.style {}" in the upper-right corner of the debug window:

5. Modify the inline style;

click "{}" block content to edit, it can be modified OH:

The above steps are done!

Back to the Web page will find it is missing, but, after the refresh will appear, so only for you to stay in the page for a long time to use ...

Browser to remove site ads, registration tips and other content (just the current page)

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.