I found a web page which adds an event listener to the ad <div>, and if it's removed / hidden / etc, it simply creates another one. If it's hidden with display: none;, then the entire page disappears.
So I thought I could remove it with a bit of JavaScript, and came up with this:
Code: Select all
var x;
while(x = document.getElementById('ad17')){
x.removeEventListener('DOMNodeRemoved');
x.parentNode.removeChild(x);
}
Is there any way to make AdBlock for Chrome to execute my custom JavaScript when it detects #ad17?
Thanks!