TransformativeWorks AO3 Redirect

Redirect archive.transformativeworks.org to archiveofourown.org

// ==UserScript==
// @name         TransformativeWorks AO3 Redirect
// @description  Redirect archive.transformativeworks.org to archiveofourown.org
// @author       C89sd
// @version      0.1
// @match        https://archive.transformativeworks.org/*
// @match        https://archiveofourown.gay/*
// @namespace    https://greasyfork.org/users/1376767
// @run-at       document-start
// @noframes
// ==/UserScript==

location.replace(
  location.href
    .replace("archive.transformativeworks.org", "archiveofourown.org")
    .replace("archiveofourown.gay", "archiveofourown.org")
);