MediaWiki:Gadget-HideAds.js: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
no edit summary
(except I forgot a line)
No edit summary
 
Line 116: Line 116:


     blockKontera: function(elt) {
     blockKontera: function(elt) {
    var target = elt;
      var target = elt;
    var childNode = disableTextAds.findKonteraText(elt);
      if (elt.nodeName.toLowerCase() == 'a' && elt.getAttribute('class') == 'kLink') {
        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

Navigation menu