Set CTAN Mirror

Set to use a fixed mirror when browsing CTAN files.

Author
rnicrosoft
Daily installs
0
Total installs
2
Ratings
0 0 0
Version
0.3
Created
2022-06-03
Updated
2022-07-01
Size
1.36 KB
License
N/A
Applies to

Set CTAN Mirror

Set to use a fixed preferred mirror host when browsing CTAN packages, instead of the random mirror selection by official.

Usage

First, Install this script on Greasy Fork.

After the installation, set the endpoint of your preferred mirror host.

    var mirrorEndpoint = 'mirrors.sjtug.sjtu.edu.cn/ctan';

Check https://ctan.org/mirrors/mirmon for the latest active CTAN mirrors list.


设置 CTAN 默认镜像

设置浏览 CTAN 包页面时使用固定的首选镜像主机,而不是官方随机选择的镜像主机。

使用

首先,在Greasy Fork上安装这个脚本

安装后,设置首选的镜像主机端点。

    var mirrorEndpoint = 'mirrors.sjtug.sjtu.edu.cn/ctan';

检查 https://ctan.org/mirrors/mirmon 以获取最新的活动 CTAN 镜像列表。