How do I block these stupid ads?

How will we block ads in the HTML5 world?

  • With Flash, it's easy to block ads with something like AdBlock, is it right to expect that it will be much harder to block ads when they are implemented in HTML5? Are vendors of AdBlock and similar extensions working on a solution already?

  • Answer:

    AdBlock works with selectors, for example if on a website, <div id="my-ads">...</div> is a block of ads, Adblocks use Javascript* to make your browser hide the block (e.g. document.getElementById("my-ads").style.display = "none"; ). It is not dependent of the content. So, Flash or no Flash, it will continue to work. (*) : or just CSS, e.g. #my-ads {display:none}

Baptiste Fontaine at Quora Visit the source

Was this solution helpful to you?

Other answers

But if you think on game ads we can't do so much about it. If we have ads on the main canvas we can't remove them without remove the whole game.

Willian Molinari

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.