MediaWiki:Gadget-HideAds.js: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(this should be a smarter way of doing it)
(except I forgot a line)
Line 116: Line 116:


     blockKontera: function(elt) {
     blockKontera: function(elt) {
      childNode = disableTextAds.findKonteraText(elt);
    var target = elt;
    var childNode = disableTextAds.findKonteraText(elt);


       // Grab the inner text and replace the inserted tag with it
       // Grab the inner text and replace the inserted tag with it