Greasy Fork is available in English.
try to take over the world!
当前为
// ==UserScript==
// @name 英文版本自动跳中文 插件
// @namespace http://tampermonkey.net/
// @version 0.3
// @description try to take over the world!
// @author You
// @match *www.php.net/manual/en*
// @match *developer.mozilla.org/en-US/*
// @match *eslint.org/*
// @match *api.jquery.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
var href = window.location.href;
skip('/api.jquery.com/','/www.jquery123.com/');
skip('/www.php.net/manual/en/','/www.php.net/manual/zh/');
skip('/developer.mozilla.org/en-US/','/developer.mozilla.org/zh-CN/');
skip('/eslint.org/','/eslint.cn/');
function skip(source,target){
if(href.indexOf(source)!=-1){
href = href.replace(source,target);
window.location.href =href;
}
}
})();