you know what it is (#15175)
* you know what it is * bump version * filter out the loading animation
This commit is contained in:
parent
36a6bcdd0c
commit
a155c1ce0c
|
@ -89,22 +89,16 @@ class ConstellarScans : MangaThemesia("Constellar Scans", "https://constellarsca
|
|||
override fun pageListParse(document: Document): List<Page> {
|
||||
val interfaceName = randomString()
|
||||
|
||||
document.body().prepend(
|
||||
document.selectFirst("article").append(
|
||||
"""
|
||||
<script>
|
||||
const observer = new MutationObserver(mutations => {
|
||||
mutations.forEach((mutation) => {
|
||||
[...mutation.addedNodes].filter(c => c instanceof HTMLImageElement &&
|
||||
(
|
||||
c.classList.contains("ts-main-image") ||
|
||||
c.dataset.index !== undefined ||
|
||||
c.dataset.server !== undefined
|
||||
)
|
||||
)
|
||||
mutations.forEach(mutation => {
|
||||
[...mutation.addedNodes].filter(c => c instanceof HTMLImageElement && c.src.slice(-3) !== "svg")
|
||||
.forEach(c => window.$interfaceName.passSingleImage(c.src))
|
||||
})
|
||||
})
|
||||
observer.observe(document.body, { childList: true, subtree: true })
|
||||
observer.observe(document.querySelector("article"), { childList: true, subtree: true })
|
||||
</script>
|
||||
""".trimIndent()
|
||||
)
|
||||
|
|
|
@ -25,7 +25,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Azure Scans", "https://azuremanga.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Boosei", "https://boosei.net", "id", overrideVersionCode = 2),
|
||||
SingleLang("Clayrer", "https://clayrer.net", "es"),
|
||||
SingleLang("Constellar Scans", "https://constellarscans.com", "en", isNsfw = true, overrideVersionCode = 11),
|
||||
SingleLang("Constellar Scans", "https://constellarscans.com", "en", isNsfw = true, overrideVersionCode = 12),
|
||||
SingleLang("Cosmic Scans", "https://cosmicscans.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Diskus Scan", "https://diskusscan.com", "pt-BR", overrideVersionCode = 7),
|
||||
SingleLang("Dojing.net", "https://dojing.net", "id", isNsfw = true, className = "DojingNet"),
|
||||
|
|
Loading…
Reference in New Issue