有没有根据域名自定义快捷键的 chrome 插件?
資深大佬 : fyooo 13
之前用习惯了 google docs,经常条件反射的 Cmd+S
现在公司要求改去用企业微信文档,企业微信文档的 Cmd+S 没有屏蔽这个 shortcut 。
跟 V 友们请教一下有没有相关的插件可以解决这个问题?
大佬有話說 (2)
现在公司要求改去用企业微信文档,企业微信文档的 Cmd+S 没有屏蔽这个 shortcut 。
跟 V 友们请教一下有没有相关的插件可以解决这个问题?
但是貌似没有生效,不知道搞个类似的么?
“`
// ==UserScript==
// @name weixin doc
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author you
// @match https://doc.weixin.qq.com/
// @grant none
// ==/UserScript==
(function() {
window.addEventListener(‘keydown’,function(event){
if (event. metaKey && event.keyCode == 83) {
// window.location.href = “about:blank”
// window.close()
alert(1)
}
})
})()
“`