简体   繁体   English

在Chrome浏览器中禁用源代码视图

[英]Disable source view in chrome browser

我是否可以访问诸如禁用ContextMenu Items和禁用热键( Ctrl-U )之类的浏览器选项。如何配置浏览器的“ View Source选项被禁用?

There are many solution available to disable context menu using standard JavaScript but I don't think it is possible to disable it using chrome extension. 有许多解决方案可以使用标准JavaScript禁用上下文菜单,但我认为无法使用chrome扩展名禁用上下文菜单。

However to can add or remove custom items to it: More information available here: http://developer.chrome.com/extensions/contextMenus.html 但是可以向其中添加或删除自定义项目:此处提供更多信息: http : //developer.chrome.com/extensions/contextMenus.html

Same goes for shortcuts, I don't think it allows you to overwrite the default behaviour that comes out of box. 快捷方式也是如此,我认为它不能覆盖现成的默认行为。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM