Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

复制评论链接 相关 bug 反馈和优化建议 #1196

Open
1 of 6 tasks
Geeyun-JY3 opened this issue Nov 14, 2020 · 10 comments
Open
1 of 6 tasks

复制评论链接 相关 bug 反馈和优化建议 #1196

Geeyun-JY3 opened this issue Nov 14, 2020 · 10 comments
Labels
feature-request 功能请求

Comments

@Geeyun-JY3
Copy link

Geeyun-JY3 commented Nov 14, 2020

关于哪一项功能
复制评论链接

问题描述

  • bug:
    点击 复制评论链接 后评论的更多菜单不会消失(但链接复制成功)
    fixed by feat: 在复制评论链接后添加自动关闭菜单的行为 #2807

  • 建议(主要是视频页下):

    • 1. 清除链接中的分 P 参数;

    • 2. 清除时间定位参数;

    • 3. 清除多余跟踪参数(即 网址参数清理),当然其实我是一直开着 网址参数清理 功能的。

      (以上建议主要是为了让得到的评论链接尽量短,有点类似于 生成指定评论的定位链接 #690 (comment) 提到的套娃问题)

    • 4. 让评论时间戳变成可点击链接,指向对应评论链接。

    • 5. 复制链接成功后显示 复制成功 提示

脚本版本
正式版 v1.11.0
预览离线版 v850.22

浏览器版本
百分浏览器 4.2.10.171(正式版本) (64 位) (Chromium 80.0.3987.163)
Chrome 版本 86.0.4240.198(正式版本) (64 位)

错误信息

附加截图
bug 截图:
copylink

@the1812 the1812 added feature-request 功能请求 maybe-bug 可能是 bug, 待测试 labels Nov 16, 2020
@Geeyun-JY3
Copy link
Author

Geeyun-JY3 commented Jun 4, 2021

突然觉得分 p 参数和时间定位参数是否清理(即ⅰ和ⅱ)或者可以交给用户选择,取决于分享评论链接时用户是否希望这是一条指向视频特定时间点的评论(虽生成出来的链接在 B 站做不到 SoundCloud 那种效果,但既然上述两参数和评论参数也不冲突,同时保留即可迂回实现)。

@the1812 the1812 removed the maybe-bug 可能是 bug, 待测试 label Dec 16, 2021
@Geeyun-JY3
Copy link
Author

这 bug 我这边在 v2 还能复现啊🤔

@the1812
Copy link
Owner

the1812 commented Dec 16, 2021

因为 b 站原本就不会收起...

@the1812
Copy link
Owner

the1812 commented Dec 16, 2021

我觉得加个复制成功的小提示可能好些

@Geeyun-JY3
Copy link
Author

这个「原本就不会收起」是什么意思?是指单纯点击「复制链接」无法像点击「加入黑名单」和「举报」一样弹出弹窗的同时菜单消失?(依稀记得这个当时提是因为之前会消失🙈)

@the1812
Copy link
Owner

the1812 commented Dec 16, 2021

拉黑和举报会弹窗, 造成菜单失去焦点就收起了, 而复制链接目前没有弹窗所以不会. (动态上的菜单才是真正的点击后收起)

@Geeyun-JY3
Copy link
Author

拉黑和举报会弹窗, 造成菜单失去焦点就收起了, 而复制链接目前没有弹窗所以不会. (动态上的菜单才是真正的点击后收起)

就是说单纯点击「复制链接」脚本无法造成菜单失去焦点?

@the1812
Copy link
Owner

the1812 commented Dec 16, 2021

是的, 除非点完把鼠标移走才行

@Geeyun-JY3
Copy link
Author

Geeyun-JY3 commented Dec 16, 2021

那就加个复制成功的小提示吧,这个 workaround 也可以接受

@Geeyun-JY3
Copy link
Author

#2807 实测有效

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request 功能请求
Projects
None yet
Development

No branches or pull requests

2 participants