/HNX

swyx's hacker news chrome extension

Primary LanguageJavaScriptMIT LicenseMIT

Hacker News Extended

This is an extension for Google Chrome that:

  • displays the latest links from Y Combinator's Hacker News
  • Offers a link for submitting the url of the current tab.
  • shows previous results when submitting in case someone recently submitted

https://pbs.twimg.com/media/FWO1kRkXoAMsBwE?format=jpg&name=4096x4096

Usage instructions

This extension has not yet been published. To use this you'll have to:

  • clone this repo
  • open chrome://extensions/ and enable Developer mode
  • "Load unpacked" and open the folder that contains this repo

Now you should have the orange "Y" square in your chrome extensions list (I use it often enough that I "pin" it to the top.)

  • click it to see the HN front page, and search
  • whatever page you are on, you can use this extension to submit that current page

See also

My other fave extension: https://github.com/sw-yx/Twitter-Links-beta

Acknowledgements

The starter code for this extension came from https://chrome.google.com/webstore/detail/hacker-news/geancnifhbkbjijfkcjjdnfemppmcjmk

Migrated to v3 with https://blog.shahednasser.com/chrome-extension-tutorial-migrating-to-manifest-v3-from-v2/#from-background-scripts-to-service-workers

other helpful: