Skip to content

Instantly share code, notes, and snippets.

@PhoenixAceVFX
Created April 29, 2025 03:47
Show Gist options
  • Save PhoenixAceVFX/f434db766dbd69fca5fd74c661a90f67 to your computer and use it in GitHub Desktop.
Save PhoenixAceVFX/f434db766dbd69fca5fd74c661a90f67 to your computer and use it in GitHub Desktop.
Tampermonkey | Redirect old Warframe Wiki to new Warframe Wiki
// ==UserScript==
// @name Warframe Wiki Redirect
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Automatically redirects from old Warframe Wiki to new Warframe Wiki
// @author PhoenixAceVFX
// @match https://warframe.fandom.com/wiki/*
// @grant none
// @run-at document-start
// ==/UserScript==
(function() {
'use strict';
// Get the current URL path
const currentPath = window.location.pathname;
// Extract the page name from the path
const pageName = currentPath.split('/wiki/')[1];
if (pageName) {
// Create the new URL with the same page name
const newUrl = 'https://wiki.warframe.com/w/' + pageName;
// Redirect to the new URL
window.location.replace(newUrl);
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment