This is a userscript that you can use with Tampermonkey, or paste it to JS console.<p>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.<p>And it worked flawlessly — great job, OpenAI! I'm impressed. What a time to be alive!<p>The prompt: <a href="https://chatgpt.com/share/66eb36c5-a55c-8005-9ee1-d42770297d9b" rel="nofollow">https://chatgpt.com/share/66eb36c5-a55c-8005-9ee1-d42770297d...</a><p>The script fetches new comments every 10 seconds and inserts them to a proper place in the DOM, highlighting them with a nice color.<p>With this script, HN feels like a realtime chat in busy fresh posts! No more need to refresh the page.<p>Enjoy, fellow HN readers!