|« 拡張機能が無効あるいは削除される前に何らかの処理を実行したい||[userChrome.js] 軽量マウスジェスチャ »|
I like mouse gestures, but All-in-One Gestures and Optimoz Mouse Gestures both have too much unwanted features for me. I tried to reduce unwanted parts from AiOG but I gave up since the original source codes was very complex.
And so, I made it by myself from scratch as a small user script for userChrome.js extension, which has only less than 200 lines.
- No mouse trails. Because it would be one of a factor to be slow down the gesture. Nonetheless we can implement it by picking ‘trails.js’ from AiOG.
- As much as possible, it executes the ‘built-in’ commands of Firefox itself when we perform actions by gestures.
- No options dialog. But we can economically and flexibly customize by editing the script directly. For more details, please see ‘_performAction’ method in the script below.