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

自定义顶栏 和原版顶栏搜索框相关建议 #801

Open
1 of 3 tasks
Geeyun-JY3 opened this issue Jul 31, 2020 · 11 comments
Open
1 of 3 tasks

自定义顶栏 和原版顶栏搜索框相关建议 #801

Geeyun-JY3 opened this issue Jul 31, 2020 · 11 comments
Labels
feature-request 功能请求

Comments

@Geeyun-JY3
Copy link

Geeyun-JY3 commented Jul 31, 2020

关于哪一项功能
自定义顶栏
隐藏搜索推荐

期望的效果

  • 1. 不启用自定义顶栏,开启隐藏搜索推荐功能的情况下,点击原版顶栏搜索框搜索按钮仍会跳转至搜索推荐的内容,这个是 bug 还是忘做了(任意页面)?
  • 2. 开启自定义顶栏隐藏搜索推荐 功能后,希望无输入任何关键词的情况下点击搜索框搜索按钮可以跳转至:https://search.bilibili.com;
  • 3. 给自定义顶栏增加清除输入词的按钮,即在放大镜图标左边增加一个「×」按钮

脚本版本
正式版 v1.10.31
预览离线版 745.35

@the1812 the1812 added bug bug feature-request 功能请求 labels Jul 31, 2020
@the1812 the1812 removed the bug bug label Oct 3, 2020
@the1812
Copy link
Owner

the1812 commented Oct 3, 2020

  1. 隐藏搜索推荐就是视觉上的隐藏... 无法影响原版顶栏的功能
  2. OK
  3. 那个按钮一般是给移动端用的, 电脑直接 Ctrl+A Backspace 更快

@Geeyun-JY3
Copy link
Author

Geeyun-JY3 commented Oct 3, 2020

1. 隐藏搜索推荐就是视觉上的隐藏... 无法影响原版顶栏的功能

那有办法阻止跳转吗?

3. 那个按钮一般是给移动端用的, 电脑直接 Ctrl+A Backspace 更快

emmmm总有不方便用键盘的时候嘛……加了这个按钮后就可以单击清除(而不是先用鼠标选中),然后直接通过鼠标点击粘贴的场景

@the1812
Copy link
Owner

the1812 commented Oct 3, 2020

那有办法阻止跳转吗?

不太清楚行不行 得之后试试才知道

emmmm总有不方便用键盘的时候嘛……加了这个按钮后就可以单击清除(而不是先用鼠标选中),然后直接通过鼠标点击粘贴的场景

这种场景当然是 Ctrl+AV 一气呵成(

@the1812
Copy link
Owner

the1812 commented Oct 3, 2020

实在没键盘 鼠标三连击也是全选

@Geeyun-JY3
Copy link
Author

鼠标三连击也是全选

也是,那随你吧

@Geeyun-JY3
Copy link
Author

Geeyun-JY3 commented Aug 19, 2021

3. 那个按钮一般是给移动端用的, 电脑直接 Ctrl+A Backspace 更快

这么说的话,能否在开启 顶栏触摸优化 时加个「×」按钮呢?

不太清楚行不行 得之后试试才知道

另外 1 现在还考虑做吗?

@Geeyun-JY3
Copy link
Author

Geeyun-JY3 commented May 7, 2022

v1 原本的 隐藏搜索推荐 在 v2 改成 搜索栏 - 搜索推荐 了,这样的话 v2 还考虑优化原版顶栏搜索栏吗?如本 issue 第 1 点。

@the1812
Copy link
Owner

the1812 commented May 7, 2022

可以优化,但会以独立组件的形式推出

@Geeyun-JY3
Copy link
Author

Geeyun-JY3 commented May 8, 2022

现在破站新版搜索页面的搜索框也会在框中有文本时显示一个「⮾」清除按钮了(◔◡◔):
image

@Geeyun-JY3 Geeyun-JY3 changed the title 顶栏搜索框相关建议 自定义顶栏 搜索框相关建议 Sep 3, 2022
@Geeyun-JY3
Copy link
Author

[预览] v2.7.0 新加的这个 隐藏热搜 似乎能像 v1 的 隐藏搜索推荐 一样隐藏掉原版顶栏搜索框的推荐,不过点击顶栏搜索框搜索按钮仍会跳转至搜索推荐的内容。

@Geeyun-JY3 Geeyun-JY3 changed the title 自定义顶栏 搜索框相关建议 自定义顶栏 和原版顶栏搜索框相关建议 Apr 1, 2023
@the1812
Copy link
Owner

the1812 commented Apr 2, 2023

还是没啥好办法阻止 Enter 或者点击时的跳转

the1812 added a commit that referenced this issue Apr 2, 2023
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