File tree Expand file tree Collapse file tree 4 files changed +21
-0
lines changed Expand file tree Collapse file tree 4 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -1147,6 +1147,9 @@ const Events = Module("events", {
1147
1147
return ;
1148
1148
}
1149
1149
1150
+ if ( ! options [ 'passthrough' ] )
1151
+ event . stopPropagation ( ) ;
1152
+
1150
1153
// liberator.echo ("key: " + key + "\nkeycode: " + event.keyCode + "\nchar: " + event.charCode + "\ntype: " + event.type + "\nwhich: " + event.which);
1151
1154
} ,
1152
1155
Original file line number Diff line number Diff line change @@ -1130,6 +1130,10 @@ const Tabs = Module("tabs", {
1130
1130
]
1131
1131
} ) ;
1132
1132
1133
+ options . add ( [ "passthrough" ] ,
1134
+ "Define if keypresses are passed to webpages outside of Insert mode" ,
1135
+ "boolean" , false ) ;
1136
+
1133
1137
options . add ( [ "popups" , "pps" ] ,
1134
1138
"Where to show requested popup windows" ,
1135
1139
"stringlist" , "tab" ,
Original file line number Diff line number Diff line change 893
893
</item >
894
894
895
895
896
+ <item >
897
+ <tags >'nopassthrough' 'passthrough'</tags >
898
+ <spec >'passthrough'</spec >
899
+ <type >boolean</type >
900
+ <default >off</default >
901
+ <description >
902
+ <p >Define if keypresses are passed to webpages if you are not in Insert mode.</p >
903
+ </description >
904
+ </item >
905
+
906
+
896
907
<item >
897
908
<tags >'pps' 'popups'</tags >
898
909
<spec >'popups' 'pps'</spec >
Original file line number Diff line number Diff line change 7
7
browser.tabs.closeWindowWithLastTab, which means those who are used to :tabclose never closing
8
8
the window when closing the last tab, should set this option to false (either through about:config
9
9
or with :set! browser.tabs.closeWindowWithLastTab=false)
10
+ * Added setting for controlling if keypresses are passed to webpages when
11
+ outside of Insert/Passthrough modes (to revert to old setting,
12
+ :set passthrough=true)
10
13
* gr toggles Reader View
11
14
* Autohide statusbar: When entering fullscreen mode, the statusbar is
12
15
hidden and temporarily showed up with command inputs. Also, Users can
You can’t perform that action at this time.
0 commit comments