Skip to content

Comment on A Chrome Extension to Make Brain Pickings Truly Ad-Free

Comments

``` (function drain() { var links = document.getElementsByTagName('a');

  for (var i = 0; i < links.length; i++) {
    var link = links[i];
    var href = document.getElementsByTagName('a')[i].getAttribute('href');

    if (href) {
      href = href.replace('tag=braipick-20', '')
    }

    link.setAttribute('href', href);
  };
})(); ```
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.