Canonical: https://botbento.com/usecases/review-frontend-code-for-outdated-browser-patterns/
Format: Markdown representation of the public HTML page.

# Review frontend code for outdated browser patterns

[Coding](https://botbento.com/usecases/coding/) · Intermediate

Find old JavaScript habits and suggest native browser replacements

A coding bot scans a frontend repository, looks for patterns that can be replaced by native browser features, and matches findings against curated implementation guides. It reports affected files, explains the suggested modern approach, and offers a focused diff for review.

## Quick answers

**What does it do?** Find old JavaScript habits and suggest native browser replacements. Result: Proposed modernization report and diffs.

**What does it need?** Tools: GitHub, Terminal, Docs. Intermediate: some setup. The prompt includes an approval step.

**How do I run it?** When something happens: Repository push or review request. Copy the prompt below into a bot in BotBento.

## How it works

1. When something happens: Repository push or review request
2. Then: Scan frontend code and match findings to
3. Result: Proposed modernization report and diffs

## Prompt to start with

```text
When triggered, scan the repository for frontend code that relies on older JavaScript or dependency-heavy patterns. For each candidate, search the available guidance notes for a native browser replacement, then produce a short finding with file path, current pattern, suggested approach, and a minimal diff. Keep recommendations limited to supported native features and cite the relevant guide section. Do not change files, open pull requests, post comments, or contact anyone without my explicit approval; wait for approval before applying edits or sending anything.
```

## Tools it uses

GitHub, Terminal, Docs

## Works with

BotBento

## Tags

frontend, code-review, javascript, refactor, modern-web

## Source

[Show HN: Get your coding agent off ~2019 JavaScript, onto modern web primitives](https://news.ycombinator.com/item?id=50443812) — Hacker News · checked 2026-11-11

Summarized in our own words. Any results described there are the authors’ own, not measured by BotBento.

Verified 2026-11-11: passed every automated gate and a second-model review (kimi-code/k3.1-pro). Automated, not human review. [How verification works](https://botbento.com/usecases/verification/)

By BotBento Editorial · Added 2026-11-11 · Updated 2026-11-11 · [Suggest a correction](https://botbento.com/contact/)

## Related use cases

- [Interactive simulation code builder](https://botbento.com/usecases/interactive-simulation-code-builder/) — Translate complex domain workflows into interactive browser games using targeted search-and-replace patches.
- [In-browser web prototyping and code execution](https://botbento.com/usecases/in-browser-web-prototyping-and-code-execution/) — Build and test lightweight web applications inside an interactive browser environment
- [Front-end code quality and accessibility auditor](https://botbento.com/usecases/front-end-code-quality-and-accessibility-auditor/) — Audit pull requests against modern web standards, accessibility rules, and performance practices
