diff --git a/tampermonkey-redirect.js b/tampermonkey-redirect.js new file mode 100644 index 0000000..2bd6dcd --- /dev/null +++ b/tampermonkey-redirect.js @@ -0,0 +1,14 @@ +// ==UserScript== +// @name Redirect Gmod Wiki to CFC-Servers/gmodwiki +// @namespace https://gmodwiki.com/ +// @version 1.0 +// @description wiki.facepunch.com/gmod > gmodwiki.com +// @author https://github.com/Be1zebub +// @match https://wiki.facepunch.com/gmod/* +// @grant none +// ==/UserScript== + +(function() { + "use strict"; + window.location.href = `https://gmodwiki.com${window.location.pathname}${window.location.search}${window.location.hash}`; +})();