Changes Reddit links to old.reddit.com directly in the DOM, preventing redirects.
This script dynamically scans any webpage you visit for links pointing to the standard Reddit domains (www.reddit.com or reddit.com) and replaces them entirely with old.reddit.com directly within the anchor tags (href).
By changing the URL right in the DOM, you bypass the need for any middle-man browser redirects after clicking. You will seamlessly go straight to Old Reddit.
MutationObserver. If a site loads new links via infinite scrolling (e.g., Twitter, forums, search engines), the script will automatically process and swap those new links on the fly.*://*/*) to ensure links are caught and formatted regardless of what website you found them on.The logic makes use of native, lightweight DOM query selectors, ensuring minimal impact on browser performance while reliably detecting target URLs.