Greasy Fork

来自缓存

php英文文档跳转中文 - php.net

2023/3/21 18:47:27

// ==UserScript==
// @name        php英文文档跳转中文 - php.net
// @namespace   Violentmonkey Scripts
// @match       https://www.php.net/manual/en/*
// @grant       none
// @version     1.0
// @author      -
// @description 2023/3/21 18:47:27
// @license MIT
// ==/UserScript==
if (window.location.href.startsWith("https://www.php.net/manual/en/")) {
  window.location.href = window.location.href.replace("https://www.php.net/manual/en/", "https://www.php.net/manual/zh/");
}