; 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=OutdatedBuildDetector --disable-field-trial-config ; 追加 Chromium 命令行开关 ; 可以模仿下面的形式来写,注意空格,不要换行 ; command_line=--disable-features=OutdatedBuildDetector --disable-field-trial-config 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 run as `cmd /c ` without a console window, and programs with their own windows show them as usual ; For a command that needs a console, such as a script waiting for input, write `start "" ` ; The browser waits up to 3 seconds for these commands before it exits, so a program that keeps running adds 3 seconds to every exit ; A relaunched browser runs launch_on_startup after this wait, even if a command is still running ; launch_on_exit="D:\Google Chrome\App\clean.bat";taskkill /f /im chrome.exe; ; 在浏览器退出时执行的程序或命令,多个用分号(;)分隔 ; 可以参考下面的形式来写,注意行末需要加分号 ; 命令会被封装成 `cmd /c ` 的形式执行,不显示控制台窗口,有自己窗口的程序照常显示 ; 需要控制台的命令,例如要等待输入的脚本,写成 `start "" ` ; 浏览器退出前最多等待这些命令 3 秒,一直运行的程序会让每次退出都多等 3 秒 ; 重启后的浏览器在等待结束后执行 launch_on_startup,即使有命令还没结束 ; 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= ; 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 ; Suppress Chrome's false "out of date" upgrade notification ; Portable Chrome has no updater component, so its installed-version check is invalid and Chrome shows an "out of date / relaunch" prompt that relaunch can never clear. ; This removes only that false prompt; it does NOT disable genuine update notifications or the outdated-build (OutdatedBuildDetector) warning. ; Off by default; leave it off if you run version.dll in an updater-managed Chrome and want real upgrade prompts. ; To also silence the genuine outdated-build warning on a deliberately frozen old build, append command_line: `--disable-features=OutdatedBuildDetector` ; 抑制 Chrome 的错误“已过期”升级提示 ; 便携版 Chrome 没有更新组件,已安装版本检测无效,会显示无法通过重启消除的“已过期 / 重新启动”提示 ; 此项仅移除该错误提示,不会关闭真正的更新通知或过期版本(OutdatedBuildDetector)警告 ; 默认关闭;若在带更新组件的 Chrome 中使用 version.dll 并希望收到真实更新提示,请保持关闭。 ; 如需在刻意停留的旧版本上同时关闭过期版本警告,可追加 command_line:`--disable-features=OutdatedBuildDetector` suppress_false_upgrade_notification=0 ; Use Chrome++ to apply builds staged by an external updater, such as Pitstop (https://github.com/Bush2021/pitstop), a manager for portable Chrome that sets this key itself ; The updater places new_chrome.exe and the version directory beside chrome.exe, then writes the version to chrome++.staged ; Reports the staged version when available, otherwise the running version, regardless of suppress_false_upgrade_notification ; Chrome's "Relaunch to update" applies the staged build. Off by default. ; 通过 Chrome++ 应用外部更新程序暂存的版本,例如便携版 Chrome 管理工具 Pitstop(https://github.com/Bush2021/pitstop),它会自行设置此项 ; 更新程序将 new_chrome.exe 和版本目录放在 chrome.exe 旁,再将版本号写入 chrome++.staged ; 有暂存版本就报告暂存版本,否则报告运行版本,不受 suppress_false_upgrade_notification 影响 ; 点击 Chrome 的“重新启动以更新”后应用暂存版本,默认关闭 managed_updates=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 supplements to the built-in list ; hover_tab -- Hover a tab to activate it after a delay (off by default) ; hover_tab_delay -- Milliseconds the cursor must rest on a tab before it activates (0-5000, values outside fall back to 400) ; 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 的标签页名称 ; -- 名称使用引号 ("") 包裹,多个标签页用逗号 (,) 分隔。这些名称作为内置列表的补充存在 ; hover_tab -- 鼠标在标签页上停留后自动激活该标签页(默认关闭) ; hover_tab_delay -- 鼠标停留在标签页上多久后触发激活,单位毫秒(0-5000,超出范围时使用默认值 400) [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","新建标签" hover_tab=0 hover_tab_delay=400 ; 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