HNewhere is distributed as a single userscript that auto-updates from main.
Only the latest release is supported — there are no maintenance branches, and a
fix ships as a new version that existing installs pick up automatically.
| Version | Supported |
|---|---|
| 1.5.4 | Yes |
| < 1.5.4 | No |
Your installed version is shown at the bottom of the settings panel.
Please report privately rather than opening a public issue, using GitHub's private vulnerability reporting on this repository.
Include what you need to reproduce it: the page or page type, your browser and userscript manager, and the behavior you observed. A proof of concept helps but is not required to report something.
This is a small project maintained by one person. Expect an acknowledgement within about a week. If a fix is warranted it will ship as a version bump, and you will be credited in the changelog unless you would rather not be.
Worth stating plainly, because the permissions are broad by necessity:
- It runs on every
httpandhttpspage you visit, injected by your userscript manager. - It can make cross-origin requests, via
GM.xmlHttpRequest, restricted by the@connectheader to three hosts:hn.algolia.com,hacker-news.firebaseio.com, andnews.ycombinator.com. - It stores data locally through
GM.getValue/GM.setValue— settings, per-site sidebar widths, collapsed threads, seen-comment timestamps, and remembered votes. Nothing is sent anywhere except the three hosts above. - There is no backend, no analytics, and no telemetry. No one but you and Hacker News sees which pages you look up.
- Sensitive sites are excluded both in the userscript header and at runtime.
isHiddenSite()blocks private and single-label hostnames, plus a list covering webmail, banking, auth flows, cloud consoles, and PDFs. A blocked page performs no lookup, renders nothing, and writes no stored state. - Credentials never leave Hacker News. Voting, submitting, and commenting are
performed in a popup window on
news.ycombinator.comusing your existing session there. The script never handles your HN password, and never posts your session cookie anywhere. - Comment HTML from Hacker News is sanitized before being inserted, through an allowlist of tags and attributes.
- The UI renders inside shadow roots, so page styles and page scripts do not reach into it by accident, and its styles do not leak onto the page.
@noframeskeeps it out of iframes.
- Vulnerabilities in your userscript manager, browser, or Hacker News itself — please report those to their maintainers.
- The script's ability to read pages you visit. That is inherent to what a
userscript is, and is disclosed above rather than treated as a flaw. If you
would rather it not run somewhere, hide it on that site from the header button,
or narrow the
@includerules in your manager.