您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Auto redirect nintendo store to canada store
// ==UserScript== // @name Nintendo Store Canada // @namespace https://greasyfork.org/users/649 // @version 1.0.3 // @description Auto redirect nintendo store to canada store // @author Adrien Pyke // @match https://store.nintendo.com/ng3/* // @grant none // @run-at document-start // ==/UserScript== (() => { 'use strict'; if (!location.href.match(/\/ca\//iu)) { if (location.href.match(/\/us\//iu)) { location.replace(location.href.replace(/\/us\//iu, '/ca/')); } else { location.replace(location.href.replace(/\/ng3/iu, '/ng3/ca/po')); } } })();