Skip to content

Update Novelonomicon#2583

Merged
dteviot merged 2 commits intodteviot:ExperimentalTabModefrom
rizkiv1:novelonomicon
Mar 27, 2026
Merged

Update Novelonomicon#2583
dteviot merged 2 commits intodteviot:ExperimentalTabModefrom
rizkiv1:novelonomicon

Conversation

@rizkiv1
Copy link
Copy Markdown
Contributor

@rizkiv1 rizkiv1 commented Mar 26, 2026

Current problem: doesn't know if i should remove patreon link and text and header words like "free chapters" and "chapters". Current knowledge even with AI only remove elements containing lowercase word of "chapter", which i'm afraid also remove element containing synopsis if synopsis itself containing that word.

Based on tested novel info there's one without that header 1 , while one using h1 2, the rest using h3 3 4 5 6


removeUnwantedElementsFromContentElement(element) {
util.removeChildElementsMatchingSelector(element,
"#the-post .da-reactions-outer, #the-post .stream-item-below-post-content");
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the element passed in is from findContent, the #the-post part of the selector should already have been applied.

@dteviot dteviot merged commit 5fcd453 into dteviot:ExperimentalTabMode Mar 27, 2026
1 check passed
@dteviot
Copy link
Copy Markdown
Owner

dteviot commented Mar 27, 2026

@rizkiv1

Thank you for your contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants