Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Huh? Extension can override JavaScript on the page, too, you know:

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.


The plugin can absolutely mock the ad element(s) and make them seem to be visible.


only because sites generally don't do so; if necessary, extensions could get much more aggressive with website scripts, current user script limitations aside.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: