UserScripts icon indicating copy to clipboard operation
UserScripts copied to clipboard

CodePen

Open Auditormadness9 opened this issue 10 months ago • 8 comments

The url of site https://codepen.io/search/pens?q=steam&depth=title_desc_tags

Is your request related to a problem? Please describe. Just for comfort.

Describe the result you'd like with the rule Load all results in one page instead of having to click Next each time.

Custom rule you've tried

{
    "name": "CodePen Search",
    "url": "^https?://codepen\\.io/search/",
    "example": "https://codepen.io/search/pens?q=steam&depth=title_desc_tags",
    "pageElement": "#react-page > div.PageLayout-module_root-rNerP > main.PageLayout-module_main-FuM10 > div.Search_root-9UPWB > div.width-wrapper > div > div.item-grid.ContentGrid-module_root-rDB6N",
    "nextLink": "#react-page > div.PageLayout-module_root-rNerP > main.PageLayout-module_main-FuM10 > div.Search_root-9UPWB > div.width-wrapper > div > nav.Pagination-module_pagination-3Nbew > button"
}

Additional context Thanks a lot in advance 🙏🏼🫡

Auditormadness9 avatar Apr 16 '24 19:04 Auditormadness9

Any clue?

Auditormadness9 avatar May 05 '24 19:05 Auditormadness9

Sorry but I did not find any issue. image

hoothin avatar May 06 '24 04:05 hoothin

After a few pages it doesn't work anymore, nor does it work when you change filters (eg. from "Everything" to "Title & Description) etc.

Auditormadness9 avatar May 06 '24 04:05 Auditormadness9

Have you tried after deleting your custom rule?

hoothin avatar May 06 '24 04:05 hoothin

Have you tried after deleting your custom rule?

Yes, still no

https://github.com/hoothin/UserScripts/assets/71278545/ba1444c3-aacc-4459-8b8c-6db42ba61f36

Auditormadness9 avatar May 06 '24 16:05 Auditormadness9

There doesn't seem to be any problem on my end. Could you please provide your console log for me to review?

hoothin avatar May 07 '24 09:05 hoothin

There doesn't seem to be any problem on my end. Could you please provide your console log for me to review?

image

I refreshed and it worked in a sense of paginating to the next page, however the tiles don't load.

Auditormadness9 avatar May 08 '24 19:05 Auditormadness9

try this rule

{
    "name": "CodePen Search",
    "url": "^https?://codepen\\.io/search/",
    "example": "https://codepen.io/search/pens?q=steam&depth=title_desc_tags",
    "waitElement": "![class*=ContentGridItemLoading]",
    "pageElement": ".item-grid>article"
}

hoothin avatar May 09 '24 00:05 hoothin

perfect 👍🏼

Auditormadness9 avatar May 10 '24 21:05 Auditormadness9