Skip to content

Commit

Permalink
fix narou module for goToNext
Browse files Browse the repository at this point in the history
  • Loading branch information
snowsunny committed Mar 31, 2024
1 parent db35388 commit 2c53578
Show file tree
Hide file tree
Showing 4 changed files with 16,352 additions and 57 deletions.
5,271 changes: 5,270 additions & 1 deletion novels-reader-crx/background.js

Large diffs are not rendered by default.

5,623 changes: 5,598 additions & 25 deletions novels-reader-crx/content.js

Large diffs are not rendered by default.

5,508 changes: 5,483 additions & 25 deletions novels-reader-crx/options.js

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions src/js/pageAnalyzer/narou.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ export default class Narou {
}

goToNext() {
$($('.novel_bn')[0]).children().each((index, element) => {
element = $(element)
if(/>>/.test(element.text())) {
window.location.href = element.prop('href')
}
})
window.location.href = $('a.novelview_pager-next').prop('href')
}
}

0 comments on commit 2c53578

Please sign in to comment.