如何删除Chromium中的所有键盘快捷键?(How to delete all keyboard shortcuts in Chromium?)

系统教程 行业动态 更新时间:2024-06-14 16:57:40
如何删除Chromium中的所有键盘快捷键?(How to delete all keyboard shortcuts in Chromium?)

我们目前正在开发基于Chromium的Web应用程序。 在无法退出应用程序范围(即页面)的意义上,应用程序可能充当用户的操作系统。

为此,我希望以一种可以通过自动安装轻松复制的方式完全删除Chromium的所有快捷方式。

但是,我读到没有简单的方法来处理Chromium上的快捷方式:没有配置文件,控制台中没有任何内容......我找到的唯一解决方案是使用像快捷方式管理器这样的扩展,但这使得在没有快捷方式的情况下自动配置Chromium的过程变得困难(我不确定这些可以绝对根除所有这些)。

似乎修改Chromium的来源是可行的方法,但我无法弄清楚这样的过程会发生在哪里。 我说的正确吗? 任何帮助将不胜感激。

We are currently working on an web application based on Chromium. The application might act as an OS for the user in the sense that it is impossible to exit the scope of the application (i.e. the page).

For this sake, I want to completely erase all shortcuts from Chromium, in a way that can be easily reproduced by an automatic installation.

However, I read that there is no easy way to handle shortcuts on Chromium : no config file, nothing in the console… The only solution I found is to use extensions like Shortcut manager, but this renders difficult the process of automatically configuring Chromium without shortcuts (and I am not sure these can absolutely eradicate all of them).

It seems that modifying Chromium's sources is the way to go, but I could not figure out where such a process would take place. I am correct stating this ? Any help there would be appreciated.

最满意答案

正如我所想,最好的解决方案可能是改变Chromium的来源。 我们终于设法找到了accelerator_table.cc中的快捷方式列表。

从那里你可以简单地评论你不想听到的快捷方式,并重新编译。

As I thought, the best solution is probably to change Chromium's sources. We finally managed to locate the list of the shortcuts in accelerator_table.cc.

From there you can just simply comment the shortcuts you don't want to hear about, and recompile.

更多推荐

本文发布于:2023-04-13 12:46:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/dzcp/d12fa54049c62946573401be7115600f.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:快捷键   键盘   Chromium   shortcuts   keyboard

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!