您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
This script works on any browser and simulates the Opera Browser Mouse Gestures, but with this script you can modify or disable them as you want.
当前为
If you use the Opera Browser and your mouse gestures are activated follow the steps below before installing the script.
1 Go to Settings.
2 Click Advanced in the left sidebar, and click Browser.
3 Under Shortcuts, turn OFF Enable mouse gestures.
If you want to modify the mouse gestures start on Line 18 in the script codes.Here's how to do it.
L = Means Left.
D = Means Down.
U = Means Up.
R = Means Right.
Example:
Change this 'L': function() {
to
'D': function() {
Before the right click+Left would Go Back your browser history, now we've changed Left to Down, so right click+Down will Go Back your browser history from now on.
If you want to disable any of the gestures, you just need to add 2 slashes "//" in front of all the line codes from
//Function that will run when the mouse movement *** is performed
Till
//Finishes the mouse movement ***
Example:
// 'R': function() { //Function that will run when the mouse movement Right is performed
// window.history.forward(); //Go Foward
// }, //Finishes the mouse movement Right
Before the right click+Right mouse gesture would Go Foward your browser history, but now when you do a right click+Right mouse gesture nothing will happen.
I may or not make these modifications easier to do in the future, install the script so you can be aware of new release updates.
Action | Gesture | |
---|---|---|
Go back one page | ![]() | Move left |
Go forward one page | ![]() | Move right |
Open a new tab | ![]() | Move down |
Reload the page | ![]() | Move straight up, then straight down |
Close current tab | ![]() | Move down, then right |
Open a link in a background tab | ![]() | Move straight down, then straight up |
Open a link in a new tab | ![]() | Move down |
Open a link in a new window | Shift ⇧ + ![]() | Move down, holding shift |