frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Chrome Store–featured extension that writes X replies via DOM observers

https://www.xinsight.me/
3•shashankshukla•1h ago
Hi HN,

A couple of months ago I posted an early version of this Chrome extension. Since then I’ve refined it, fixed a bunch of stability issues, and it was recently featured on the Chrome Web Store’s “Featured” section, which was a nice surprise.

What the extension does: – Detects the active tweet or thread directly in the browser – Collects relevant context (parent tweet, author info, thread shape) – Formats a prompt and sends it to the OpenAI API – Inserts the generated reply straight into Twitter’s native reply box

All of this happens inside the X.com DOM, without storing any user data.

Technical bits: – Uses MutationObserver to track X.com’s constantly changing DOM – Handles dynamically inserted tweet nodes, shadow DOM, and thread expansions – Debounces context extraction to avoid unnecessary re-runs – Simulates native input events to inject the reply so it feels built-in – Avoids backend state; everything is read client-side except the final API call

Challenges: – X.com changes UI structure often, so selectors break unpredictably – Preventing duplicate injections when the DOM re-renders – Keeping prompt size small enough for fast generation – Reducing overhead so the extension doesn’t slow down the page

Recent improvements: – More stable tweet/thread detection – Better context selection logic – Cleaner UI in the reply popup – Small performance fixes and race-condition fixes

Chrome Store page: https://chromewebstore.google.com/detail/xinsightai-ai-reply...

Would appreciate feedback from people who’ve built browser extensions or dealt with X.com’s DOM patterns. Happy to discuss any details.

Eastern Shipbuilding Suspends Work on Coast Guard's Offshore Patrol Cutters

https://gcaptain.com/eastern-shipbuilding-suspends-work-on-coast-guards-offshore-patrol-cutter-pr...
1•speckx•1m ago•0 comments

How Visa Actually Works

https://nandinfinitum.com/posts/visa/
1•nanfinitum•4m ago•0 comments

Florida nonprofit news reporters ask board to investigate their editor's AI use

https://www.niemanlab.org/2025/11/florida-nonprofit-news-reporters-ask-board-to-investigate-their...
1•danso•4m ago•0 comments

Show HN: Yonoma – Behavior based email automation for SaaS

2•vimall_10•6m ago•0 comments

Practice on Long Behavior Sequence Modeling in Tencent Advertising

https://arxiv.org/abs/2510.21714
1•PaulHoule•6m ago•0 comments

Systems design 3: LLMs and the semantic revolution

https://apenwarr.ca/log/20251120
1•goranmoomin•7m ago•0 comments

Show HN: Tangent – Open-source security data pipeline

https://github.com/telophasehq/tangent
2•ethanblackburn•8m ago•0 comments

The HTML Tags Everybody Hated (2017)

https://thehistoryoftheweb.com/blink-marquis-tag/
1•freedomben•8m ago•0 comments

1984 Swedish Hotline – World's First Social Network

https://medium.com/@RetroTechShow/1984-swedish-hotline-possibly-the-worlds-first-accessible-socia...
1•michalpleban•9m ago•0 comments

Against Apologising

https://cjlm.ca/posts/against-apologising/
1•speckx•9m ago•0 comments

More than half of UK novelists believe AI will replace their work

https://www.theguardian.com/books/2025/nov/20/more-than-half-of-uk-novelists-believe-ai-will-repl...
1•bookofjoe•9m ago•1 comments

Show HN: Code Mode for MCP in MCP-use's client

1•pzullo•11m ago•0 comments

Windows 1 was released 40 years ago

https://videocardz.com/newz/windows-1-was-released-40-years-ago
2•speckx•12m ago•0 comments

The Firefly and the Pulsar

https://www.centauri-dreams.org/2025/11/20/the-firefly-and-the-pulsar/
1•JPLeRouzic•12m ago•0 comments

MacKenzie Scott Gives $700M to Historically Black Colleges

https://www.nytimes.com/2025/11/17/us/hbcus-mackenzie-scott-donations.html
2•bookofjoe•12m ago•1 comments

Show HN: A step-by-step guide for push notifications on iOS, Android, + Rails

https://newsletter.masilotti.com/p/hotwire-native-deep-dive-push-notifications
1•joemasilotti•14m ago•0 comments

Jimdo use LangChain to power personalized business guidance at scale

https://blog.langchain.com/customers-jimdo/
2•yaaan•14m ago•0 comments

Pornhub Is Urging Tech Giants to Enact Device-Based Age Verification

https://www.wired.com/story/pornhub-is-urging-tech-giants-to-enact-device-based-age-verification/
2•basisword•16m ago•1 comments

US jobs saw surprising jump in September after slow summer

https://www.bbc.com/news/articles/cvg423n377lo
1•onemoresoop•16m ago•0 comments

GoDaddy launches ANS API and standards site for verifiable agent identity

https://aboutus.godaddy.net/newsroom/news-releases/press-release-details/2025/GoDaddy-advances-tr...
2•tmuhlestein•18m ago•1 comments

The lowercase aesthetic as cultural liberation

https://www.humaninvariant.com/blog/lowercase
1•radeeyate•18m ago•0 comments

UK Government Unveils England's First Ever Men's Health Strategy

https://www.gov.uk/government/news/government-unveils-englands-first-ever-mens-health-strategy
1•robtherobber•19m ago•0 comments

China's shadow Navy trains to take Taiwan

https://www.reuters.com/graphics/USA-CHINA/TAIWAN-INVASION/zjpqdekmlvx/
5•m-hodges•19m ago•0 comments

More Updates and Fixes for ReSharper and Rider 2025.3

https://blog.jetbrains.com/dotnet/2025/11/20/resharper-rider-2025-3-0-2/
1•quapster•22m ago•0 comments

The Smellscapes of Cities

https://nemos.hypotheses.org/3072
2•mrzool•23m ago•0 comments

Study: People Support Higher Taxes After Understanding Benefits of Public Goods

https://www.tus.ac.jp/en/mediarelations/archive/20251114_3328.html
5•rustoo•24m ago•0 comments

Ask HN: How did your startup get its first real users?

2•paulwilsonn•25m ago•1 comments

Grace Blackwell Desktop Supercomputer: First Impressions

https://jasoneckert.github.io/myblog/grace-blackwell/
2•speckx•26m ago•0 comments

Redundancy vs. dependencies: which is worse?

https://www.yosefk.com/blog/redundancy-vs-dependencies-which-is-worse.html
2•gavinhoward•26m ago•0 comments

The Internet Archive Wayback Machine Is Down

https://bsky.app/profile/archive.org/post/3m62vw5dsr22r
3•AdmiralAsshat•27m ago•0 comments