XNK price recently has changed sometimes 25% up or down a day as can be followed here: https://www.coingecko.com/en/coins/ink-protocol/trading_exchanges. When the price of XNK per dollar goes up or down significantly, we who have them probably all need to mass update prices on our listia.com listings and this can be very tedious. TamperMonkey is a Google Chrome extension which allows you to change web pages as they load.
- This TamperMonkey script will, upon a Listia listing being opened for editing, change the GetItNow price by multiplying by the predetermined "multiply" variable.
- 3 seconds later, the script will also automatically click on the update button.
For instance, if your old price for a 2018 Silver Eagle coin was 2250 XNK and you discover that after the fall in XNK price by 10%, you need to multiply all your prices by 1.11, then this script can do it for you. In the script, just edit the multiply variable and change it from 0.965 to 1.11.
To avoid the script doing unwanted updating, go to TamperMonkey's Dashboard and disable the script. Or if this is the only TamperMonkey script you use, click on the black TamperMonkey icon in upper right of Chrome and disable it until the next time you need to update prices.
- If this means anything to you, this script also has a logging feature and will print the log to Chrome's developer console line if you send the command to it:
JSON.parse(localStorage.log || "[]")
- Finally, this script is written so that if you accidentally reopen a listing for editing, the script will not update it again, as long as you have not closed down Chrome before the unwanted editing.
Or at least the last feature is the script's design intention. Please contact me if this is not the case.
The actual author of this script is not me Paul Pruitt, but Gostud on fiverr.com. He has a very high 4.7 rating and 153 ratings at the time of this writing. Also, he wanted to only charge me $10, but I gave him a lot more :).