Skip to content

Commit

Permalink
feat: ✨ 支持 nekohouse
Browse files Browse the repository at this point in the history
  • Loading branch information
hymbz committed Mar 27, 2024
1 parent 2453f04 commit 5353953
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ Cotrans 也有自己的油猴脚本 —— 「[Cotrans 漫画/图片翻译器](h
- hitomi
- Anchira
- kemono
- nekohouse
- welovemanga

<!-- supportSiteList -->
Expand Down
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ Cotrans 也有自己的油猴脚本 —— 「[Cotrans 漫画/图片翻译器](h
- hitomi
- Anchira
- kemono
- nekohouse
- welovemanga

<!-- supportSiteList -->
Expand Down
13 changes: 13 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,19 @@ try {
break;
}

// #nekohouse
case 'nekohouse.su': {
options = {
name: 'nekohouse',
getImgList: () =>
main
.querySelectorAll<HTMLAnchorElement>('.fileThumb')
.map((e) => e.getAttribute('href')!),
initOptions: { autoShow: false, option: { onePageMode: true } },
};
break;
}

// #welovemanga
case 'nicomanga.com':
case 'weloma.art':
Expand Down

0 comments on commit 5353953

Please sign in to comment.