您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Allows users to cancel their auctions from Search/Buy without needing to pick through "Current Listings".
// ==UserScript== // @name Flight Rising - Auction House - Insert Cancel Buttons For Own Listings // @namespace https://greasyfork.org/users/547396 // @match https://*.flightrising.com/auction-house/buy/* // @grant none // @version 1.0 // @author Jicky // @description Allows users to cancel their auctions from Search/Buy without needing to pick through "Current Listings". // @icon https://www.google.com/s2/favicons?domain=flightrising.com // @license GPL-3.0-or-later // ==/UserScript== (function() { 'use strict'; function insertAuctionCancelButtons() { $('.ah-listing-row').each(function() { let buyButton = $(this).find('.ah-listing-buy-button'); if (buyButton.attr('style').includes('hidden')) { $(buyButton).replaceWith(`<div class="ah-listing-cancel-button" data-listing-id="${$(this).attr('data-listing-id')}"></div>`); } }); } insertAuctionCancelButtons(); })();