SNiPEOO7 SNiPEOO7 - 1 month ago 8
HTML Question

How to block ads with HTML/JS?

I have a site ( and recently, I started getting ads in the footer. I looked in the footer and there is no code for the ad. I'm thinking they put it in another file and specified it to a certain div ID. What code in HTML or JavaScript can I use to hide the ad so others don't see it?

Here is the ad image:
it is 468x60 (maybe you can give me a code to block images of that specific size from showing up).

Edit, solved: if anybody was using "" or "", here is the solution. You'll need to view source on your index page and do CTRL+F. Search for "mix", or "market" or similar. You will see something along the lines of "mix_block_{identifier}". To remove it, you'll need to navigate to ACP>Styles>Templates>{Theme}>Overall_header.html>


and before, enter:

#mix_block_1294937123 {
display: none;


The answer above is wrong. For solving the ad's youself the chunk of code doing it is:

    <table border="0" cellspacing="0" cellpadding="0">

<div id="mix_block_1294937123"><div id="mix_block_1294937123_1016" style="width:468px;height:60px;position: relative;"><a href=";zid=1294937123&amp;s=9019&amp;tt=08310735" target="blank"><img src="" width="468" height="60" border="0" alt=""></a></div><script type="text/javascript" src=";id=1294937123&amp;tt=1472614515"></script><img src=";r=http%3A//;t=1472614515" width="1" height="1"></div>
<script type="text/javascript">
document.write('<scr' + 'ipt language="javascript" type="text/javascript" src="' + escape(document.referrer) + '&rnd=' + Math.round(Math.random() * 100000) + '" charset="windows-1251"><' + '/scr' + 'ipt>');
</script><script language="javascript" type="text/javascript" src=";r=http%3A//;rnd=39740" charset="windows-1251"></script>

So if you have access to the css pick a div and do

Display: none;