Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Chat Mode for Hacker News (Live Comments Updater) (gist.github.com)
6 points by xpl 83 days ago | hide | past | favorite
This is a userscript that you can use with Tampermonkey, or paste it to JS console.

I generated it with o1-preview, simply by pasting the HTML source of a HN page to the prompt and asking it to make a comment updating script.

And it worked flawlessly — great job, OpenAI! I'm impressed. What a time to be alive!

The prompt: https://chatgpt.com/share/66eb36c5-a55c-8005-9ee1-d42770297d...

The script fetches new comments every 10 seconds and inserts them to a proper place in the DOM, highlighting them with a nice color.

With this script, HN feels like a realtime chat in busy fresh posts! No more need to refresh the page.

Enjoy, fellow HN readers!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: