Urgent.News

What's breaking now, across thousands of outlets.

Tech

orib: Bringing back the old Reddit interface, with a few new enhancements

ORIB is a Manifest V3 browser extension that aims to bring back the old Reddit interface with a few enhancements. When installed on www.reddit.com, ORIB replaces the current layout with a classic design featuring a subreddit bar, blue header, ranked posts, sidebar, and threaded comments. The extension utilizes Reddit's public JSON listings and interacts with the platform through existing login sessions. Users can vote, save, hide, comment, and submit content using the same mechanisms as before.

ORIB's content script targets pages at *://www.reddit.com/* and executes at the document_start phase. The extension does not interfere with specific paths like /chat, /settings, /poll, /mod, and /message. Shortcuts remain functional except when the focus is in an input, textarea, or content-editable element. Pressing Shift+? displays an in-page list of shortcuts on a classic Reddit page.

The extension is submitted in version 0.1.0. Upon extraction from the provided zip file, only four files are present: manifest.json, renderer.js, classic.css, and an icons/ folder. The manifest file resides at the root of the archive. The Chrome Web Store and Firefox Add-ons platforms handle the installation process, along with the respective privacy policies documented in store/LISTING.md and store/PRIVACY.md.

Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at github.com →

More in Tech

My users table reads one pagination contract: paginate(15), withQueryString, and a React pager that trusts meta

The first admin panel I built fetched all users, dumped them into state, and sliced pages client-side. It worked until a client hit 2,000 users and the list page took eleven seconds to load.

  • Implemented server-side pagination with Laravel's paginate(15) for 2,000+ users
  • React pager relied on backend meta data, fetching users based on page and meta
  • Consistent pagination contract extended to all admin panels in Laravel + React SaaS Starter Kit

How I built a live halftone portrait in React with just Canvas 2D

My portfolio is set like a newspaper, so my photo couldn't just be a photo. I wanted it to look like a printed halftone: a grid of dots, bigger where the picture is dark and smaller where it's light.

  • Image transformed into low-resolution grid of dots using Canvas 2D API
  • Dot radius determined by sample darkness with applied tone curve
  • Cursor interaction causes dots to swell and recede in a breathing effect

More from Saturday 17 October →