您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Set ebay location to home country (based on https://forums.overclockers.co.uk/threads/greasemonkey-ebay-uk-only-script.18632813/)
// ==UserScript== // @name Ebay - Set item location to home country // @namespace http://tampermonkey.net/ // @version 0.1 // @description Set ebay location to home country (based on https://forums.overclockers.co.uk/threads/greasemonkey-ebay-uk-only-script.18632813/) // @author Me // @icon https://www.google.com/s2/favicons?sz=64&domain=ebay.co.uk // @grant none // @license MIT // @match https://www.ebay.co.uk/sch/* // @match https://www.ebay.com/sch/* // @match https://www.ebay.fr/sch/* // @match https://www.ebay.de/sch/* // ==/UserScript== var url = window.location.href; if (url.indexOf("LH_PrefLoc=") == -1) { window.location.href = (url.indexOf("?") == -1) ? url + "?LH_PrefLoc=1" : url + "&LH_PrefLoc=1"; }