File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -214,6 +214,7 @@ Cotrans 也有自己的油猴脚本 —— 「[Cotrans 漫画/图片翻译器](h
214214- [ nekohouse] ( https://nekohouse.su )
215215- [ welovemanga] ( https://welovemanga.one )
216216- [ HentaiZap] ( https://hentaizap.com )
217+ - [ 最前線] ( https://sai-zen-sen.jp )
217218- [ Tachidesk] ( https://github.com/Suwayomi/Tachidesk-Sorayomi )
218219
219220<!-- supportSiteList -->
Original file line number Diff line number Diff line change @@ -214,6 +214,7 @@ Cotrans 也有自己的油猴脚本 —— 「[Cotrans 漫画/图片翻译器](h
214214- [ nekohouse] ( https://nekohouse.su )
215215- [ welovemanga] ( https://welovemanga.one )
216216- [ HentaiZap] ( https://hentaizap.com )
217+ - [ 最前線] ( https://sai-zen-sen.jp )
217218- [ Tachidesk] ( https://github.com/Suwayomi/Tachidesk-Sorayomi )
218219
219220<!-- supportSiteList -->
Original file line number Diff line number Diff line change @@ -902,6 +902,46 @@ try {
902902 break ;
903903 }
904904
905+ // #[最前線](https://sai-zen-sen.jp)
906+ // test: https://sai-zen-sen.jp/works/comics/karanokyoukai/01/01.html
907+ case 'sai-zen-sen.jp' : {
908+ options = {
909+ name : 'sai-zen-sen' ,
910+ getImgList : ( ) => [ ] ,
911+ } ;
912+
913+ switch ( location . pathname . match ( / \/ [ ^ / ] + \/ [ ^ / ] + \/ / ) ?. [ 0 ] ) {
914+ case '/special/4pages-comics/' :
915+ case '/works/comics/' :
916+ options . getImgList = ( ) =>
917+ Object . values (
918+ unsafeWindow . B . Package . Manifest . items as { href : string } [ ] ,
919+ )
920+ . map ( ( { href } ) => href )
921+ . filter ( Boolean )
922+ . map ( ( path ) => `${ unsafeWindow . B . Path } /${ path } ` ) ;
923+ options . onPrev = querySelectorClick (
924+ 'ul.volumes > li:nth-child(2) > a[href]' ,
925+ ) ;
926+ options . onNext = querySelectorClick (
927+ 'ul.volumes > li:nth-child(3) > a[href]' ,
928+ ) ;
929+ break ;
930+
931+ case '/comics/twi4/' :
932+ options . getImgList = ( ) =>
933+ unsafeWindow . t4 . Meta . Items . map (
934+ ( { ImageFileName } ) =>
935+ `${ unsafeWindow . t4 . GA . Gate . x_directory } works/${ ImageFileName } ` ,
936+ ) ;
937+ break ;
938+
939+ default :
940+ options = undefined ;
941+ }
942+ break ;
943+ }
944+
905945 // 为 pwa 版页面提供 api,以便翻译功能能正常运作
906946 // case 'localhost':
907947 case 'comic-read.pages.dev' : {
Original file line number Diff line number Diff line change @@ -33,16 +33,20 @@ export const useManga = <T extends Record<string, any>>({
3333 top: 0;
3434 left: 0;
3535 transform: scale(0);
36+
3637 contain: strict;
3738
3839 width: 100%;
3940 height: 100%;
4041
42+ writing-mode: initial;
4143 font-size: 16px;
4244
4345 opacity: 0;
4446
45- transition: opacity 300ms, transform 0s 300ms;
47+ transition:
48+ opacity 300ms,
49+ transform 0s 300ms;
4650 }
4751
4852 #comicRead[show] {
You can’t perform that action at this time.
0 commit comments