Comment

Comment by cornegidouille

Here's a quick greasemonkey script I just whipped up that you could start from:

  (function(){
      'use strict';
      var links = document.getElementsByClassName("titlelink");  
      for(var link of links){
          if(link.href.includes("twitter") ){
              var owner = link.closest(".athing");
              owner.nextSibling.remove();
              owner.remove();
          }
      }
  })();

You would need to adapt the "includes()" to match any URL you don't care for.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton