Skip to content

v1.1.0 - Reddit API & Options Page Compatibility Fixes

Latest

Choose a tag to compare

@SriviharReddy SriviharReddy released this 22 Jul 06:43

Changelog

All notable changes to the Orbit extension will be documented in this file.

[1.1.0] - 2026-07-22

Fixed

  • Reddit API HTML Error Parsing: Added safeFetchJson helper in background service worker to detect HTTP status codes and HTML error responses (403/429), preventing unhandled SyntaxError: Unexpected token '<', "<body clas"... is not valid JSON crashes.
  • Comment Endpoint Normalization: Properly formatted comment lookup URLs to include the .json extension and raw_json=1 parameter before query strings, resolving 403 Forbidden errors when loading post comments.
  • Session Credentials & Headers: Enabled credentials: 'include' for background fetch requests and added declarativeNetRequest permission with a custom User-Agent rule to ensure compatibility with Reddit network security policies.
  • Options & UI Component Mount Target: Resolved blank/empty options modal by fixing DOM root selector in options.tsx, popup.tsx, and sidePanel.tsx to match public/options.html container layout.

Added

  • Multi-domain fallback logic (www.reddit.com -> old.reddit.com -> api.reddit.com).
  • User-friendly error messaging for rate-limited or blocked network requests.