Warning: fopen(/www/sites/update.greasyfork.icu/index/store/temp/a2916be71c463b0a3438b7ff59eb2fb0.js): failed to open stream: No space left on device in /www/sites/update.greasyfork.icu/index/scriptControl.php on line 65
// ==UserScript==
// @name Jump to mainland China
// @name:zh-CN Adobe繁体中文跳转简体中文
// @description The region of Adobe website will automatically jump to mainland China from Taiwan and Hong Kong.
// @description:zh-CN adobe网站显示语言(地区)繁体中文跳转简体中文,即台湾、香港地区自动跳转回大陆地区。
// @version 0.2
// @author Tim2way
// @include https://*.adobe.com/hk_zh/*
// @include https://*.adobe.com/tw/*
// @grant none
// @icon https://cdn2.iconfinder.com/data/icons/adobe-square-2/243/adobe-square-512.png
// @namespace https://greasyfork.org/users/442518
// @downloadURL https://update.greasyfork.icu/scripts/396177/Jump%20to%20mainland%20China.user.js
// @updateURL https://update.greasyfork.icu/scripts/396177/Jump%20to%20mainland%20China.meta.js
// ==/UserScript==
(function() {
'use strict';
var href = location.href;
var changeHref;
if (href.indexOf("/tw") > 0){
changeHref = href.replace(/\/tw/, "/cn");
}
else if (href.indexOf("/hk_zh") > 0){
changeHref = href.replace(/\/hk_zh/, "/cn");
}
location.href = changeHref;
})();
// ==/UserScript==
(function() {
'use strict';
var href = location.href;
var changeHref;
if (href.indexOf("/tw") > 0){
changeHref = href.replace(/\/tw/, "/cn");
}
else if (href.indexOf("/hk_zh") > 0){
changeHref = href.replace(/\/hk_zh/, "/cn");
}
location.href = changeHref;
})();