New Userscript

custom keymap overlay for monkeytype

目前為 2021-06-21 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Larry Trotter
評價
0 0 0
版本
0.1
建立日期
2021-06-21
更新日期
2021-06-21
尺寸
1.4 KB
授權條款
未知
腳本執行於

Edit the keymap by swapping keys.
For certain symbols/keys like quotation, where you may be unsure of what you should write it as, just inspect element the key and look at the value of 'id'. The value will be in the form of "KeySomething". You have to input the "Something" in the swap() function.

Confusing swapping:
Let's say you swapped some on the bottom row and now you want to shift all keys to the left of it to the right and have this key go to the extreme right:
Z X C T
You want this to be: T Z X C
The way you go about this is:
swap("T","C");
swap("T","X");

This works because in the second swap keep in mind that C and T have already exchanged positions and now the current layout would be X T C, so obviously you'd want to swap T and X to shift it further to the left end.

Right clicking on the site will swap the keys and right clicking again would revert it(due to the same set of swaps getting executed).