File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -1098,12 +1098,22 @@ const Events = Module("events", {
1098
1098
1099
1099
onKeyUpOrDown : function ( event ) {
1100
1100
// Always let the event be handled by the webpage/Firefox for certain modes
1101
- if ( modes . passNextKey || modes . passAllKeys || modes . isMenuShown || Events . isInputElemFocused ( ) )
1101
+ if ( modes . passNextKey || modes . isMenuShown || Events . isInputElemFocused ( ) )
1102
1102
return ;
1103
1103
1104
+ let key = events . toString ( event ) ;
1105
+ if ( modes . passAllKeys ) {
1106
+ // Respect "unignored" keys
1107
+ if ( modes . _passKeysExceptions == null || modes . _passKeysExceptions . indexOf ( key ) < 0 ) {
1108
+ return ;
1109
+ } else {
1110
+ event . stopPropagation ( ) ;
1111
+ return ;
1112
+ }
1113
+ }
1114
+
1104
1115
// Many sites perform (useful) actions on keydown.
1105
1116
// Let's keep the most common ones unless we have a mapping for that
1106
- let key = events . toString ( event ) ;
1107
1117
if ( event . type == "keydown" && this . isEscapeKey ( key ) ) {
1108
1118
this . onEscape ( ) ; // We do our Escape handling here, as the on "onKeyPress" may not always work if websites override the keydown event
1109
1119
event . stopPropagation ( ) ;
Original file line number Diff line number Diff line change 228
228
# content-frame , # appcontent {
229
229
border : 0px ;
230
230
}
231
+
232
+ # liberator-commandline-command .textbox-search-icons {
233
+ display : none !important ;
234
+ }
231
235
}
232
236
233
237
/* vim: set fdm=marker sw=4 ts=4 et: */
Original file line number Diff line number Diff line change 1
1
201x-xx-xx:
2
+ * Stop propagation for keyboard event if that key are contained in -except option on :ignorekeys
2
3
3
4
2015-08-25:
4
5
* Version 3.10.1
You can’t perform that action at this time.
0 commit comments