This is a userscript to hide the stories on the Hacker News homepage.
This is distributed as a userscript, so you need a browser extension that runs userscripts.
Violentmonkey can be installed in Firefox and Chromium-based browsers. Userscripts works in Safari.
Then, visit hide_hacker_news_stories.user.js and Confirm installation.
(Alternatively, create a new script and paste in the entire hide_hacker_news_stories.user.js
source.)