Rich shortcuts to click links/switch tabs/scroll, capture pages, use your browser like vim for productivity.
10 / 10 The must-have extension for vimer
最新版本导致在输入框和表格ctrl+a全选失效了,按之后输入光标回到开头,发现最新版扩展是这么重新定义的快捷键,点输入框会自动进输入模式有点激进,看github issue抄了一下设置,按一次ctrl+a还是全选,再按一次ctrl+a(或者按住ctrl重按一次a)光标回到开头 function getRealEdit(event) { var rt = event ? event.target : document.activeElement; // on some pages like chrome://history/, input is in shadowRoot of several other recursive shadowRoots. while (rt && rt.shadowRoot) { if (rt.shadowRoot.activeElement) { rt = rt.shadowRoot.activeElement; } else if (rt.shadowRoot.querySelector('input, textarea, select')) { rt = rt.shadowRoot.querySelector('input, textarea, select'); break; } else { break; } } if (rt === window) { rt = document.body; } return rt; } api.imapkey('<Ctrl-a>', "Move cursor to the start of line or select line.", function() { var element = getRealEdit(); if (element.setSelectionRange !== undefined) { if (element.selectionStart == element.selectionEnd) { element.select(); } else { element.setSelectionRange(0, 0); } } else { // for contenteditable div var selection = document.getSelection(); if (selection.toString() == '') { selection.selectAllChildren(selection.focusNode.parentNode); } else { selection.setPosition(selection.focusNode, 0); } } });
怎么又不能写脚本了。。。
Ilya Sukhar, Phil Crosby, Stephen Blott
Ghjuvan Lacambre
https://gdh1995.cn/
gdh1995
https://ghosttext.github.io/
LeoKu
Skylar Bolton
http://appsweets.net/
sciooga
Kenshin Wang
https://rsshub.app
https://vinta.ws