timo95 / stash-checker

Userscript to check if a Scene/Performer is present in Stash
MIT License
13 stars 3 forks source link

Add support for clips4sale #38

Closed IAmKontrast closed 2 months ago

IAmKontrast commented 3 months ago

Added studio and scene support for clips4sale.

Error on icon-list-view repeated reloading: Unfortunately I wasn't able to solve the Minified React error #418, #423 and #425 on the icon-list-view on repeated reloading. To reproduce go on one of the studio profile pages (/studio/) and then switch to the icon-list-view. Everything works fine and all checks for scenes went on. Reloading the page causes the errors. Will be triggered by this check(Target.Scene, "div[class*='w-full'] a[class*='search-clip__title']", { observe: true });

IAmKontrast commented 2 months ago

Completely restart my approach with element selectors from classes to data-testid attributes. Now there should be any additional or overriding queries and also a performance improvement is noticeable. Maybe they fixed something on the website because the Minified React errors are gone.

On the recently added clips page, when you scroll down below the side menu, nothing is matched.

This works now as well as switch between tile and list view and sorting.

timo95 commented 2 months ago

a performance improvement is noticeable

Thats just the merge from master

IAmKontrast commented 2 months ago

Add a fix for studio/category matching with #46