fix(novelbin): fix missing summary and remove NB Reader advertisements (#2247)
* fix(novelbin): fix missing summary due to multiple classes * Add case for 'desc-text desc-text-collapsed' in parser * Add version increments to Novel Bin source options * feat(novelbin): remove NB Reader app advertisements
This commit is contained in:
@@ -73,7 +73,9 @@
|
|||||||
"sourceName": "Novel Bin",
|
"sourceName": "Novel Bin",
|
||||||
"options": {
|
"options": {
|
||||||
"latestPage": "sort/latest",
|
"latestPage": "sort/latest",
|
||||||
"searchPage": "search"
|
"searchPage": "search",
|
||||||
|
"versionIncrements": 1,
|
||||||
|
"customJs": "$('[class*=\"app-promo\"]').remove();"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -263,6 +263,7 @@ export class ReadNovelFullPlugin implements Plugin.PluginBase {
|
|||||||
return;
|
return;
|
||||||
case 'inner':
|
case 'inner':
|
||||||
case 'desc-text':
|
case 'desc-text':
|
||||||
|
case 'desc-text desc-text-collapsed':
|
||||||
if (state === ParsingState.Cover) popState();
|
if (state === ParsingState.Cover) popState();
|
||||||
pushState(ParsingState.Summary);
|
pushState(ParsingState.Summary);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user