// ==UserScript== // @name github增强 // @namespace ChatGPT // @version 1.0 // @description 增强github网站的响应速度,增强github网站的下载速度!!! // @author zhang6666j // @match *://github.com/* // @run-at document-start // @license MIT // @grant none // @downloadURL none // ==/UserScript== (function() { 'use strict'; var currentUrl = window.location.href; var newUrl = currentUrl.replace(new URL(currentUrl).hostname, 'githubfast.com'); if (currentUrl !== newUrl) { window.location.replace(newUrl); } })();