Greasy Fork is available in English.

反查亚马逊Search Term

提取Search Term

// ==UserScript==
// @name         反查亚马逊Search Term
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  提取Search Term
// @author       下饭猫
// @match        *://sellercentral.amazon.com/*
// @match        *://sellercentral.amazon.ca/*
// @match        *://sellercentral.amazon.com.mx/*
// @match        *://sellercentral.amazon.co.uk/*
// @match        *://sellercentral.amazon.de/*
// @match        *://sellercentral.amazon.fr/*
// @match        *://sellercentral.amazon.it/*
// @match        *://sellercentral.amazon.es/*
// @match        *://sellercentral-japan.amazon.com/*
// @license      Zlib/Libpng License
// @grant       none
// ==/UserScript==

(function() {

var text = document.getElementsByTagName('pre')[0].innerText
var re = new RegExp('(?<=搜索关键字","value":")[^"]*(?=")');
var st = re.exec(text);
alert("Search Term为:"+st);


})();