Skip to content

Commit

Permalink
$1 items in the bazaar that you can't buy are excluded from highlight…
Browse files Browse the repository at this point in the history
…ing (#838)

- Just filters them out from highlighting when subvendor highlighting is on
  • Loading branch information
TravisTheTechie authored Feb 16, 2025
1 parent 9864589 commit 614be1a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 614be1a

Please sign in to comment.