From 614be1aad9b8b1476168d8dc205b698dd8cb4638 Mon Sep 17 00:00:00 2001 From: Travis Smith Date: Sun, 16 Feb 2025 04:22:39 -0500 Subject: [PATCH] $1 items in the bazaar that you can't buy are excluded from highlighting (#838) - Just filters them out from highlighting when subvendor highlighting is on --- .../bazaar-sub-vendor-items/ttSubVendorPriceItems.entry.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extension/scripts/features/bazaar-sub-vendor-items/ttSubVendorPriceItems.entry.js b/extension/scripts/features/bazaar-sub-vendor-items/ttSubVendorPriceItems.entry.js index 2b0a91170..69997c7c3 100644 --- a/extension/scripts/features/bazaar-sub-vendor-items/ttSubVendorPriceItems.entry.js +++ b/extension/scripts/features/bazaar-sub-vendor-items/ttSubVendorPriceItems.entry.js @@ -34,6 +34,8 @@ function highlightEverything() { const items = [...document.findAll("[class*='item__'] > [class*='itemDescription__']")] + // filter out $1 items that you can't buy + .filter((element) => !element.find("[class*='isBlockedForBuying___'")) .map((element) => { return { element,