Skip to content

Instantly share code, notes, and snippets.

@kiranwayne
Last active February 6, 2026 03:22
Show Gist options
  • Select an option

  • Save kiranwayne/93f41ef396ef96ff57a07bdba04109ab to your computer and use it in GitHub Desktop.

Select an option

Save kiranwayne/93f41ef396ef96ff57a07bdba04109ab to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Medium to Freedium Redirect
// @namespace http://tampermonkey.net/
// @version 1.0.6
// @description Automatically redirects Medium articles to Freedium mirror
// @match *://medium.com/*
// @match *://*.medium.com/*
// @match *://levelup.gitconnected.com/*
// @match *://betterprogramming.pub/*
// @match *://towardsdatascience.com/*
// @match *://javascript.plainenglish.io/*
// @match *://blog.devgenius.io/*
// @match *://uxplanet.org/*
// @match *://aws.plainenglish.io/*
// @match *://blog.stackademic.com/*
// @updateURL https://gist.github.com/kiranwayne/93f41ef396ef96ff57a07bdba04109ab/raw/medium_to_freedium.js
// @downloadURL https://gist.github.com/kiranwayne/93f41ef396ef96ff57a07bdba04109ab/raw/medium_to_freedium.js
// @run-at document-start
// @grant none
// ==/UserScript==
(function () {
'use strict';
// No hostname check needed — @match already ensures
// we're only on relevant domains. Just redirect.
window.location.replace('https://freedium-mirror.cfd/' + window.location.href);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment