Open Thomas-Harrell opened 2 weeks ago
这个接口似乎解析起来有点复杂,加上最近没什么精力,所以有空再搞吧。
@MapoMagpie
感谢开发者的回复
还有一些功能上的建议,因为已经开了两个议题了,就不额外多开了
添加「在新标签页打开脚本页面」的选项,避免由于误触而退出脚本视图的情况
不知道能否添加类似于以下形式的章节列表(示例脚本)
https://github.com/user-attachments/assets/757c496b-4ab2-4197-9c9e-ae857fe292f2
希望可以对 X/Twitter 的列表页面进行适配
知道可以使用正则表达式在脚本的「配置 - 站点配置」中添加网站
但是我没有添加成功(我的问题
列表页面的网址示例:https://x.com/i/lists/1359849574949527557
一个在使用中遇到的问题
在进入脚本浏览后,按下任意按键,网页四周会出现蓝色边框,只要不按下按键,就不会出现这个状况
在浏览器的无痕模式下测试也是这样,与特定网站无关
不知道是不是我这边的问题
系统:macOS
浏览器:Chrome
JS 插件:Violentmonkey
https://github.com/user-attachments/assets/06329708-1a55-4ac0-abef-a6f3bf44e061
Ctrl
键之类的在 macOS 下无法使用感谢提供了这些建议,我会针对这些进行优化。
@MapoMagpie
这里有个关于 Pixiv 的 JS 脚本:GitHub & Greasy Fork
用户体验十分出色,有着良好的界面、交互设计和功能性,希望能够带来一些帮助和启发
录制了关于脚本界面和功能性的演示,碍于时长与文件体积,只演示了一部分:
https://github.com/user-attachments/assets/f60bee35-2d9b-4de1-9e7b-e57852b0d1f6
还有的就是,Ctrl 键之类的在 macOS 下无法使用
我没有Mac设备,所以不知道Control+鼠标左键,具体触发了哪些按键。 你可以在任意页面上打开控制台,然后输入
document.addEventListener("click", ev => console.log(`alt: ${ev.altKey}, ctrl: ${ev.ctrlKey}, meta: ${ev.metaKey}, shift: ${ev.shiftKey}`, ev))
注册一个点击事件,然后按下Control+鼠标左键,看看控制台输出了什么。 这是触发选图功能的相关代码。https://github.com/MapoMagpie/eh-view-enhance/blob/adeb533401205ca39002d8aa6acba0d193a85b65/src/img-fetcher.ts#L49
@MapoMagpie
alt: false, ctrl: false, meta: true, shift: false PointerEvent {isTrusted: true, pointerId: 1, width: 1, height: 1, pressure: 0, …}
Command 键就是 Meta 键的意思
Control 键对应的应该是 Ctrl 键
我刚更新了,可以匹配ctrl和meta任意一个,现在应该有效了。 还有支持了artstation.com,跳过了youtube的内嵌视频。
@MapoMagpie
感谢开发者的工作
macOS 下的 Meta 键以及 ArtStation 的画师主页已经可以使用了
当前逻辑:漫画网站,在漫画某话的缩略图视图,点击页面空白区域后,会直接退出脚本的浏览模式
优化建议:点击页面空白区域后,退回到漫画的章节页,而不是直接退出脚本的浏览模式
PS:这样可以更方便的进行漫画章节间的切换,而且也更符合页面切换的逻辑
如题,适配鼠标的前进、后退按键
方便进行页面间的切换:网页视图 - 章节页视图 - 缩略图视图 - 大图视图
更新了章节选择的展示方式。
总结一下你提出的建议 现在已改善的:
计划进行的:
你仍可以继续提供建议。
@MapoMagpie
感谢开发者的工作
先提一些发现的问题吧,主要是关于章节页面的,之后会有别的建议
如视频所示:
打开章节页面,不进行选择,直接退出,选项框会停留在网页中,刷新网页后才会消失
https://github.com/user-attachments/assets/481551d5-2108-48a6-8c77-067bbafa5036
[ ] BUG:章节切换选框错误停留在网页中
[ ] 在章节页显示漫画封面的全局
[ ] 精简「章节」按钮中的漫画封面
[ ] 在大图视图中添加「章节」按钮
[ ] 在「章节页、章节按钮」中以网格形式展示漫画章节
在这里把之前提及过的建议按时间顺序排列汇总一下
上面一条评论里关于「章节页」的建议不包括在内
[ ] 大图模式下图片的横向滚动
[ ] 网页适配:Instagram
[x] 缩略图视图空间优化(瀑布流)
[x] 缩略图视图下的图片编号
[x] 章节页显示的优化
[x] macOS Meta 键适配
[x] 网页适配:ArtStation
[ ] 页面切换逻辑的优化
[ ] 适配鼠标侧键