软餐(ruancan.com)近日此前报道,谷歌正在 Chrome 上测试 “标签页滚动”功能。该功能将允许用户使用鼠标滚动来切换 Chrome 浏览器的标签页。
要体验该功能,Chrome 用户可直接激活该功能标记即可体验。
虽然同为 Chromium 内核,微软的 Edge 浏览器似乎无法直接找到相关标记并激活。似乎微软已经刻意将其删除了。
软餐(ruancan.com)在本文介绍的技巧,可帮助用户在 Microsoft Edge 添加启动参数,以启用标签页滚动功能。
需要注意的是,这项功能目前尚处于试验阶段,微软可能会在 Edge 浏览器中移除对它的支持。目前,它只能在 Edge 的开发版本(Dev 或 Canary 版)中使用,在稳定版中则不起作用。
为 Microsoft Edge 开启标签页滚动(tab scrolling)
- 在 Edge 浏览器的快捷方式图标上右键,从菜单中选择 “属性” 。
- 找到 “目标类型” 字段,在末尾添加一个空格,然后粘贴以下参数:–enable-features=ScrollableTabStrip
- 它应该像这样显示:”C:\Users\用户名\AppData\Local\Microsoft\Edge SxS\Application\msedge.exe” –enable-features=ScrollableTabStrip
- 单击确定以保存更改。
- 重启 Microsoft Edge Canary 。
![[技巧] 在Edge浏览器上开启「标签页滚动」功能](https://www.ruancan.com/wp-content/uploads/2024/11/2024112209481934.gif)
重新启动 Edge 浏览器后,再打开一定数量的标签页时,将鼠标悬停在标签栏上时,即可使用鼠标滚动标签栏。
读者可参考软餐(ruancan.com)录制的演示画面。(下图)
![[技巧] 在Edge浏览器上开启「标签页滚动」功能](https://www.ruancan.com/wp-content/uploads/2024/11/2024112209481934.gif)
评论列表(3条)
设置完打开新界面,就变成这样了
嗯… 无法访问此页面检查 xn--enable-features%3Dscrollabletabstrip-5e8v 中是否存在拼写错误。
如果拼写正确,请尝试运行 Windows 网络诊断。
DNS_PROBE_FINISHED_NXDOMAIN
如果您使用的是 Chrome 32+,请使用 AutoHotKey(编译脚本)方法自行百度
代码:
; Mouse Wheel Tab Scroll 4 Chrome
; ——————————-
; Scroll though Chrome tabs with your mouse wheel when hovering over the tab bar.
; If the Chrome window is inactive when starting to scroll, it will be activated.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
#SingleInstance force ; Determines whether a script is allowed to run again when it is already running.
#UseHook Off ; Using the keyboard hook is usually preferred for hotkeys – but here we only need the mouse hook.
#InstallMouseHook
#MaxHotkeysPerInterval 1000 ; Avoids warning messages for high speed wheel users.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
Menu, Tray, Tip, Mousewheel tab scroll for Chrome (1.0.3)
WheelUp::
WheelDown::
MouseGetPos,, ypos, id
WinGetClass, class, ahk_id %id%
If (ypos < 45 and InStr(class,"Chrome_WidgetWin"))
{
IfWinNotActive ahk_id %id%
WinActivate ahk_id %id%
If A_ThisHotkey = WheelUp
Send ^{PgUp}
Else
Send ^{PgDn}
}
Else
{
If A_ThisHotkey = WheelUp
Send {WheelUp}
Else
Send {WheelDown}
}
Return
@876537005:感谢热心分享~软餐将为您寄出一份小礼物,烦请邮件给我们~(请使用登录邮箱发送收件人/手机号/收件地址至 xiansuo@ruancan.com)