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

更新新版之后b站窗口花右侧上下滚动条和下侧左右滚动条过小 #484

Closed
tutu-tutu opened this issue Apr 29, 2020 · 7 comments · Fixed by #551
Closed
Labels
feature-request 功能请求

Comments

@tutu-tutu
Copy link

有没有解决方法?设置里面没有能改的选项

@the1812
Copy link
Owner

the1812 commented Apr 29, 2020

打开浏览器控制台(Ctrl+Shift+I), 运行这个代码, 可以扩宽到8px, 觉得还不够宽可以把里面的数字再改大一些

bilibiliEvolved.installStyle({ name: 'wideScrollBar', style: `::-webkit-scrollbar { border-radius: 4px !important; height: 8px !important; width: 8px !important; }`, displayName: '滚动条加宽', mode: 'important'})

@moyuwangP
Copy link

可以给这个功能加一个关闭按钮吗
在支持overlay scrollbar的浏览器上看着很怪

@pbxs666
Copy link

pbxs666 commented May 10, 2020

那新样式怎么卸载呢?
我这边是先加载浏览器原本的宽滚动条,再加载脚本的细滚动条,最后加载新样式,屏幕右边闪三下,很难受,想暂时先卸载新样式,求方法!

@the1812
Copy link
Owner

the1812 commented May 10, 2020

bilibiliEvolved.uninstallStyle('wideScrollBar')

@pbxs666
Copy link

pbxs666 commented May 10, 2020

好的谢谢
把bilibiliEvolved.uninstallStyle,bilibiliEvolveddelStyle,bilibiliEvolved.deleteStyle都试了,就是忘了加样式名称😂

@the1812
Copy link
Owner

the1812 commented May 10, 2020

或者你可以试试把安装那里的mode: 'important'改成mode: 'instant'(尽早注入模式)

@pbxs666
Copy link

pbxs666 commented May 13, 2020

刚刚试了下,总结如下:
1.mode: 'important' 在视频播放界面滚动条会加载3下,其他界面会加载预期的2下;
2.mode: 'instant' 不管在哪个界面,滚动条都只加载2下.
3.用mode: 'instant'就可以完美的加载宽滚动条了

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

Successfully merging a pull request may close this issue.

4 participants