fisch to fischipedia

Redirect a website to another site

// ==UserScript==
// @name         fisch to fischipedia
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Redirect a website to another site
// @author       You
// @match        *://fisch.fandom.com/*
// @run-at       document-start
// @grant        none
// ==/UserScript==
(function() {
    'use strict';
    let newDomain = "https://fischipedia.org";
    let newURL = newDomain + window.location.pathname + window.location.search + window.location.hash;
    window.location.replace(newURL);
})();