项目简介
Chrome_plus(又名 Chrome++)是一款基于 DLL 劫持技术的 Chromium 内核浏览器增强开源工具
无需修改浏览器核心代码即可实现:
- 双击关闭标签页。
- 右键点击关闭标签页(长按Shift显示原始菜单)。
- 保留最后一个标签页(防止最后一个标签页关闭时浏览器关闭)。
- 在鼠标悬停在标签栏上时,用滚轮切换标签页。
- 按住右键时用滚轮切换标签页。
- 创建新标签页,打开地址栏中输入的内容(可配置为前景或背景打开)。
- 创建新标签页来打开书签(可以配置为前景或背景打开)。
- 当当前标签页是新标签时,关闭上述两个功能。
- 自定义快捷键,快速隐藏浏览器窗口(Boss键)。
- 自定义快捷键以翻译网页。
- 按键映射:将键盘快捷键重新映射到其他按键或 Chrome 命令。
- 便携设计(与原始数据不兼容;你可以重新安装系统或更换计算机而不丢失数据)。
- 允许自定义Chromium命令行开关。
项目信息
项目名:chrome_plus
项目版本:v1.16.0
项目作者:shuax,Bush2021
项目地址:https://github.com/Bush2021/chrome_plus
分流地址:http://4275.com/zrr5p4
应用场景
理论上支持任意使用Chrome内核的浏览器,包括但不限于chrome、EDGE、360、QQ浏览器等
明确不支持的浏览器
感谢回复楼的提醒
- Firefox(Gecko内核)
- Safari(Webkit内核)
- IE(Trident内核)
- Edge低于44.19041的版本(EdegHTML内核)
ini文件
; This file is the configuration file of Chrome++ (version.dll) in INI format
; Line begins with (;) is a comment statement that has no effect for configuration
; For function switch, you need to manually change it: 0 is off, 1 is on
; If the corresponding option is left blank or does not exist, the default configuration is used
; If this file is deleted, the default configuration will be used, which is the configuration initially presented by this file
; Path supports Windows standard environment variables, such as %appdata%
; In particular, %app% represents the directory where chrome.exe resides
; If the path contains spaces, please wrap it in double quotes ("")
; 本文件是 Chrome++ (version.dll) 的配置文件,采用 INI 格式
; 分号(;)开始的行是注释语句,不会产生实际作用
; 如果设置是开关,需要手动修改:0关闭,1开启
; 如果对应选项留空或不存在,表示使用默认配置
; 如果删除本文件,将会使用默认配置,也就是本文件初始呈现的配置
; 路径支持 Windows 标准环境变量,例如 %appdata%
; 特别地,%app% 代表 chrome.exe 所在目录
; 如果路径包含空格,请使用双引号("")包裹
[general]
; Leave blank To use the built-in configuration of Chrome++, none means to use the default path of the browser
; If the browser's dirs is specified in other ways, this option will be ignored
; 留空表示使用 Chrome++ 内置配置;none 表示使用浏览器默认路径
; 如果用其它方式指定了浏览器路径,此选项将被忽略
data_dir=%app%\..\Data
cache_dir=%app%\..\Cache
; Appends Chromium command line switches
; You can imitate the form below to write, pay attention to the space, do not wrap
; command_line=--disable-features=PrintCompositorLPAC --force-renderer-accessibility=basic
; 追加 Chromium 命令行开关
; 可以模仿下面的形式来写,注意空格,不要换行
; command_line=--disable-features=PrintCompositorLPAC --force-renderer-accessibility=basic
command_line=
; Programs or commands that start with the browser, written in the same way as launch_on_exit
; 随浏览器一起启动的程序或命令,写法同 launch_on_exit
launch_on_startup=
; Executed programs or commands while the browser is exited, multiple separated by semicolons (;)
; You can imitate the form below to write, pay attention to the semicolon at the end of the line
; Commands will be executed in the form of `start "chrome++ cmd" cmd /c <command>`
; launch_on_exit="D:\Google Chrome\App\clean.bat";taskkill /f /im chrome.exe;
; 在浏览器退出时执行的程序或命令,多个用分号(;)分隔
; 可以参考下面的形式来写,注意行末需要加分号
; 命令会被封装成 `start "chrome++ cmd" cmd /c <command>` 的形式执行
; launch_on_exit="D:\Google Chrome\App\clean.bat";taskkill /f /im chrome.exe;
launch_on_exit=
; Customize a shortcut key that can hide all Chrome windows and restore them when pressed again
; Available keys are: Ctrl, Alt, Shift, Win, F1-F12, 0-9, A-Z,
; Left, Right, Up, Down, ←, →, ↑, ↓, Esc, Tab, Backspace,
; Enter, Space, PrtSc, Scroll, Pause, Insert, Delete,
; End, Home, PageUp, PageDown
; Fill in the format example: Ctrl+Alt+B
; 自定义一个快捷键,按下后可以隐藏所有 Chrome 窗口,再次按下恢复
; 可以使用的键位有:Ctrl、Alt、Shift、Win、F1-F12、0-9、A-Z、
; Left、Right、Up、Down、←、→、↑、↓、Esc、Tab、Backspace、
; Enter、Space、PrtSc、Scroll、Pause、Insert、Delete、
; End、Home、PageUp、PageDown
; 填写格式示例:Ctrl+Alt+B
boss_key=
; Customize a shortcut key that translates the current page
; 自定义网页翻译的快捷键
translate_key=
; View the saved password without verifying the system login password
; This function is implemented by the original author and is enabled by default
; 无需验证系统登录密码即可查看浏览器已保存的密码
; 该功能由原作者实现并默认开启
show_password=1
; Forcibly disable Chrome's disable of win32k, that is, enable win32k support
; It is not enabled by default, and should only be enabled when Chrome++ causes Chrome to crash at startup
; This feature should not be used with mactype at the same time, Chrome should be excluded in mactype
; 强制禁用 Chrome 对 win32k 的禁用,即启用 win32k 支持
; 默认不启用,只有当 Chrome++ 导致 Chrome 启动时崩溃,才应该尝试启用
; 此功能不应该和 mactype 同时使用, 需要在 mactype 中排除 Chrome
win32k=0
; Prevent reading Chrome enterprise policies from the registry
; 阻止从注册表读取 Chrome 企业版策略
ignore_policies=0
; double_click_close -- Double left click to close the tab
; right_click_close -- Right click to close the tab (pop up the original menu when the Shift key is pressed)
; keep_last_tab -- Keep the last tab from closing the window
; wheel_tab -- Use the mouse wheel to switch tab when the mouse is on the tab bar
; wheel_tab_when_press_rbutton -- Use the mouse wheel to switch tab when the right mouse button is pressed anywhere (if you use mouse gesture software, it will not take effect)
; open_url_new_tab -- New foreground tab opens the contents entered in address bar (1 for foreground, 2 for background)
; open_bookmark_new_tab -- New foreground tab opens the bookmark (1 for foreground, 2 for background)
; new_tab_disable -- If the current tab is a new tab, disable the above two options
; new_tab_disable_name -- When new_tab_disable is 1, define the tab names that need to be opened new_tab_disable here
; -- The names are wrapped in quotes ("") and separated by commas (,) for multiple tabs. These names exist as complements to the built-in list
; double_click_close -- 双击左键关闭标签页
; right_click_close -- 右键关闭标签页(按 Shift 键时弹出原有菜单)
; keep_last_tab -- 保留最后一个标签页不关闭窗口
; wheel_tab -- 鼠标在标签栏时使用鼠标滚轮切换标签页
; wheel_tab_when_press_rbutton -- 在任何位置按住右键时使用鼠标滚轮切换标签页(若使用了鼠标手势软件则不生效)
; open_url_new_tab -- 新建前台标签页打开地址栏输入的内容(1为前台,2为后台)
; open_bookmark_new_tab -- 新建前台标签页打开书签(1为前台,2为后台)
; new_tab_disable -- 如果当前标签页是新标签页,则禁用上面两个选项
; new_tab_disable_name -- 当 new_tab_disable 为 1 时,在这里额外定义需要开启 new_tab_disable 的标签页名称
; -- 名称使用引号 ("") 包裹,多个标签页用逗号 (,) 分隔。这些名称作为内置列表的补集存在
[tabs]
double_click_close=1
right_click_close=0
keep_last_tab=1
wheel_tab=1
wheel_tab_when_press_rbutton=1
open_url_new_tab=0
open_bookmark_new_tab=0
new_tab_disable=1
new_tab_disable_name="about:blank","新建标签"
; Key mapping allows you toremap keyboard shortcuts
; Format: SourceKey=TargetKey or SourceKey=command:ID
; Keys: same as boss_key (Ctrl, Alt, Shift, Win, F1-F12, A-Z, 0-9, etc.)
; Command ID: https://github.com/chromium/chromium/blob/main/chrome/app/chrome_command_ids.h
; Example: F2=Ctrl+PageUp (F2 switches to previous tab)
; Example: Ctrl+H=command:34014 (Ctrl+H opens new tab, 34014=IDC_NEW_TAB)
; 按键映射允许你重新映射快捷键
; 格式:源按键=目标按键 或 源按键=command:命令ID
; 按键:与 boss_key 相同(Ctrl、Alt、Shift、Win、F1-F12、A-Z、0-9 等)
; 命令 ID:https://github.com/chromium/chromium/blob/main/chrome/app/chrome_command_ids.h
; 示例:F2=Ctrl+PageUp(F2 切换到上一个标签页)
; 示例:Alt+Shift+S=command:40015(Alt+Shift+S 打开设置,40015=IDC_OPTIONS)
[keymapping]
; F2=Ctrl+PageUp
; Alt+Shift+S=command:40015