Thunder-/Night-Scans: do not use :is() selector (#6920)

This commit is contained in:
Vetle Ledaal 2025-01-03 08:42:34 +01:00 committed by Draff
parent 61c8073679
commit 5143199e08
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
3 changed files with 9 additions and 3 deletions

View File

@ -25,6 +25,11 @@ class MangaThemesiaPaidChapterHelper(
return baseChapterListSelector
}
return ":is($baseChapterListSelector):not($lockedChapterSelector):not(:has($lockedChapterSelector))"
// Fragile
val selectors = baseChapterListSelector.split(", ")
return selectors
.map { "$it:not($lockedChapterSelector):not(:has($lockedChapterSelector))" }
.joinToString()
}
}

View File

@ -3,7 +3,8 @@ ext {
extClass = '.ThunderScansFactory'
themePkg = 'mangathemesia'
baseUrl = 'https://en-thunderscans.com'
overrideVersionCode = 8
overrideVersionCode = 9
isNsfw = false
}
apply from: "$rootDir/common.gradle"

View File

@ -3,7 +3,7 @@ ext {
extClass = '.NightScans'
themePkg = 'mangathemesia'
baseUrl = 'https://nightsup.net'
overrideVersionCode = 9
overrideVersionCode = 10
isNsfw = true
}