您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
When the price of XNK per dollar changes significantly, you need to mass update prices your Listia listings sometimes quickly. This Tampermonkey script will, upon a Listia listing being opened for editing, change the GetItNow price by multiplying by a predetermined value and automatically clicking the Update button. There is also a provision in this script to prevent updating during a browsing session, but if you close Chrome and reopen a listing in Chrome again, the price will again update.
// ==UserScript== // @name Listia Mass Price Updater // @namespace http://tampermonkey.net/ // @version 0.12.1.222 // @description When the price of XNK per dollar changes significantly, you need to mass update prices your Listia listings sometimes quickly. This Tampermonkey script will, upon a Listia listing being opened for editing, change the GetItNow price by multiplying by a predetermined value and automatically clicking the Update button. There is also a provision in this script to prevent updating during a browsing session, but if you close Chrome and reopen a listing in Chrome again, the price will again update. // @author Gostud on fiverr.com // @match https://www.listia.com/auction/edit/* // @grant none // ==/UserScript== (function() { 'use strict'; window.list_log = function() { var log = JSON.parse(localStorage.log || "[]"); console.log(log); } window.onload = function() { var multiply = 0.965; var title = document.querySelector("#auction_form_auction_params_title").value var log = JSON.parse(localStorage.log || "[]") if(typeof sessionStorage[title] == "undefined") { var val = document.querySelector("#auction_form_auction_params_buy_bid-fixed_price"); var logRow = title + " price updated from " + val.value + " to " + val.value * multiply log.push(logRow) localStorage.log = JSON.stringify(log) val.value = Math.round(val.value * multiply); sessionStorage[title] = true; setTimeout(function() { console.log("sending form!") document.querySelector(".submit_l[type=submit]").click() }, 3000) } else { console.log("Product updated recently!"); } } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址