Last active
October 19, 2024 19:23
-
-
Save maoyeedy/8a6d3f3d9196ead0afa9ee0106e88ce0 to your computer and use it in GitHub Desktop.
Redirect old Unity docs to 2022.3 version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Unity Manual Redirect | |
// @namespace https://github.com/Maoyeedy/ | |
// @version 1.0 | |
// @description Redirect Unity Manual to 2022.3 | |
// @author Maoyeedy | |
// @match https://docs.unity3d.com/Manual/* | |
// @icon https://unity.com/favicon.ico | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
let newUrl = window.location.href.replace('https://docs.unity3d.com/Manual/', 'https://docs.unity3d.com/2022.3/Documentation/Manual/'); | |
window.location.replace(newUrl); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment