Redirect to wiki.nixos.org - Tampermonkey

the nixos.org people have a new wiki

  1. // ==UserScript==
  2. // @name Redirect to wiki.nixos.org - Tampermonkey
  3. // @namespace Tampermonkey Scripts
  4. // @match https://nixos.wiki/*
  5. // @grant none
  6. // @version 1.0
  7. // @author ProfDoof
  8. // @author Artoria2e5
  9. // @description the nixos.org people have a new wiki
  10. // @license CC0-1.0
  11. // ==/UserScript==
  12. window.location.replace('https://wiki.nixos.org' + window.location.href.replace(/^http?s:\/\/nixos\.wiki/, ''))