-
Notifications
You must be signed in to change notification settings - Fork 1
/
qutebrowser.conf
1407 lines (1393 loc) · 43.1 KB
/
qutebrowser.conf
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# vim: ft=dosini
# Configfile for qutebrowser.
#
# This configfile is parsed by python's configparser in extended
# interpolation mode. The format is very INI-like, so there are
# categories like [general] with "key = value"-pairs.
#
# Note that you shouldn't add your own comments, as this file is
# regenerated every time the config is saved.
#
# Interpolation looks like ${value} or ${section:value} and will be
# replaced by the respective value.
#
# Some settings will expand environment variables. Note that, since
# interpolation is run first, you will need to escape the $ char as
# described below.
#
# This is the default config, so if you want to remove anything from
# here (as opposed to change/add), for example a key binding, set it to
# an empty value.
#
# You will need to escape the following values:
# - # at the start of the line (at the first position of the key) (\#)
# - $ in a value ($$)
[general]
# General/miscellaneous options.
#
# ignore-case (IgnoreCase):
# Whether to find text on a page case-insensitively.
# true: Search case-insensitively
# false: Search case-sensitively
# smart: Search case-sensitively if there are capital chars
# Default: smart
#
# wrap-search (Bool):
# Whether to wrap finding text to the top when arriving at the end.
# Valid values: true, false
# Default: true
#
# startpage (List):
# The default page(s) to open at the start, separated by commas.
# Default: https://duckduckgo.com
#
# default-page (FuzzyUrl):
# The page to open if :open -t/-b/-w is used without URL. Use
# `about:blank` for a blank page.
# Default: ${startpage}
#
# auto-search (AutoSearch):
# Whether to start a search when something else than a URL is
# entered.
# naive: Use simple/naive check.
# dns: Use DNS requests (might be slow!).
# false: Never search automatically.
# Default: naive
#
# auto-save-config (Bool):
# Whether to save the config automatically on quit.
# Valid values: true, false
# Default: true
#
# auto-save-interval (Int):
# How often (in milliseconds) to auto-save config/cookies/etc.
# Default: 15000
#
# editor (ShellCommand):
# The editor (and arguments) to use for the `open-editor` command.
# The arguments get split like in a shell, so you can use `"` or `'`
# to quote them.
# `{}` gets replaced by the filename of the file to be edited.
# Default: gvim -f "{}"
#
# editor-encoding (Encoding):
# Encoding to use for editor.
# Default: utf-8
#
# private-browsing (Bool):
# Do not record visited pages in the history or store web page
# icons.
# Valid values: true, false
# Default: false
#
# developer-extras (Bool):
# Enable extra tools for Web developers.
# This needs to be enabled for `:inspector` to work and also adds an
# _Inspect_ entry to the context menu.
# Valid values: true, false
# Default: false
#
# print-element-backgrounds (Bool):
# Whether the background color and images are also drawn when the
# page is printed.
# Valid values: true, false
# Default: true
#
# xss-auditing (Bool):
# Whether load requests should be monitored for cross-site scripting
# attempts.
# Suspicious scripts will be blocked and reported in the inspector's
# JavaScript console. Enabling this feature might have an impact on
# performance.
# Valid values: true, false
# Default: false
#
# site-specific-quirks (Bool):
# Enable workarounds for broken sites.
# Valid values: true, false
# Default: true
#
# default-encoding (String):
# Default encoding to use for websites.
# The encoding must be a string describing an encoding such as
# _utf-8_, _iso-8859-1_, etc. If left empty a default value will be
# used.
# Default:
#
# new-instance-open-target (String):
# How to open links in an existing instance if a new one is
# launched.
# tab: Open a new tab in the existing window and activate the
# window.
# tab-bg: Open a new background tab in the existing window and
# activate the window.
# tab-silent: Open a new tab in the existing window without
# activating the window.
# tab-bg-silent: Open a new background tab in the existing
# window without activating the window.
# window: Open in a new window.
# Default: tab
#
# log-javascript-console (String):
# How to log javascript console messages.
# none: Don't log messages.
# debug: Log messages with debug level.
# info: Log messages with info level.
# Default: debug
#
# save-session (Bool):
# Whether to always save the open pages.
# Valid values: true, false
# Default: false
#
# session-default-name (SessionName):
# The name of the session to save by default, or empty for the last
# loaded session.
# Default:
#
# url-incdec-segments (FlagList):
# The URL segments where `:navigate increment/decrement` will search
# for a number.
# Valid values: host, path, query, anchor
# Default: path,query
ignore-case = smart
wrap-search = true
startpage = https://google.ca
default-page = ${startpage}
auto-search = naive
auto-save-config = true
auto-save-interval = 15000
editor = gvim -f "{}"
editor-encoding = utf-8
private-browsing = false
developer-extras = true
print-element-backgrounds = true
xss-auditing = false
site-specific-quirks = true
default-encoding =
new-instance-open-target = tab
log-javascript-console = debug
save-session = false
session-default-name =
url-incdec-segments = path,query
[ui]
# General options related to the user interface.
#
# zoom-levels (PercList):
# The available zoom levels, separated by commas.
# Default:
# 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500%
#
# default-zoom (Perc):
# The default zoom level.
# Default: 100%
#
# downloads-position (VerticalPosition):
# Where to show the downloaded files.
# Valid values: top, bottom
# Default: top
#
# message-timeout (Int):
# Time (in ms) to show messages in the statusbar for.
# Default: 2000
#
# message-unfocused (Bool):
# Whether to show messages in unfocused windows.
# Valid values: true, false
# Default: false
#
# confirm-quit (ConfirmQuit):
# Whether to confirm quitting the application.
# always: Always show a confirmation.
# multiple-tabs: Show a confirmation if multiple tabs are
# opened.
# downloads: Show a confirmation if downloads are running
# never: Never show a confirmation.
# Default: never
#
# display-statusbar-messages (Bool):
# Whether to display javascript statusbar messages.
# Valid values: true, false
# Default: false
#
# zoom-text-only (Bool):
# Whether the zoom factor on a frame applies only to the text or to
# all content.
# Valid values: true, false
# Default: false
#
# frame-flattening (Bool):
# Whether to expand each subframe to its contents.
# This will flatten all the frames to become one scrollable page.
# Valid values: true, false
# Default: false
#
# user-stylesheet (UserStyleSheet):
# User stylesheet to use (absolute filename, filename relative to
# the config directory or CSS string). Will expand environment
# variables.
# Default: ::-webkit-scrollbar { width: 0px; height: 0px; }
#
# css-media-type (String):
# Set the CSS media type.
# Default:
#
# smooth-scrolling (Bool):
# Whether to enable smooth scrolling for webpages.
# Valid values: true, false
# Default: false
#
# remove-finished-downloads (Int):
# Number of milliseconds to wait before removing finished downloads.
# Will not be removed if value is -1.
# Default: -1
#
# hide-statusbar (Bool):
# Whether to hide the statusbar unless a message is shown.
# Valid values: true, false
# Default: false
#
# statusbar-padding (Padding):
# Padding for statusbar (top, bottom, left, right).
# Default: 1,1,0,0
#
# window-title-format (FormatString):
# The format to use for the window title. The following placeholders
# are defined:
# * `{perc}`: The percentage as a string like `[10%]`.
# * `{perc_raw}`: The raw percentage, e.g. `10`
# * `{title}`: The title of the current web page
# * `{title_sep}`: The string ` - ` if a title is set, empty
# otherwise.
# * `{id}`: The internal window ID of this window.
# * `{scroll_pos}`: The page scroll position.
# Default: {perc}{title}{title_sep}qutebrowser
#
# hide-mouse-cursor (Bool):
# Whether to hide the mouse cursor.
# Valid values: true, false
# Default: false
#
# modal-js-dialog (Bool):
# Use standard JavaScript modal dialog for alert() and confirm()
# Valid values: true, false
# Default: false
#
# hide-wayland-decoration (Bool):
# Hide the window decoration when using wayland (requires restart)
# Valid values: true, false
# Default: false
zoom-levels = 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500%
default-zoom = 100%
downloads-position = bottom
message-timeout = 2000
message-unfocused = false
confirm-quit = never
display-statusbar-messages = false
zoom-text-only = false
frame-flattening = false
user-stylesheet = ::-webkit-scrollbar { width: 0px; height: 0px; }
css-media-type =
smooth-scrolling = false
remove-finished-downloads = -1
hide-statusbar = false
statusbar-padding = 1,1,0,0
window-title-format = {perc}{title}{title_sep}qutebrowser
hide-mouse-cursor = false
modal-js-dialog = false
hide-wayland-decoration = false
[network]
# Settings related to the network.
#
# do-not-track (Bool):
# Value to send in the `DNT` header.
# Valid values: true, false
# Default: true
#
# accept-language (String):
# Value to send in the `accept-language` header.
# Default: en-US,en
#
# referer-header (String):
# Send the Referer header
# always: Always send.
# never: Never send; this is not recommended, as some sites may
# break.
# same-domain: Only send for the same domain. This will still
# protect your privacy, but shouldn't break any sites.
# Default: same-domain
#
# user-agent (UserAgent):
# User agent to send. Empty to send the default.
# Default:
#
# proxy (Proxy):
# The proxy to use.
# In addition to the listed values, you can use a `socks://...` or
# `http://...` URL.
# system: Use the system wide proxy.
# none: Don't use any proxy
# Default: system
#
# proxy-dns-requests (Bool):
# Whether to send DNS requests over the configured proxy.
# Valid values: true, false
# Default: true
#
# ssl-strict (BoolAsk):
# Whether to validate SSL handshakes.
# Valid values: true, false, ask
# Default: ask
#
# dns-prefetch (Bool):
# Whether to try to pre-fetch DNS entries to speed up browsing.
# Valid values: true, false
# Default: true
#
# custom-headers (HeaderDict):
# Set custom headers for qutebrowser HTTP requests.
# Default:
do-not-track = true
accept-language = en-US,en
referer-header = same-domain
user-agent =
proxy = system
proxy-dns-requests = true
ssl-strict = ask
dns-prefetch = true
custom-headers =
[completion]
# Options related to completion and command history.
#
# auto-open (Bool):
# Automatically open completion when typing.
# Valid values: true, false
# Default: true
#
# download-path-suggestion (String):
# What to display in the download filename input.
# path: Show only the download path.
# filename: Show only download filename.
# both: Show download path and filename.
# Default: path
#
# timestamp-format (TimestampTemplate):
# How to format timestamps (e.g. for history)
# Default: %Y-%m-%d
#
# show (Bool):
# Whether to show the autocompletion window.
# Valid values: true, false
# Default: true
#
# height (PercOrInt):
# The height of the completion, in px or as percentage of the
# window.
# Default: 50%
#
# cmd-history-max-items (Int):
# How many commands to save in the command history.
# 0: no history / -1: unlimited
# Default: 100
#
# web-history-max-items (Int):
# How many URLs to show in the web history.
# 0: no history / -1: unlimited
# Default: 1000
#
# quick-complete (Bool):
# Whether to move on to the next part when there's only one possible
# completion left.
# Valid values: true, false
# Default: true
#
# shrink (Bool):
# Whether to shrink the completion to be smaller than the configured
# size if there are no scrollbars.
# Valid values: true, false
# Default: false
#
# scrollbar-width (Int):
# Width of the scrollbar in the completion window (in px).
# Default: 12
#
# scrollbar-padding (Int):
# Padding of scrollbar handle in completion window (in px).
# Default: 2
auto-open = true
download-path-suggestion = path
timestamp-format = %Y-%m-%d
show = true
height = 50%
cmd-history-max-items = 100
web-history-max-items = 1000
quick-complete = true
shrink = false
scrollbar-width = 12
scrollbar-padding = 2
[input]
# Options related to input modes.
#
# timeout (Int):
# Timeout for ambiguous key bindings.
# Default: 500
#
# partial-timeout (Int):
# Timeout for partially typed key bindings.
# Default: 1000
#
# insert-mode-on-plugins (Bool):
# Whether to switch to insert mode when clicking flash and other
# plugins.
# Valid values: true, false
# Default: false
#
# auto-leave-insert-mode (Bool):
# Whether to leave insert mode if a non-editable element is clicked.
# Valid values: true, false
# Default: true
#
# auto-insert-mode (Bool):
# Whether to automatically enter insert mode if an editable element
# is focused after page load.
# Valid values: true, false
# Default: false
#
# forward-unbound-keys (String):
# Whether to forward unbound keys to the webview in normal mode.
# all: Forward all unbound keys.
# auto: Forward unbound non-alphanumeric keys.
# none: Don't forward any keys.
# Default: auto
#
# spatial-navigation (Bool):
# Enables or disables the Spatial Navigation feature.
# Spatial navigation consists in the ability to navigate between
# focusable elements in a Web page, such as hyperlinks and form
# controls, by using Left, Right, Up and Down arrow keys. For
# example, if a user presses the Right key, heuristics determine
# whether there is an element he might be trying to reach towards
# the right and which element he probably wants.
# Valid values: true, false
# Default: false
#
# links-included-in-focus-chain (Bool):
# Whether hyperlinks should be included in the keyboard focus chain.
# Valid values: true, false
# Default: true
#
# rocker-gestures (Bool):
# Whether to enable Opera-like mouse rocker gestures. This disables
# the context menu.
# Valid values: true, false
# Default: false
#
# mouse-zoom-divider (Int):
# How much to divide the mouse wheel movements to translate them
# into zoom increments.
# Default: 512
timeout = 500
partial-timeout = 1000
insert-mode-on-plugins = false
auto-leave-insert-mode = true
auto-insert-mode = false
forward-unbound-keys = auto
spatial-navigation = false
links-included-in-focus-chain = true
rocker-gestures = false
mouse-zoom-divider = 512
[tabs]
# Configuration of the tab bar.
#
# background-tabs (Bool):
# Whether to open new tabs (middleclick/ctrl+click) in background.
# Valid values: true, false
# Default: false
#
# select-on-remove (SelectOnRemove):
# Which tab to select when the focused tab is removed.
# left: Select the tab on the left.
# right: Select the tab on the right.
# previous: Select the previously selected tab.
# Default: right
#
# new-tab-position (NewTabPosition):
# How new tabs are positioned.
# left: On the left of the current tab.
# right: On the right of the current tab.
# first: At the left end.
# last: At the right end.
# Default: right
#
# new-tab-position-explicit (NewTabPosition):
# How new tabs opened explicitly are positioned.
# left: On the left of the current tab.
# right: On the right of the current tab.
# first: At the left end.
# last: At the right end.
# Default: last
#
# last-close (String):
# Behavior when the last tab is closed.
# ignore: Don't do anything.
# blank: Load a blank page.
# startpage: Load the start page.
# default-page: Load the default page.
# close: Close the window.
# Default: ignore
#
# show (String):
# When to show the tab bar
# always: Always show the tab bar.
# never: Always hide the tab bar.
# multiple: Hide the tab bar if only one tab is open.
# switching: Show the tab bar when switching tabs.
# Default: always
#
# show-switching-delay (Int):
# Time to show the tab bar before hiding it when tabs->show is set
# to 'switching'.
# Default: 800
#
# wrap (Bool):
# Whether to wrap when changing tabs.
# Valid values: true, false
# Default: true
#
# movable (Bool):
# Whether tabs should be movable.
# Valid values: true, false
# Default: true
#
# close-mouse-button (String):
# On which mouse button to close tabs.
# right: Close tabs on right-click.
# middle: Close tabs on middle-click.
# none: Don't close tabs using the mouse.
# Default: middle
#
# position (Position):
# The position of the tab bar.
# Valid values: top, bottom, left, right
# Default: top
#
# show-favicons (Bool):
# Whether to show favicons in the tab bar.
# Valid values: true, false
# Default: true
#
# width (PercOrInt):
# The width of the tab bar if it's vertical, in px or as percentage
# of the window.
# Default: 20%
#
# indicator-width (Int):
# Width of the progress indicator (0 to disable).
# Default: 3
#
# tabs-are-windows (Bool):
# Whether to open windows instead of tabs.
# Valid values: true, false
# Default: false
#
# title-format (FormatString):
# The format to use for the tab title. The following placeholders
# are defined:
# * `{perc}`: The percentage as a string like `[10%]`.
# * `{perc_raw}`: The raw percentage, e.g. `10`
# * `{title}`: The title of the current web page
# * `{title_sep}`: The string ` - ` if a title is set, empty
# otherwise.
# * `{index}`: The index of this tab.
# * `{id}`: The internal tab ID of this tab.
# * `{scroll_pos}`: The page scroll position.
# Default: {index}: {title}
#
# title-alignment (TextAlignment):
# Alignment of the text inside of tabs
# Valid values: left, right, center
# Default: left
#
# mousewheel-tab-switching (Bool):
# Switch between tabs using the mouse wheel.
# Valid values: true, false
# Default: true
#
# padding (Padding):
# Padding for tabs (top, bottom, left, right).
# Default: 0,0,5,5
#
# indicator-padding (Padding):
# Padding for indicators (top, bottom, left, right).
# Default: 2,2,0,4
background-tabs = false
select-on-remove = right
new-tab-position = right
new-tab-position-explicit = last
last-close = ignore
show = always
show-switching-delay = 800
wrap = true
movable = true
close-mouse-button = middle
position = top
show-favicons = true
width = 20%
indicator-width = 3
tabs-are-windows = false
title-format = {index}: {title}
title-alignment = left
mousewheel-tab-switching = true
padding = 0,0,5,5
indicator-padding = 2,2,0,4
[storage]
# Settings related to cache and storage.
#
# download-directory (Directory):
# The directory to save downloads to. An empty value selects a
# sensible os-specific default. Will expand environment variables.
# Default:
#
# prompt-download-directory (Bool):
# Whether to prompt the user for the download location.
# If set to false, 'download-directory' will be used.
# Valid values: true, false
# Default: true
#
# remember-download-directory (Bool):
# Whether to remember the last used download directory.
# Valid values: true, false
# Default: true
#
# maximum-pages-in-cache (Int):
# The maximum number of pages to hold in the global memory page
# cache.
# The Page Cache allows for a nicer user experience when navigating
# forth or back to pages in the forward/back history, by pausing and
# resuming up to _n_ pages.
# For more information about the feature, please refer to:
# http://webkit.org/blog/427/webkit-page-cache-i-the-basics/
# Default:
#
# object-cache-capacities (WebKitBytesList):
# The capacities for the global memory cache for dead objects such
# as stylesheets or scripts. Syntax: cacheMinDeadCapacity,
# cacheMaxDead, totalCapacity.
# The _cacheMinDeadCapacity_ specifies the minimum number of bytes
# that dead objects should consume when the cache is under pressure.
# _cacheMaxDead_ is the maximum number of bytes that dead objects
# should consume when the cache is *not* under pressure.
# _totalCapacity_ specifies the maximum number of bytes that the
# cache should consume *overall*.
# Default:
#
# offline-storage-default-quota (WebKitBytes):
# Default quota for new offline storage databases.
# Default:
#
# offline-web-application-cache-quota (WebKitBytes):
# Quota for the offline web application cache.
# Default:
#
# offline-storage-database (Bool):
# Whether support for the HTML 5 offline storage feature is enabled.
# Valid values: true, false
# Default: true
#
# offline-web-application-storage (Bool):
# Whether support for the HTML 5 web application cache feature is
# enabled.
# An application cache acts like an HTTP cache in some sense. For
# documents that use the application cache via JavaScript, the
# loader engine will first ask the application cache for the
# contents, before hitting the network.
# The feature is described in details at:
# http://dev.w3.org/html5/spec/Overview.html#appcache
# Valid values: true, false
# Default: true
#
# local-storage (Bool):
# Whether support for the HTML 5 local storage feature is enabled.
# Valid values: true, false
# Default: true
#
# cache-size (Int):
# Size of the HTTP network cache.
# Default: 52428800
download-directory =
prompt-download-directory = true
remember-download-directory = true
maximum-pages-in-cache =
object-cache-capacities =
offline-storage-default-quota =
offline-web-application-cache-quota =
offline-storage-database = true
offline-web-application-storage = true
local-storage = true
cache-size = 52428800
[content]
# Loaded plugins/scripts and allowed actions.
#
# allow-images (Bool):
# Whether images are automatically loaded in web pages.
# Valid values: true, false
# Default: true
#
# allow-javascript (Bool):
# Enables or disables the running of JavaScript programs.
# Valid values: true, false
# Default: true
#
# allow-plugins (Bool):
# Enables or disables plugins in Web pages.
# Qt plugins with a mimetype such as "application/x-qt-plugin" are
# not affected by this setting.
# Valid values: true, false
# Default: false
#
# webgl (Bool):
# Enables or disables WebGL.
# Valid values: true, false
# Default: false
#
# css-regions (Bool):
# Enable or disable support for CSS regions.
# Valid values: true, false
# Default: true
#
# hyperlink-auditing (Bool):
# Enable or disable hyperlink auditing (<a ping>).
# Valid values: true, false
# Default: false
#
# geolocation (BoolAsk):
# Allow websites to request geolocations.
# Valid values: true, false, ask
# Default: ask
#
# notifications (BoolAsk):
# Allow websites to show notifications.
# Valid values: true, false, ask
# Default: ask
#
# javascript-can-open-windows (Bool):
# Whether JavaScript programs can open new windows.
# Valid values: true, false
# Default: false
#
# javascript-can-close-windows (Bool):
# Whether JavaScript programs can close windows.
# Valid values: true, false
# Default: false
#
# javascript-can-access-clipboard (Bool):
# Whether JavaScript programs can read or write to the clipboard.
# Valid values: true, false
# Default: false
#
# ignore-javascript-prompt (Bool):
# Whether all javascript prompts should be ignored.
# Valid values: true, false
# Default: false
#
# ignore-javascript-alert (Bool):
# Whether all javascript alerts should be ignored.
# Valid values: true, false
# Default: false
#
# local-content-can-access-remote-urls (Bool):
# Whether locally loaded documents are allowed to access remote
# urls.
# Valid values: true, false
# Default: false
#
# local-content-can-access-file-urls (Bool):
# Whether locally loaded documents are allowed to access other local
# urls.
# Valid values: true, false
# Default: true
#
# cookies-accept (String):
# Control which cookies to accept.
# all: Accept all cookies.
# no-3rdparty: Accept cookies from the same origin only.
# no-unknown-3rdparty: Accept cookies from the same origin only,
# unless a cookie is already set for the domain.
# never: Don't accept cookies at all.
# Default: no-3rdparty
#
# cookies-store (Bool):
# Whether to store cookies.
# Valid values: true, false
# Default: true
#
# host-block-lists (UrlList):
# List of URLs of lists which contain hosts to block.
# The file can be in one of the following formats:
# - An '/etc/hosts'-like file
# - One host per line
# - A zip-file of any of the above, with either only one file, or a
# file named 'hosts' (with any extension).
# Default:
# http://www.malwaredomainlist.com/hostslist/hosts.txt,http://someonewhocares.org/hosts/hosts,http://winhelp2002.mvps.org/hosts.zip,http://malwaredomains.lehigh.edu/files/justdomains.zip,http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext
#
# host-blocking-enabled (Bool):
# Whether host blocking is enabled.
# Valid values: true, false
# Default: true
#
# host-blocking-whitelist (List):
# List of domains that should always be loaded, despite being
# ad-blocked.
# Domains may contain * and ? wildcards and are otherwise required
# to exactly match the requested domain.
# Local domains are always exempt from hostblocking.
# Default: piwik.org
#
# enable-pdfjs (Bool):
# Enable pdf.js to view PDF files in the browser.
# Note that the files can still be downloaded by clicking the
# download button in the pdf.js viewer.
# Valid values: true, false
# Default: false
allow-images = true
allow-javascript = true
allow-plugins = false
webgl = true
css-regions = true
hyperlink-auditing = false
geolocation = ask
notifications = ask
javascript-can-open-windows = false
javascript-can-close-windows = false
javascript-can-access-clipboard = false
ignore-javascript-prompt = false
ignore-javascript-alert = false
local-content-can-access-remote-urls = false
local-content-can-access-file-urls = true
cookies-accept = no-3rdparty
cookies-store = true
host-block-lists = http://www.malwaredomainlist.com/hostslist/hosts.txt,http://someonewhocares.org/hosts/hosts,http://winhelp2002.mvps.org/hosts.zip,http://malwaredomains.lehigh.edu/files/justdomains.zip
host-blocking-enabled = true
host-blocking-whitelist = piwik.org
enable-pdfjs = false
[hints]
# Hinting settings.
#
# border (String):
# CSS border value for hints.
# Default: 1px solid #E3BE23
#
# opacity (Float):
# Opacity for hints.
# Default: 0.7
#
# mode (String):
# Mode to use for hints.
# number: Use numeric hints.
# letter: Use the chars in the hints -> chars setting.
# word: Use hints words based on the html elements and the extra
# words.
# Default: letter
#
# chars (UniqueCharString):
# Chars used for hint strings.
# Default: asdfghjkl
#
# min-chars (Int):
# Minimum number of chars used for hint strings.
# Default: 1
#
# scatter (Bool):
# Whether to scatter hint key chains (like Vimium) or not (like
# dwb).
# Valid values: true, false
# Default: true
#
# uppercase (Bool):
# Make chars in hint strings uppercase.
# Valid values: true, false
# Default: false
#
# dictionary (File):
# The dictionary file to be used by the word hints.
# Default: /usr/share/dict/words
#
# auto-follow (Bool):
# Follow a hint immediately when the hint text is completely
# matched.
# Valid values: true, false
# Default: true
#
# next-regexes (RegexList):
# A comma-separated list of regexes to use for 'next' links.
# Default:
# \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b,\bcontinue\b
#
# prev-regexes (RegexList):
# A comma-separated list of regexes to use for 'prev' links.
# Default: \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b
border = 1px solid #E3BE23
opacity = 0.7
mode = letter
chars = asdfghqwertjkl
min-chars = 1
scatter = true
uppercase = false
dictionary = /usr/share/dict/words
auto-follow = true
next-regexes = \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b,\bcontinue\b
prev-regexes = \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b
[searchengines]
# Definitions of search engines which can be used via the address bar.
# The searchengine named `DEFAULT` is used when `general -> auto-search`
# is true and something else than a URL was entered to be opened. Other
# search engines can be used by prepending the search engine name to the
# search term, e.g. `:open google qutebrowser`. The string `{}` will be
# replaced by the search term, use `{{` and `}}` for literal `{`/`}`
# signs.
DEFAULT = https://google.ca/search?q={}
[aliases]
# Aliases for commands.
# By default, no aliases are defined. Example which adds a new command
# `:qtb` to open qutebrowsers website:
# `qtb = open http://www.qutebrowser.org/`
[colors]
# Colors used in the UI.
# A value can be in one of the following format:
# * `#RGB`/`#RRGGBB`/`#RRRGGGBBB`/`#RRRRGGGGBBBB`
# * A SVG color name as specified in http://www.w3.org/TR/SVG/types.html#ColorKeywords[the W3C specification].
# * transparent (no color)
# * `rgb(r, g, b)` / `rgba(r, g, b, a)` (values 0-255 or percentages)
# * `hsv(h, s, v)` / `hsva(h, s, v, a)` (values 0-255, hue 0-359)
# * A gradient as explained in http://doc.qt.io/qt-5/stylesheet-reference.html#list-of-property-types[the Qt documentation] under ``Gradient''.
# A *.system value determines the color system to use for color
# interpolation between similarly-named *.start and *.stop entries,
# regardless of how they are defined in the options. Valid values are
# 'rgb', 'hsv', and 'hsl'.
# The `hints.*` values are a special case as they're real CSS colors, not Qt-CSS colors. There, for a gradient, you need to use `-webkit-gradient`, see https://www.webkit.org/blog/175/introducing-css-gradients/[the WebKit documentation].
#
# completion.fg (QtColor):
# Text color of the completion widget.
# Default: white
#
# completion.bg (QssColor):
# Background color of the completion widget.
# Default: #333333
#
# completion.alternate-bg (QssColor):
# Alternating background color of the completion widget.
# Default: #444444
#
# completion.category.fg (QtColor):
# Foreground color of completion widget category headers.
# Default: white
#
# completion.category.bg (QssColor):
# Background color of the completion widget category headers.