- Joined
- May 3, 2023
[UPDATE: This method no longer works as of 2025-04-30]
If you're having trouble accessing Reddit anonymously while using a VPN, here's a very simple userscript to bypass the Reddit "network security" and/or "network policy" blocks:
All this code does is redirect any request directed at www.reddit.com or old.reddit.com to www.redditmedia.com, which does not implement filtering at the moment. A very simple, elegant solution for those who never wish to uniquely identify themselves but who still need access to all publicly available subreddits.
Edit: Neutered the automatic links to point at thread itself.
If you're having trouble accessing Reddit anonymously while using a VPN, here's a very simple userscript to bypass the Reddit "network security" and/or "network policy" blocks:
Userscripts are user-installed snippets of JavaScript which allow you to modify how websites function with your web browser. A lot of websites and pages which are "taken down" or "blocked" actually aren't. In some circumstances, userscripts can help automate unblocking things for you. You can use scripts like these with extensions like Greasemonkey or Tampermonkey, or load them into system-wide adblockers like AdGuard.
If you're seeing the below screens when trying to access Reddit, this userscript will resolve that, at least for now.
If you're seeing the below screens when trying to access Reddit, this userscript will resolve that, at least for now.
JavaScript:
// ==UserScript==
// @name reddit.com to redditmedia.com
// @description Always redirects reddit.com to redditmedia.com
// @include *://www.reddit.com/*
// @include *://old.reddit.com/*
// @version 1.00
// @run-at document-start
// @grant none
// ==/UserScript==
window.location.replace("https://www.redditmedia.com" + window.location.pathname + window.location.search);
All this code does is redirect any request directed at www.reddit.com or old.reddit.com to www.redditmedia.com, which does not implement filtering at the moment. A very simple, elegant solution for those who never wish to uniquely identify themselves but who still need access to all publicly available subreddits.
There's a minor bug where Firefox currently blocks stylesheets if you're using aggressive known tracker blocking, as they haven't yet added an exception to their lists to allow redditstatic.com connections from users accessing redditmedia.com directly; just set Firefox to use normal tracker blocking and rely on your usual content blockers (e.g. uBlock Origin or Adblock Plus) to keep things clean instead.
Edit: Neutered the automatic links to point at thread itself.
Last edited: