Amazon keepa

Amazon keepa plugin

目前為 2017-02-07 提交的版本,檢視 最新版本

// ==UserScript==
// @name        Amazon keepa
// @description Amazon keepa plugin
// @author Maxeo | maxeo.net
// @license https://creativecommons.org/licenses/by-sa/4.0/
// @include     https://www.amazon.it/*/dp/*
// @include     https://www.amazon.it/gp/product/*
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js
// @version     1.1.7
// @icon        https://gf.qytechs.cn/system/screenshots/screenshots/000/006/429/original/asd.png
// @namespace https://gf.qytechs.cn/users/88678
// ==/UserScript==
$(document).ready(function () {
  var prod_code;
  if (prod_code = window.location.pathname.match(/^\/gp\/product\/(.*)\/.*$/) != null) {
    prod_code = prod_code[1]
  } 
  else if (prod_code = window.location.pathname.match(/(\/dp\/)(([a-z]|[A-Z]|[0-9])*)\//) != null) {
    prod_code = prod_code[2];
  } 
  else if (prod_code = window.location.pathname.match(/^\/dp\/(.*)\/.*$/) != null) {
    prod_code = prod_code[1];
  }
  iframedata = '<iframe style="width: 100%; height: 500px; border:0 none;" src="https://keepa.com/iframe_addon.html#8-0-' + prod_code + '" scrolling="no" id="' + prod_code + '"></iframe>'
  $('#centerCol').after(iframedata)
})

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址