Yande.re 瀑布流浏览

Yande.re/Konachan Masonry(Waterfall) Layout.

As of 2022-08-13. See the latest version.

Author
asadahimeka
Ratings
0 0 0
Version
0.20.0
Created
2022-05-12
Updated
2022-08-13
License
MIT
Applies to

Yande.re Masonry

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

有问题或建议请到 GitHub 反馈

更新日志见 CHANGELOG.md

Build with vite & vite-plugin-tm-userscript

Install

Greasy Fork: 点击安装

Sleazy Fork: 点击安装

GitHub 仓库文件: 点击安装

Tips

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

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

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

Features

缩略图放大

对列表页的缩略图进行放大 [Y 站 / K 站]

双击翻页

双击页面左侧任意区域进入上一页,双击页面右侧任意区域进入下一页 [Y 站 / K 站]

访问标记

会在点击过详情页面的图片下方标注一条横线,利用的是 a 标签 :visited 特性,清除缓存后失效 [Y 站 / K 站]

标签中文翻译

添加 Y 站与 K 站标签的中文翻译,翻译文件来自 yande-re-chinese-patch

欢迎 PR 补充或校正翻译

瀑布流模式

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

输出下载地址

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

顶部操作

  • 打开侧栏
  • 加载指定页数
  • 加载收藏夹、人气、随机作品(Y 站/K 站)
  • 加载图集(Pool)列表
  • 按标签搜索作品
  • 瀑布流显示列数切换,列数选择非自动且列数小于 6 时图片会以 sample_url (即点击详情的大小) 展示。
  • 批量选择
  • 查看下载列表
  • 深色模式切换
  • 退出瀑布流模式

侧栏操作

  • 站点切换,支持站点见下方所述
  • 进入收藏夹、人气、随机作品页面(Y 站/K 站)
  • 进入图集(Pool)页面(Y 站/K 站)
  • 本地标签黑名单

详情查看

点击缩略图可查看详情,可进行以下操作

  • 收藏(Y 站/K 站)
  • 打开详情页面
  • 打开来源地址
  • 查看原图
  • 下载/加入下载列表
  • 打开标签页面
  • 点击图片控制按钮与标签显示

站点支持

⚠ 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://lolibooru.moe/

https://www.sakugabooru.com/

http://behoimi.org/

https://safebooru.org/

https://tbib.org/

https://xbooru.com/

https://rule34.paheal.net/

https://realbooru.com/

Screenshots

Developing

git clone https://github.com/asadahimeka/yandere-masonry.git
cd yandere-masonry
yarn install
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.

Copyright

Modified from yande-re-chinese-patch

© coderzhaoziwei

© asadahimeka

License

MIT