Remove pages of ads, you deserve to have ~

Source: Internet
Author: User

Recent search data by a variety of dynamic advertising is really annoying, helpless feeling, these ads are really not moral integrity

Small lifting of a few chestnuts:

The most people can not endure is the last one, so you have no way to meditate on things good.

Well, the exciting time has come, I've written a browser bookmark, a key to hide these messy things:

javascript: (function() {    varA = Document.queryselectorall (' iframe '); varIMGs = document.getElementsByTagName (' img ');  for(vari = a.length; i--> 0;) {        if(A[i].src.indexof (' http://pos.baidu.com ')!==-1) a[i].style.visibility = ' hidden '; }     for(i = imgs.length; i--> 0;) {        if(Imgs[i].src.indexof (' http://files.jb51.net/image ')!==-1) {imgs[i].style.visibility= ' hidden '; }} document.getElementById (' Cproiframe2002closebtnwrap '). Click (); document.getElementById (' Cproiframe2001closebtnwrap '). Click ();}) ();

The specific approach is:

In the browser, press Ctrl+d to add a bookmark, and then modify the URL portion of the bookmark for the above code, change the bookmark name, click the OK button, OK.

(to illustrate, here just remove the ads I often encounter, the practice is more targeted, you can try to change the code to better meet their own needs Oh ~
&& interest-Related: Hidden ads do not affect the loading and rendering of ads, just let it from the field of view, not the point of people will never click, so will not affect the promotion. )

Remove pages of ads, you deserve to have ~

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.