This repository has been archived by the owner on Mar 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
standard_mouse.ini
112 lines (97 loc) · 5.8 KB
/
standard_mouse.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
Opera Preferences version 2.0
; Mouse input specification file for Opera 7.0
; This file is stored in UTF-8 encoding
; http://simpleu.googlecode.com/svn/trunk/Opera/standard_mouse.ini
; 20:11 2013/4/5
[Version]
File Version=1
[Info]
Name=SimpleU Mouse
Description=Opera SimpleU Standard Mouse Setup
Author=KwokTree
Version=1
[Application]
GestureUp = Stop | Go to start
;↑ 上 = 转到页面顶部 | 如果当前页面在刷新则停止载入
GestureUp, GestureDown = Reload
;↑↓ 上-下 = 刷新
GestureUp, GestureLeft = Switch to previous page
;↑← 上-左 = 转到本标签左边的标签
GestureUp, GestureRight = Switch to next page
;↑→ 上-右 = 转到本标签右边的标签
GestureDown = Open link in new page | Go to end
;↓ 下 = 转到页面底部 | 如果在页面的链接上使用本手势,则在后台打开该链接
GestureDown, GestureUp = New private page
;↓↑ 下-上 = 新建隐身标签
GestureDown, GestureLeft = Undo
;↓← 下-左 = 关闭当前标签
GestureDown, GestureRight = Close page, 1
;↓→ 下-右 = 恢复刚才关闭的标签
GestureLeft = Back | Go to page,"javascript:(function(){var document=(this.content && this.content.window)? this.content.window.wrappedJSObject.document: this.document;var event=document.createEvent('HTMLEvents');event.initEvent('superPreloader.back',true,false);document.dispatchEvent(event);})();"
;← 左 = 后退,超级后退 | 自动翻页上一页
GestureLeft, GestureRight = Duplicate page
;←→ 左-右 = 克隆标签
GestureLeft, GestureUp = Go to parent directory
;←↑ 左-上 = 转到上级目录
GestureLeft, GestureDown = Rewind, 0
;←↓ 左-下 = 快退
GestureRight = Wand | Forward | Go to page, "javascript: (function(){ const PREV_NEXT = 'next'; const KEYWORDS = ['next', '下一页', '全文', '>', '>>']; function loadURI(url){ location.href = url; } function IncrementURL() { var url = location.href; if (!url.match(/(.*:\/\/.*\/.*)(\d+)(\D*)$/)) return false; var num = RegExp.$2; var digit = (num.charAt(0) == '0') ? num.length : null; num = parseInt(num, 10) + 1; if (num < 0) return false; num = num.toString(); digit = digit - num.length; for (var i = 0; i < digit; i++) num = '0' + num; loadURI(RegExp.$1 + num + RegExp.$3); } var doc = document; var links = doc.getElementsByTagName('link'); for (var i = 0; i < links.length; i++) { if (links[i].href && links[i].hasAttribute('rel') && links[i].getAttribute('rel').toLowerCase().indexOf(PREV_NEXT) == 0) { loadURI(links[i].href); return; } } var regexp = new RegExp('(' + KEYWORDS.join('|') + ')', 'i'); links = doc.links; for (i = 0; i < links.length; i++) { if (links[i].href && links[i].textContent && links[i].textContent.match(regexp)) { var len = RegExp.$1.length; var per = (len == 1) ? 0.3 : 0.4; if(links[i].textContent.length * per < len){ loadURI(links[i].href); return; } } } IncrementURL(); })();"
;→ 右 = 登 录 Wand填表 | 前进,超级快进 | 自动翻页下一页
GestureRight, GestureLeft = Lock page | Unlock page
;→← 右-左 = 锁定标签 | 解锁标签
GestureRight, GestureUp = Go to page, "%t"| Hotclick search
;→↑ 右-上 = 访问该网址 | 搜索该内容
GestureRight, GestureDown = Manage,"Transfers"
;→↓ 右-下 = 下载
GestureUp,GestureDown, GestureUp=Exit
;↑↓↑上下上 = 退出,关闭所有窗口,这些窗口在下次启动时会被恢复
GestureDown, GestureLeft, GestureDown=Switch to previous page & Open url in new page, "opera:blank" & delay,1 & Manage, "windows" & delay,1 & Insert,"opera:blank" & go & delay,1 & clear & Focus next widget & next item & Range go to start & Range next item & delay,1 & close page
;↓←↓下左下 = 关闭左侧标签
GestureDown, GestureRight, GestureDown=Open url in new page, "opera:blank" & Switch to previous page & delay,1 & Manage, "windows" & delay,1 & Insert,"opera:blank" & go & delay,1 & clear & Focus next widget & previous item & Range go to end & close page
;↓→↓下右下 = 关闭右侧标签
FlipBack = Back
;按住左键点右键 = 后退
FlipBack shift = Rewind, 0
;按住右键点左键 = 快退
FlipForward = Copy | Switch to next page
;点住左键按右键 = 没有选中文字则(在网页空白处)则转到下个标签页 | 如果勾选文字则复制选中文本
FlipForward shift = Fast forward, 0
;点住右键按左键
Button3= Copy
;中键复制(选中文字后点击鼠标中键快速复制选中)
Platform Windows-MCE, Button6 = Back
Platform Windows-MCE, Button7 = Forward | Fast forward, 0
Platform Mac, Button4 = Back
Platform Mac, Button5 = Forward | Fast forward, 0
Button8 = Back
Button9 = Forward | Fast forward, 0
WheelLeft = Scroll left | page down
;滚轮左键
WheelRight = Scroll right | page up
;滚轮右键
[Browser Window]
Platform Mac, SwipeUp = Page up
Platform Mac, SwipeDown = Page down
Platform Mac, SwipeLeft = Back
Platform Mac, SwipeRight = Forward | Fast forward, 0
[Tree Widget]
GestureLeft = Close all items
GestureRight = Open all items
FlipBack = Close all items
FlipForward = Open all items
[Edit Widget]
GestureLeft = Backspace
;← 左 = 清除地址栏
GestureRight = Copy & Go to Page,"javascript:(function(){if(location.hostname!=''){window.open()}else return;})()" & delay,1 & Paste and go
;→ 右 =
Button3= Copy | Clear
;中键(在编辑框内选中状态下为复制,未选中状态下为清除 均为短按)
WheelLeft = Paste
;滚轮左键(粘贴)
WheelRight = Copy | Select all & delay,1 & Copy & delay,1 & Deselect all
;滚轮右键
[Address Dropdown Widget]
GestureLeft,GestureRight=Range go to line start & Copy
;
GestureRight,GestureLeft=Range go to line end & Copy
;