asadahimeka / yandere-masonry

Yande.re/Konachan Masonry(Waterfall) Layout. Yande.re/Konachan 中文标签 & 缩略图放大 & 双击翻页 & 瀑布流浏览
https://greasyfork.org/scripts/444885
MIT License
117 stars 6 forks source link
booru booru-gallery danbooru gelbooru greasyfork konachan masonry tampermonkey typescript userscript vite vue yandere

Yande.re Masonry

中文 | English

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

Modified from zhzwz/yande-re-chinese-patch

有问题或建议请到 GitHub 反馈

更新日志见 CHANGELOG.md

Build with vite & vite-plugin-tm-userscript

Install

如何安装用户脚本管理器插件不再赘述,可以参照 Greasy Fork 首页 提示安装浏览器插件

Greasy Fork: 点击安装

Sleazy Fork: 点击安装

GitHub 仓库文件:点击安装

Web 端预览版本:点击查看

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 站]

标签中文翻译

瀑布流模式

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

输出下载地址

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

顶部操作

侧栏操作

详情查看

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

站点支持

⚠ Notice

主要支持站点为 Yande.re 和 Konachan,其他站点为基本支持。

存在站点页面图片列表与 API 返回列表不一致的情况,请悉知。

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

https://yande.re

https://konachan.com

https://konachan.net

瀑布流支持的 Booru 站如下:

https://yande.re

https://konachan.com

https://konachan.net

https://danbooru.donmai.us

https://gelbooru.com

https://rule34.xxx

https://lolibooru.moe

https://www.sakugabooru.com

http://behoimi.org (3dbooru)

https://safebooru.org

https://tbib.org

https://xbooru.com

https://rule34.paheal.net

https://realbooru.com

https://booru.allthefallen.moe

https://aibooru.online

其他支持站点:

https://e-shuushuu.net

https://www.zerochan.net

https://sankaku.app (https://chan.sankakucomplex.com)

https://idol.sankakucomplex.com

https://anime-pictures.net

https://allgirl.booru.org

https://booru.eu

https://kusowanka.com

https://anihonetwallpaper.com

https://nozomi.la

Screenshots

Sponsors

感谢 TSUKYU 的支持

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.

Credits

zhzwz/yande-re-chinese-patch

Booru Search modified from AtoraSuunva/booru

License

Licensed under the MIT license

Copyright © 2022 Yumine Sakura

yandere-masonry