hoothin / UserScripts

Greasemonkey scripts ( Pagetual / Picviewer CE+ / DownloadAllContent ) 油猴腳本集 ユーザースクリプト集
https://greasyfork.org/users/8227-hoothin
3.15k stars 515 forks source link

Custom rule request for https://comick.io #556

Open CapriciousCarl opened 7 months ago

CapriciousCarl commented 7 months ago

Hi, I really enjoy your work but I am not knowledgeable in how to create a custom rule. I use Safari on IOS for Iphone. I have tried to use the element picker (following the gif in the user manual) but I didn't really know what I was doing. I would like to know how to operate the element picker so I can resolve similar issues in the future, but I understand if it that is too difficult.

Please help me with creating a custom rule for https://comick.io. Example: https://comick.io/comic/01-helmut-the-forsaken-child/s_1Inuh7-chapter-1-en Thank you!

hoothin commented 7 months ago
{
    "name": "ComicK",
    "url": "^https?://comick\\.io/comic/",
    "nextLink": "button.select-none"
}
CapriciousCarl commented 7 months ago

Thank you for the quick response, but the previous chapter is being loaded rather than the next one.

hoothin commented 7 months ago

Try "nextLink": "//button[div[contains(text(),'Next')]]"

CapriciousCarl commented 7 months ago

Works perfectly, thanks!