针对洛谷防罚款政策的的对策

· · 科技·工程

  1. 安装 Redirector 插件。
  2. 在本地新建一个 json 文件,随意命名,写入以下内容:
    [
    {
     "from": "^https://www.luogu.com(/)?$",
     "to": "https://www.luogu.com.cn",
     "enabled": true,
     "mode": "regex"
    },
    {
     "from": "^https://www.luogu.com.cn/paste/(.*)$",
     "to": "https://www.luogu.com/paste/$1",
     "enabled": true,
     "mode": "regex"
    },
    {
     "enabled": true,
     "from": "^https://www.luogu.com.cn/article/(.*)$",
     "mode": "regex",
     "to": "https://www.luogu.com/article/$1"
    },
    {
     "enabled": true,
     "from": "^https://www.luogu.com.cn/user/(.*)$",
     "mode": "regex",
     "to": "https://www.luogu.com/user/$1"
    }
    ]
  3. 在 Redirector 插件中点击 Import 并且选择你创建的文件。
  4. 完成