## Review frontend code for outdated browser patterns

Find old JavaScript habits and suggest native browser replacements.

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.

Source: BotBento use case https://botbento.com/usecases/review-frontend-code-for-outdated-browser-patterns/ (CC BY 4.0).
