跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • 有没有根据域名自定义快捷键的 chrome 插件?
未分類
13 7 月 2020

有没有根据域名自定义快捷键的 chrome 插件?

有没有根据域名自定义快捷键的 chrome 插件?

資深大佬 : fyooo 13

之前用习惯了 google docs,经常条件反射的 Cmd+S

现在公司要求改去用企业微信文档,企业微信文档的 Cmd+S 没有屏蔽这个 shortcut 。

跟 V 友们请教一下有没有相关的插件可以解决这个问题?

大佬有話說 (2)

  • 資深大佬 : whileFalse

    油猴自己写一个?

  • 主 資深大佬 : fyooo

    @whileFalse 谢谢哈,没有用过油猴,我写了一个,参考 https://toffee24.github.io/blog/2019/07/19/chrome%E5%BF%AB%E6%8D%B7%E9%94%AE%E5%A4%AA%E5%8F%8D%E4%BA%BA%E7%B1%BB-%E4%B8%8D%E6%83%B3%E5%AE%89%E8%A3%85%E9%A2%9D%E5%A4%96%E6%8F%92%E4%BB%B6-%E9%82%A3%E5%B0%B1%E7%94%A8TamperMonkey%E5%86%99%E4%B8%AA%E8%84%9A%E6%9C%AC/

    但是貌似没有生效,不知道搞个类似的么?

    “`
    // ==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)
    }
    })
    })()
    “`

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具