Add support to StoneScape#3196
Add support to StoneScape#3196
Conversation
|
Do |
…-Dom/fix fix lint; fix lifecycle; fix uiInjection; add margin malp
|
Is nextEpUrl supposed to be in manga implementation? Not sure. |
|
@Source-Dom I'm not sure too, though I add it because some of manga implementation have it too |
| }, | ||
| list: { | ||
| elementsSelector($c) { | ||
| return $c.querySelectorAll('ul li').run(); |
There was a problem hiding this comment.
Too general. It does match more than just the list. You could use something like .listing-chapters_wrap .wp-manga-chapter
| readerConfig: [ | ||
| { | ||
| current: { | ||
| selector: '.reading-content img', | ||
| mode: 'countAbove', | ||
| }, | ||
| total: { | ||
| selector: '.reading-content img', | ||
| mode: 'count', | ||
| }, | ||
| }, | ||
| ], |
There was a problem hiding this comment.
The reader can be set to single page mode. This support both. Can you add it and test it?
readerConfig: [
{
condition: '#single-pager',
current: {
selector: '#single-pager [selected="selected"]',
mode: 'text',
regex: '^(\\d+)/(\\d+)$',
group: 1,
},
total: {
selector: '#single-pager option',
mode: 'text',
regex: '^(\\d+)/(\\d+)$',
group: 2,
},
},
{
current: {
selector: '.reading-content img',
mode: 'countAbove',
},
total: {
selector: '.reading-content img',
mode: 'count',
},
},
],
There was a problem hiding this comment.
For single page, I think it was the website the problem.
It works if the website load properly after clicking for next page from
https://stonescape.xyz/series/plaything/ch-55/p/1/ -> .../p/2/ .../p/3/ and so on
But the website gave blank if clicking next page from
https://stonescape.xyz/series/plaything/ch-55/?style=paged -> https://stonescape.xyz/series/plaything/ch-55/p/2/
needing to reload the second page to load the website.
But because it gave blank on next page, the chapter immediately marked as read
Add support to https://stonescape.xyz