frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Element to LLM – Extension That Turns Runtime DOM into JSON for LLMs

4•Alechko•5h ago
We built a browser extension (Chrome + Firefox) that captures the runtime DOM and exports it as JSON.

Not the pre-render source (HTML/CSS/JS, templates, bundles) and not a screenshot — but the live, post-render state the browser is actually displaying: - visibility/hidden, disabled/required - current input values and validation/validationMessage - dataset attributes - trimmed text - stable selector paths

Why: LLMs often miss or guess UI state. Screenshots are too opaque, pre-render source is too noisy. A structured snapshot gives reproducible context for debugging forms and flows.

Security: - Runs locally in the browser as a read-only content script. - No telemetry, no external requests. - No page mutation; it only reads the DOM. - Data leaves the browser only if you copy it yourself. - Immune to prompt injection at source level — it never executes or rewrites page code, only serializes visible state.

Use cases: - Debugging client-side forms: capture the real rendered state, not just HTML. - Reproducible bug reports: instead of vague screenshots, share a JSON snapshot of the exact state. - Test automation: snapshot before/after an action to compare behavior. - Prompt engineering: feed structured UI state directly, instead of raw markup or screenshots.

Links: • Chrome Web Store: https://chromewebstore.google.com/detail/element-to-llm/oofd... • Firefox Add-ons: https://addons.mozilla.org/en-US/firefox/addon/element-to-ll...

Curious what people here think about this approach.

Comments

Alechko•5h ago
We use this daily in our own debugging. Not a screenshot, not source — it’s the runtime state the browser is actually rendering. Domain experts’ feedback would be valuable.
puff1111•5h ago
was looking for something like that for last few weeks, nice that someone finally thought about it
Alechko•5h ago
That was exactly the gap we felt in our own workflow. Curious what use case you were hoping to solve when you looked for it?
CyberBOB1•4h ago
Niice! It is pretty helpful!

Linux and Secure Boot certificate expiration

https://lwn.net/Articles/1029767/
1•raybb•1m ago•0 comments

No #1 Lifestyle Blogs Directory

https://thekafeguide.com
1•thekafeguide•2m ago•0 comments

Google has eliminated 35% of managers overseeing small teams in past year

https://www.cnbc.com/2025/08/27/google-executive-says-company-has-cut-a-third-of-its-managers.html
1•frays•3m ago•0 comments

In a first, US-China team turns plastic waste into petrol in 1 step

https://www.scmp.com/news/china/science/article/3323139/first-us-china-team-turns-plastic-waste-p...
1•ulrischa•3m ago•0 comments

Better Portable Graphics

https://en.wikipedia.org/wiki/Better_Portable_Graphics
1•thelastgallon•5m ago•0 comments

National Institute of Standards and Technology

https://www.time.gov/
1•reaperducer•6m ago•0 comments

Nvidia Sales Jump 56%, a Sign the A.I. Boom Isn't Slowing Down

https://www.nytimes.com/2025/08/27/technology/nvidia-earnings-ai-chips.html
1•cuttothechase•8m ago•0 comments

Changes in prefrontal hemodynamics and mood states during screen use

https://www.nature.com/articles/s41598-025-09360-w
1•PaulHoule•9m ago•0 comments

Hacker used AI to automate an 'unprecedented' cybercrime spree, Anthropic says

https://www.nbcnews.com/tech/security/hacker-used-ai-automate-unprecedented-cybercrime-spree-anth...
1•gscott•10m ago•0 comments

DialEgg: Dialect-Agnostic MLIR Optimizer Using Equality Saturation with Egglog [video]

https://www.youtube.com/watch?v=C_j_BBk_vLQ
1•matt_d•10m ago•1 comments

Yamanot.es: A music box of train station melodies from the JR Yamanote Line

https://yamanot.es/
1•zdw•11m ago•0 comments

Apache Iceberg for Ruby

https://github.com/ankane/iceberg-ruby
1•mooreds•15m ago•0 comments

Declining mental health of the young and disappearance of the well-being U-shape

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0327858
1•smartmic•16m ago•0 comments

How Leeches Made Their Comeback

https://nymag.com/vindicated/2016/11/how-leeches-made-their-comeback.html
2•newfocogi•17m ago•0 comments

Alef Flying Car

https://alef.aero
1•blacktulip•18m ago•2 comments

Life, Intelligence, and Consciousness: A Functional Perspective

https://longnow.org/ideas/life-intelligence-consciousness/
2•marcusb•18m ago•0 comments

Bay Area home sales dropped in July, but so far prices haven't followed

https://www.mercurynews.com/2025/08/27/bay-area-home-sales-july-2025/
1•randycupertino•20m ago•0 comments

Show HN: I built UptimeBuddy after getting frustrated with complex monitors

https://uptimebuddy-contact.vercel.app/
1•grhayk•23m ago•0 comments

Lwan: Experimental, scalable, high performance HTTP server

https://github.com/lpereira/lwan
1•klaussilveira•23m ago•0 comments

How to build a freelance client funnel (and more)

https://hath.blog/posts/freelancing/
1•samoi•24m ago•0 comments

Instapaper is now on Rakuten Kobo e-readers

https://goodereader.com/blog/kobo-ereader-news/instapaper-is-now-on-the-rakuten-kobo-e-readers
1•josteink•24m ago•2 comments

MIT 6.5930/1 Hardware Architecture for Deep Learning – Spring 2024 Lectures

https://csg.csail.mit.edu/6.5930/lecnotes.html
1•imakwana•25m ago•0 comments

Ask HN: What happens to Windows 10 PCs after October 14?

2•Kapura•26m ago•1 comments

The vulnerability might be in the proof-of-concept

https://sethmlarson.dev/the-vulnerability-is-in-the-proof-of-concept
2•Bogdanp•26m ago•0 comments

Show HN: Meetup.com and eventribe alternative to small groups

https://github.com/polaroi8d/cactoide
2•orbanlevi•26m ago•0 comments

Covid vaccine in US now requires consultation with physician

https://www.axios.com/2025/08/27/covid-vaccine-2025-fda-recommendation-rfk
9•spectraldrift•29m ago•3 comments

"If Cats Could Code", a FOSS Book on CS Concepts

https://github.com/cloudstreet-dev/If-Cats-Could-Code
1•DavidCanHelp•31m ago•0 comments

Bring Back the Free Plan

https://blog.railway.com/p/free-plan
4•dban•32m ago•1 comments

Gayfemboy Malware Campaign

https://www.broadcom.com/support/security-center/protection-bulletin/gayfemboy-malware-campaign
2•ndiddy•33m ago•0 comments

OpenAI Codex for VSCode has been released

https://marketplace.visualstudio.com/items?itemName=openai.chatgpthttps://marketplace.visualstudi...
1•Topfi•34m ago•1 comments