UserScripts
UserScripts copied to clipboard
CodePen
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 🙏🏼🫡
Any clue?
Sorry but I did not find any issue.
After a few pages it doesn't work anymore, nor does it work when you change filters (eg. from "Everything" to "Title & Description) etc.
Have you tried after deleting your custom rule?
Have you tried after deleting your custom rule?
Yes, still no
https://github.com/hoothin/UserScripts/assets/71278545/ba1444c3-aacc-4459-8b8c-6db42ba61f36
There doesn't seem to be any problem on my end. Could you please provide your console log for me to review?
There doesn't seem to be any problem on my end. Could you please provide your console log for me to review?
I refreshed and it worked in a sense of paginating to the next page, however the tiles don't load.
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" }
perfect 👍🏼