Yande.re 瀑布流浏览

Yande.re/Konachan Masonry(Waterfall) Layout. Fork form yande-re-chinese-patch.

Author
asadahimeka
Daily installs
3
Total installs
249
Ratings
3 1 0
Version
0.2.21
Created
2022-05-12
Updated
2022-07-03
License
MIT
Applies to

Yande.re Masonry

Yande.re/Konachan 缩略图放大 & 双击翻页 & 瀑布流浏览

有问题或建议请到 GitHub 反馈

修改自 yande-re-chinese-patch

Build with vite & vite-plugin-tm-userscript

Tips

Moebooru 站点(Y 站、K 站)可通过设置查询参数 locale 或者设置 cookie 里的 locale 项来指定界面语言

如: https://yande.re/post?locale=zh_CN

本脚本在访问 Y 站或 K 站时已默认指定语言为 zh_CN

Features

缩略图放大

对列表页的缩略图进行放大,目前适配 yande.re 与 Konachan

双击翻页

双击页面左侧任意区域进入上一页,双击页面右侧任意区域进入下一页,目前适配 yande.re 与 Konachan

瀑布流模式

点击右上角按钮进入瀑布流模式

输出下载地址

瀑布流模式下可使用 输出下载地址 功能保存图片地址 TXT 后使用迅雷、IDM、wget 等批量下载,见 https://github.com/FoXZilla/Pxer/issues/8

站点支持

⚠ Notice

主要支持站点为 Yande.re 和 Konachan,其他站点为基本支持,未经过详细测试

本脚本主要是为了方便图片浏览,其他功能如下载为简单支持,不保证完全可用。另,存在源站页面图片列表与 API 返回列表不一致的情况,请悉知

缩略图放大与双击翻页支持的站点如下:

https://yande.re/

https://konachan.com/

https://konachan.net/

瀑布流支持的 Booru 站如下:

https://danbooru.donmai.us/

https://konachan.com/

https://konachan.net/

https://yande.re/

https://gelbooru.com/

https://rule34.xxx/

https://safebooru.org/

https://tbib.org/

https://xbooru.com/

https://rule34.paheal.net/

https://realbooru.com/

Screenshots

Developing

  1. git clone https://github.com/asadahimeka/yandere-masonry.git
  2. cd yandere-masonry
  3. yarn install
  4. yarn dev

Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Recommended IDE Setup

Type Support For .vue Imports in TS

Since TypeScript cannot handle type information for .vue imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in .vue imports (for example to get props validation when using manual h(...) calls), you can enable Volar's Take Over mode by following these steps:

  1. Run Extensions: Show Built-in Extensions from VS Code's command palette, look for TypeScript and JavaScript Language Features, then right click and select Disable (Workspace). By default, Take Over mode will enable itself if the default TypeScript extension is disabled.
  2. Reload the VS Code window by running Developer: Reload Window from the command palette.

You can learn more about Take Over mode here.