by Myrth · 14y ago · 0 comments
function verifyAds() {
if (!adContentsVisible()) {
loadAdContents();
}
setTimeout(verifyAds, 1000);
}
verifyAds();window.adContentsVisible = function () { return true; }
(function() {
// local scope, can't override
})();
My point is that I agree with grandparent, that they just allow ads to be shown, and it's not technically impossible to reload ads, or prevent page contents view, if no ads visible.Render the page, identify the regions of the resulting bitmap which are ads, and blank them out. The browser can always just lie at the end, even after running all of the JavaScript and marking all of the DOM elements to visible.