POE2 - Filtering for specific mods on Against the Darkness Time-Lost jewel

"
Bananaru#7519 wrote:
Person named "Oi" from fubgun discord

here u go
"
This might be helpful for others, made this script to filter the jewels
search for the jewel with your price budget to limit amount of results as only 100 results will be shown, don't set minimum price to 1 div and expect cold damage..
press F12 to open the console in your browser and paste the script, press enter and wait until all items has been loaded and it'll filter the results
(async function() {
async function loadAllItems() {
while (true) {
const loadMoreButton = document.querySelector('.btn.load-more-btn');
if (!loadMoreButton) break;
loadMoreButton.click();
await new Promise(resolve => setTimeout(resolve, 1000));
}
}

await loadAllItems();

document.querySelectorAll('.row').forEach(r => {
r.innerText.toLowerCase().includes('cold damage') || (r.style.display = 'none'); // change the "includes" to w/e you want to filter
});

console.log('Filtering complete');
})();

That does the same thing as scrolling down to the bottom and hitting ctrl + F just less tedious with the steps needed and its not really helpful since I cant compare prices or see if theres one for a lower price or even better one for the same price since it will only filter your current search.
+1
+1
any devs want to weigh in on this or are we supposed to sift through 5k+ gems with only 100 being able to show on a page at a time while you get rate limited every 20 seconds because you're loading too many items on the page?
+1
+1
+1
+1
+10
+1

Report Forum Post

Report Account:

Report Type

Additional Info