3 .\" Copyright (c) 2010, 2011 Marco Peereboom <marco@peereboom.us>
4 .\" Copyright (c) 2011 Jason McIntyre <jmc@openbsd.org>
6 .\" Permission to use, copy, modify, and distribute this software for any
7 .\" purpose with or without fee is hereby granted, provided that the above
8 .\" copyright notice and this permission notice appear in all copies.
10 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 .Dd $Mdocdate: October 14 2011 $
23 .Nd lightweight web browser
29 .Op Fl s Ar session_name
34 is a minimalistic web browser that tries to stay out of the way so that
35 valuable screen real estate can be used for much more important stuff.
36 It has sane defaults and does not require one to learn a language to do any
38 It was written by hackers for hackers
39 and it strives to be small, compact, and fast.
42 is very simple in its use.
43 Most actions are initiated via key or mouse bindings.
44 Key bindings are based on those of the
47 giving web browsing a similar feel to navigating a text document.
50 section below documents the various defaults and possible customizations.
52 The options are as follows:
55 Specify an alternative configuration file.
57 Open a new tab in a running
59 for each specified URL.
64 Execute arbitrary command (see the
66 section below) in a running
68 instance. This option requires
70 to be enabled. Example run: xxxterm -e "tabnew openbsd.org"; xxxterm -e
71 tabclose; xxxterm -e wq.
74 .It Fl s Ar session_name
75 Open session that was saved with ":session save" command.
77 Disable visualization of tabs.
81 Display version and exit.
84 The following notation is used throughout this page:
86 .Bl -tag -width Ds -offset indent -compact
92 Meta 1 (sometimes marked Alt)
98 Meta 4 (sometimes marked Windows)
105 To browse to a specific address,
106 either use the mouse to click on the address bar
109 to shift the keyboard focus to the address bar.
110 The address is then entered manually.
112 The mouse can be used to navigate the page in the traditional manner,
113 or the keyboard can be used instead.
118 will scroll up and down the page.
121 either click on it or use the
125 assign numbers to each link on the page;
126 entering that number on the keyboard will prompt
131 provides many actions accessed via key or mouse bindings.
132 Most can be reprogrammed using a
134 entry in the configuration file.
135 Each keyboard shortcut requires exactly one entry in the configuration file.
136 A shortcut can have multiple entries in the configuration file.
137 The format of the keybinding entry is as follows:
139 .D1 keybinding = action,(!)keystroke(s)
141 For example, "keybinding = tabnew,C-t" where
147 GTK has some default keybindings for manipulating text inside input
148 fields, such as the URI or search entry widget, for example
150 deletes a word. To override these defaults prefix your key with an
151 exclamation mark, like this: "keybinding = tabclose,!C-w".
154 key word is special and is meant to reset the key binding list to the GTK+
156 This keyword should be the first
158 entry in the configuration file.
160 Shift should be used sparingly since it gets in the way of non-USA keyboards.
161 See the accompanying configuration file for examples.
163 The various bindings are documented below.
164 The relevant keybinding action is given afterwards, in parentheses.
166 These commands are used to focus or unfocus input on the default input of a web
169 .Bl -tag -width Ds -offset indent -compact
171 Go to command mode; unfocus current entry on web page.
174 Go to insert mode; focus on default entry on web page.
178 These commands are used to search for text strings within a web page.
180 .Bl -tag -width Ds -offset indent -compact
185 Start a backwards search
188 Next item matching search
191 Previous item matching search
195 These commands are used to shift the focus of
197 from one area to another.
199 .Bl -tag -width Ds -offset indent -compact
204 Focus on search entry
208 These commands allow the user to map specific actions to specific keys.
209 It can be useful when the
213 .Bl -tag -width Ds -offset indent -compact
217 Alias for ":proxy toggle"
219 Alias for ":toplevel toggle"
224 Alias for ":open current-uri"
225 .Pq Cm promptopencurrent
230 Alias for ":tabnew current-uri"
231 .Pq Cm prompttabnewcurrent
233 .Ss Navigation Commands
234 These commands allow the user to navigate web pages and,
238 .Bl -tag -width "Space, C-f, PageDownXXX" -offset indent -compact
242 .It Cm Backspace, M-Left
245 .It Cm S-BackSpace, M-Right
252 Previous line on page
260 .It Cm Space, C-f, PageDown
262 .Pq Cm scrollpagedown
274 .Pq Cm scrollfarright
294 Toggle Java Script enabled for FQDN
300 Toggle cookie enabled for FQDN
303 Toggle plugins enabled for FQDN
308 supports tabbed browsing.
309 That is, web pages may be opened in separate tabs,
310 allowing the user to quickly move from one page to another,
312 These commands then are used to create, destroy, and move between tabs.
314 .Bl -tag -width "C-plus, C-equalXXX" -offset indent -compact
316 Open new tab with the clicked link
318 Create new tab with focus in URL entry
321 Create new tab with focus in URL entry as the last tab in the browser
329 .It Cm C-Left, C-PageUp
330 Go to the previous tab
332 .It Cm C-Right, C-PageDown
338 .Pq Cm tabnext [1..9]
348 .It Cm C-plus, C-equal
352 Set zoom level to 100%
355 .Ss Yanking and pasting
356 These commands copy and paste text to and from the clipboard.
358 .Bl -tag -width Ds -offset indent -compact
360 Paste the contents of the clipboard into the address bar
363 Paste the contents of the clipboard into a new tab
366 Yank the current URL into the clipboard
369 .Ss Hyperlink Following
370 This allows the user to follow hyperlinks
371 without using a mouse.
372 Enter the corresponding number to follow the link.
373 Alternatively one can type the name of the link and when there are no more
376 will follow the link.
378 .Bl -tag -width Ds -offset indent -compact
380 Highlight all links and prefix them with a number.
383 Highlight all links and prefix them with a number but open in a new tab.
384 .Pq Cm hinting_newtab
387 Commands to exit the browser.
389 .Bl -tag -width Ds -offset indent -compact
394 .Ss Low-Contrast Color Scheme
395 These commands toggle the page style between the default CSS and a
396 low-contrast color scheme with light grey text on a dark grey background.
398 .Bl -tag -width Ds -offset indent -compact
400 Toggle the current tab's style.
403 Toggle the global page style mode.
404 Will also affect new tabs.
405 .Pq Cm userstyle_global
407 .Ss Insert-mode commands
408 The following commands are only available when editing an input-field
410 .Bl -tag -width Ds -offset indent -compact
412 Edit the contents of the currently active input-element in an external editor.
416 Command mode works in a similar fashion to the
419 it is entered by typing a colon and exited by typing Esc.
420 The commands and their descriptions are listed below.
421 .Bl -tag -width Ds -offset indent
422 .It Cm about , version
423 Show the "About" page.
424 .It Cm buffers , ls , tabs
425 Displays the currently open tabs and lets the user switch tab by typing
426 the tab number or using the mouse.
428 Display CA certificates.
429 .It Cm cert , cert show
430 Download and display certificates of domain on tab.
432 Save certificate into a local store.
433 The next time the site is visited it is compared against the store.
434 If the certificate matches,
435 the address bar will be blue;
436 if it doesn't the bar will be red.
440 command is used to manipulate the cookie whitelist.
441 Used by itself it expands to
442 .Cm cookie show all .
444 Show cookie jar contents.
446 Remove all cookies from the cookie jar.
447 .It Cm cookie save, cookie save fqdn
448 Save the current fully qualified domain name (FQDN)
449 to the persistent whitelist.
451 the www.peereboom.us domain would result in saving .www.peereboom.us.
452 .It Cm cookie save domain
453 Save the top level domain name to the persistent whitelist.
455 the www.peereboom.us domain would result in saving .peereboom.us.
457 This action enables cookies if it is currently disabled for this entry.
458 .It Cm cookie show all
459 Show all persistent and session entries in the cookie whitelist.
460 .It Cm cookie show persistent
461 Show all persistent entries in the cookie whitelist.
462 .It Cm cookie show session
463 Show all session entries in the cookie whitelist.
464 .It Cm cookie toggle domain
465 Toggle cookie support for the current top level domain.
466 .It Cm cookie toggle, cookie toggle fqdn
467 Toggle cookie support for the current FQDN.
469 Show download manager.
470 .It Cm encoding <encoding>
473 is set the tab's encoding will be set to
482 will display the current tab encoding.
484 Opens the source for the current tab in the editor specified by the
487 and then checks for changes to the file opened. If it is changed, the
488 page will be updated.
490 If a text-element is currently active (<input> or <textarea>), it's
491 contents will be opened in the same fashion as for the command
497 Add the current page to favorites.
498 .It Cm fullscreen , f
499 Toggle hiding tabs and url entry toolbar.
500 .It Cm h , hist , history
509 command is used to manipulate the Java Script whitelist.
510 Used by itself it expands to
512 .It Cm js save, save fqdn
513 Saves the FQDN to the persistent whitelist.
515 the www.peereboom.us domain would result in saving .www.peereboom.us.
516 .It Cm js save domain
517 Saves the top level domain name to the persistent whitelist.
519 the www.peereboom.us domain would result in saving .peereboom.us.
521 This action enables Java Script if it is currently disabled for this entry.
523 Shows all persistent and session entries in the JS whitelist.
524 .It Cm js show persistent
525 Shows all persistent entries in the JS whitelist.
526 .It Cm js show session
527 Shows all session entries in the JS whitelist.
528 .It Cm js toggle, js toggle fqdn
529 Toggle Java Script execution for the current FQDN.
530 .It Cm js toggle domain
531 Toggle Java Script execution for the current top level domain.
533 If auto_load_images is disabled, load all images for current site.
534 .It Cm open , op , o URL
539 command is used to manipulate the plugin whitelist.
540 Used by itself it expands to
541 .Cm plugin show all .
542 .It Cm plugin save, save fqdn
543 Saves the FQDN to the persistent whitelist.
545 the www.peereboom.us domain would result in saving .www.peereboom.us.
546 .It Cm plugin save domain
547 Saves the top level domain name to the persistent whitelist.
549 the www.peereboom.us domain would result in saving .peereboom.us.
551 This action enables plugins if they are currently disabled for this entry.
552 .It Cm plugin show all
553 Shows all persistent and session entries in the plugin whitelist.
554 .It Cm plugin show persistent
555 Shows all persistent entries in the plugin whitelist.
556 .It Cm plugin show session
557 Shows all session entries in the plugin whitelist.
558 .It Cm plugin toggle, plugin toggle fqdn
559 Toggle plugin execution for the current FQDN.
560 .It Cm plugin toggle domain
561 Toggle plugin execution for the current top level domain.
567 command is used to manipulate the currently set proxy.
568 Used by itself it expands to
575 Enables or disables the proxy for
579 must be set before it can be toggled.
580 .It Cm qa , qall , quitall
584 Close current tab and quit
586 if it is the last tab.
590 and reload all current tabs.
591 .It Cm run_script [path_to_script]
592 Runs the script path_to_script with the current uri as the argument.
593 If path_to_script is not provided, the value of default_script is used
595 .It Cm script [filename]
596 Run an external JavaScript script file in the current tab context.
597 .It Cm session , Cm session show
598 Display the current session name.
599 By default the session name is main_session.
600 To create a new session use the
603 A session is defined as the lifetime of the browser application.
604 .It Cm session delete <session_name>
605 Delete session session_name from persistent storage.
606 If session_name is the current session then the session will revert to
608 .It Cm session open <session_name>
609 Open session_name and close all currently open tabs.
610 Going forward this session is named session_name.
611 .It Cm session save <session_name>
612 Save current tabs to session_name session.
613 This will close the current session and going forward this session is named
616 The set command is used to inspect, clear or change runtime options.
617 There are 3 methods to use
619 When used by itself as
621 the command displays all options as currently set.
624 .Cm :set option=value .
626 .Cm :set http_proxy=http://127.0.0.1:8080 .
631 .Cm :set http_proxy= .
633 Note, not all options can be set at runtime.
635 Show blocked cookie statistics.
636 These statistics vary based on settings and are not persistent.
637 .It Cm statustoggle , statust
640 Stop loading the current web page.
645 .It Cm tabnew , tabedit [URL]
646 Create new tab and optionally open provided URL.
650 Go to the previous tab.
653 .It Cm toplevel , toplevel toggle
654 Toggle the top level domain name cookie and JS session whitelist.
655 This is to enable/disable short lived full site functionality without
656 permanently adding the top level domain to the persistent whitelist.
657 .It Cm urlhide , urlh
658 Hide url entry and tool bar.
659 .It Cm urlshow , urls
660 Show url entry and tool bar.
662 Save open tabs to current session.
663 The tabs will be restored next time the session is opened.
664 See the session command for additional details.
666 Save open tabs and quit.
667 The tabs will be restored next time
669 the session is opened.
670 See the session command for additional details.
673 In addition to shortcuts and commands
675 provides buffer commands. Buffer commands are short, multi character
676 vi-like commands, often requiring an argument. Partial buffer commands
678 displayed in the buffer command statusbar element (see
679 .Cm statusbar_elems ) .
680 Pressing Esc or switching to another tab cancels a partially entered
681 buffer command. In the following list
683 denotes the argument a buffer command accepts. Buffer commands are
684 defined as extended regular experssions.
685 Note that if a character is used as a shortcut it will not be interpreted
686 as the beginning of a buffer command. This is the case with
689 .Bl -tag -width "['][a-zA-Z0-9]XXX" -offset indent -compact
691 go to the top of the page
693 go to the bottom of the page
699 go to 50% of the page
705 is missing, 1 is assumed. Going a
706 level up means going to a URI obtained from the current one by removing
707 the last slash ('/') character and everything that follows it
709 go to the root level, i.e. going up as many levels as possible.
711 open the home page in the current tab
713 set a mark denoted by
715 at the current page position. These marks behave like those in vi or
717 .It Cm ['][a-zA-Z0-9]
718 go to the position where mark
722 set the current uri as quickmark
725 open the uri marked as quickmark
729 open the uri marked as quickmark
758 set zoom level to 100%
765 Quickmarks are like bookmarks, except they are refered to by a single
766 character (a letter or a digit), instead of a longer name. See the
771 buffer commands for usage. Quickmarks are stored in
772 .Pa ~/.xxxterm/quickmarks
773 and are saved automatically after each
777 The about screens are internally generated web pages by
779 for user interaction.
780 These are entered in the address bar and the format is
782 where screen is the desired screen to display.
783 For example about:favorites.
784 Any about screen can be used as the home page as specified by
786 in the configuration file.
788 .Bl -tag -width "downloadsXXX" -offset indent -compact
790 show the about screen
794 show the cookie whitelist screen
796 show the cookiejar screen
798 show the downloads screen
800 show the favorites screen
802 show the help web page
804 show the history screen
806 show the Java Script whitelist screen
808 show the settings screen
810 show the statistics screen
813 This section describes advanced usage settings.
814 Most users should use
818 and skip over this section.
821 has a number of whitelists to control blocking cookies and Java Script
822 execution for FQDNs or domains.
823 When properly enabled these whitelists require either the FQDN or top level
824 domain to exist in the whitelists in order to allow cookies to be stored or
825 Java Script to execute.
826 Both Java Script and cookies have two whitelists associated with them.
827 The whitelists are called session and persistent.
828 Items in the session whitelists are only allowed for the lifetime of the
831 Items in the persistent whitelists are stored on disk and are restored
834 Setting up the whitelists is a little tricky due to intricacies of WebKit.
835 In fact the semantics are different for cookies and Java Script.
837 Cookie whitelist requires the following configuration to be set:
839 .Bl -tag -width "enable_cookie_whitelistXXX" -offset indent -compact
840 .It Cm cookies_enabled
841 This is a WebKit setting and must be set to
844 in order to be able to use a
846 .It Cm enable_cookie_whitelist
847 This needs to be set to
849 to enable the cookie whitelist functionality.
851 These entries in the configuration file are the actual domains names in the
855 Java Script whitelist requires the following configuration to be set:
857 .Bl -tag -width "enable_js_whitelistXXX" -offset indent -compact
858 .It Cm enable_scripts
859 This is a WebKit setting and must be set to
862 in order to be able to use a
863 Java Script whitelist.
864 .It Cm enable_js_whitelist
865 This needs to be set to
867 to enable the Java Script whitelist functionality.
869 These entries in the configuration file are the actual domains names in the
870 Java Script whitelist.
873 Plugin whitelist requires the following configuration to be set:
875 .Bl -tag -width "enable_plugin_whitelistXXX" -offset indent -compact
876 .It Cm enable_plugins
877 This is a WebKit setting and must be set to
880 in order to be able to use a
882 .It Cm enable_plugin_whitelist
883 This needs to be set to
885 to enable the plugin whitelist functionality.
887 These entries in the configuration file are the actual domains names in the
893 section for additional configuration file entries and details
894 that alter runtime behavior.
896 .Bl -tag -width "/etc/xxxterm.confXXX" -compact
897 .It Pa ~/.xxxterm.conf
899 user specific settings.
906 tries to open the user specific file,
907 .Pa ~/.xxxterm.conf .
908 If that file is unavailable,
909 it then uses built-in defaults.
911 The format of the file is \*(Ltkeyword\*(Gt = \*(Ltsetting\*(Gt.
914 .Dl http_proxy = http://127.0.0.1:8080
916 Enabling or disabling an option is done by using 1 or 0 respectively.
918 The file supports the following keywords:
920 .Bl -tag -width "enable_cookie_whitelistXXX" -offset indent -compact
922 Defines an alias for a given URL, so that the URL is loaded when the alias is
923 entered in the address bar.
924 If the aliased URL includes a %s format specifier, then any argument given after
925 the alias on the address bar is substituted.
926 For example, if g,http://www.google.com/search?q=%s is defined as an alias,
927 then the URL http://www.google.com/search?q=foo is loaded when navigating to
929 .It Cm allow_volatile_cookies
930 If set cookies are stored in the session cache but will be discarded once
933 Unfortunately enabling this does allow for some limited tracking on the web.
935 When set a new tab is appended after the current tab instead of being appended
937 .It Cm auto_load_images
938 If disabled, images will not be loaded automatically.
939 .It Cm autofocus_onload
940 When set a tab that is loaded will attempt to autofocus the default input
942 This is only done for tabs that are currently visible.
946 browser has 3 default operating modes:
954 mode the browser allows all cookies, plugins and Java Script as any other
956 This means that all cookies are saved to persistent storage and that all
957 Java Script and plugins run.
959 On the other hand, using the
961 mode enables whitelists.
962 This requires the user to add all the required
968 If a domain does not appear in the whitelists
970 disallows cookies, Java Script and plugin execution.
974 mode the browse works just like
976 mode however the toolbar only has the backward, forward and home button.
978 This setting must be the first entry in
980 because it sets advanced settings that can be overridden later in the file.
981 See the default config file for more details.
983 Set the command prompt font.
985 .Pa cmd_font = monospace normal 9 .
986 .It Cm color_visited_uris
987 When enabled (the default)
989 will color visited links. This is done while the web page loads using
990 JavaScript, rather than WebKit's (broken, see bug #51747) built-in
991 facility for coloring visited links. The JavaScript approach is
992 (probably) slower and is not consistent across tabs (unless the tabs are
993 reloaded), but has the advantage of not leaking history data to web
994 pages (see http://wtikay.com/docs/details.html).
996 This field delineates the cookie policy.
997 Possible values are: no3rdparty, reject 3rd party cookies.
998 accept, accept all cookies.
999 reject, reject all cookies.
1001 This is a cookie whitelist item.
1002 Use multiple times to add multiple entries.
1003 Valid entries are for example *.moo.com and the equivalent .moo.com.
1004 A fully qualified host is also valid and is for example www.moo.com.
1005 .It Cm cookies_enabled
1007 .It Cm ctrl_click_focus
1008 Give focus in newly created tab instead of opening it in the background.
1009 .It Cm default_script
1010 Path to the script used as the default value for the run_script
1012 .It Cm default_zoom_level
1013 Set the default browsing zoom level.
1015 Locations where files are downloaded to.
1016 This directory must exist and
1018 validates that during startup.
1019 .It Cm download_mode
1020 Controls how downloads are handled.
1021 Possible values are:
1022 .Bd -literal -offset indent
1023 start - automatically start download.
1024 ask - ask user for confirmation.
1025 add - add to downloadmanager, but
1028 The default is "start".
1029 .It Cm enable_autoscroll
1030 When enabled clicking MB3 will spawn the autoscroll ball, scrolling can
1031 then proceed by dragging the mouse away from the ball.
1032 .It Cm enable_cookie_whitelist
1033 When enabled all cookies must be in the whitelist or they are rejected.
1034 Additionally whitelisted cookies also enable HTML5 local storage for the
1036 .It Cm enable_favicon_entry
1037 When enabled (the default)
1039 displays the favicon of the web page at the URI entry. This setting
1045 .It Cm enable_favicon_tabs
1046 When enabled (disabled by default)
1048 displays favicons at each tab. This setting only affects
1051 .It Cm enable_js_whitelist
1052 When enabled all domains must be in the js whitelist in order to run Java
1057 .It Cm enable_plugin_whitelist
1058 When enabled all domains must be in the plugin whitelist in order to run
1063 .It Cm enable_plugins
1064 Enable external plugins such as Flash and Java.
1065 .It Cm enable_strict_transport
1066 Enable support for the Strict-Transport-Security HTTP-header.
1067 When enabled, sites that set this flag will only be visited via HTTPS.
1069 .It Cm enable_scripts
1071 .It Cm enable_socket
1072 When enabled the first instance of
1074 will create a socket in the
1077 Using the -n url option on subsequent
1079 invocations will cause the specified URL to be loaded in a new tab.
1080 Only a user with identical UID and GID can use this option.
1081 .It Cm enable_localstorage
1082 Enable html5 Local Storage.
1083 .It Cm enable_spell_checking
1084 Enables spell checking. Preferred languages can be set using
1085 .Cm spell_check_languages
1088 Set the default encoding.
1090 .Pa encoding = ISO-8859-1 .
1091 .It Cm external_editor
1092 Set which editor to use for external editing.
1093 the string <file> will be replaced by the current filename.
1095 .Pa external_editor = gvim -f <file>
1098 relies on the editor
1100 into the background.
1102 Enables a backward, forward, and stop button to the toolbar.
1105 is set it'll enable an entry box for searches.
1109 will try to guess if the string you entered, in the URI entry widget or
1110 the command widget, is term you want to search for using search_string
1112 If the string does not contain a dot nor a slash, is not a
1113 path to a local file and does not resolves to an IP then it is assumed
1114 to be a search term.
1116 To simplify configuring
1118 allows you pick between two GUI modes:
1124 mode the GUI looks similar to that of most mainstream browsers. While in
1126 mode the GUI looks more vi-like. One can get a GUI between the two by
1127 tweaking the low-level GUI settings found under the advanced GUI setting
1128 section in the configuration file.
1129 .It Cm history_autosave
1132 will save all command and search history.
1135 the saved command and search history will be restored.
1137 Homepage in URL format.
1139 Proxy server in URL format.
1143 if it is specified as an environment variable.
1144 It must be noted that on older webkit versions one MUST use an IP address and
1146 This works as expected with webkit 1.4.2.
1148 If one desires to use a socks proxy then an intermediary tool must be used.
1149 It has been reported that tsocks works with
1152 Permits icon sizes to be changed if
1155 Size 1 is small; 2 is normal; 3 through 6 are progressively larger.
1157 This is a Java Script whitelist item.
1160 for semantics and more details.
1161 .It Cm max_connections
1162 The maximum number of connections that
1165 .It Cm max_host_connections
1166 The maximum number of connections that
1168 can open at once to a given host.
1170 Sets an action for a specific or default MIME type.
1171 For example, to download and view a pdf using kpdf set
1172 .Pa mime_type = application/pdf,kpdf .
1173 To set a default value use *, for example,
1174 .Pa mime_type = video/*,mplayer .
1175 Note that the action is only passed the URL and not all applications are
1176 capable of dealing with a URL and therefore one might have to create a wrapper
1177 script to download the content first. Alternatively one can add the
1179 in front of the MIME type to indicate "download first".
1181 .Pa mime_type = @application/pdf,xpdf .
1184 is use the file will be downloaded to the
1186 before the MIME handler is called.
1188 Set the font used to display error messages.
1190 .Pa oops_font = monospace normal 9 .
1192 This is a plugin whitelist item.
1195 for semantics and more details.
1196 .It Cm read_only_cookies
1197 Mark cookies file read-only and discard all cookies once the session is
1199 .It Cm refresh_interval
1200 Refresh interval while in the download manager.
1203 Control how 'Referer' is handled in http-requests.
1204 .Bd -literal -offset indent
1205 always - always send referer
1206 never - never send referer
1207 same-domain - only send referer if it's
1210 Any other value that is also a valid URL will use this
1211 custom value as referer. (E.g. you could set it to http://no-referer.com)
1212 The default value is "always"
1214 Directory that contains various
1216 resources such as icons.
1217 This is OS-specific and should be handled by the porter.
1218 .It Cm save_global_history
1219 If set the global history will be saved to
1220 .Pa ~/.xxxterm/history
1222 and restored at startup.
1225 section above for how the global history is accessed.
1226 Global history is not saved to disk by default.
1227 .It Cm save_rejected_cookies
1228 Saves rejected cookies in cookie format in {work_dir}/rejected.txt.
1229 All cookies are saved and unlike a cookie jar they are never replaced.
1230 Make sure there is enough disk space to enable this feature.
1231 .It Cm search_string
1232 Default search engine string.
1236 .It Cm session_autosave
1237 Enable session auto-saving when changing state (e.g. adding or removing a tab).
1238 The session name is what is currently in use and is described in the
1243 .It Cm session_timeout
1244 This value is the time that is added in seconds to a session cookie.
1246 Enable or disable showing tabs.
1248 Enable or disable showing the url and toolbar.
1249 .It Cm show_statusbar
1250 Enable or disable showing the status bar.
1251 .It Cm single_instance
1256 will be permitted to run.
1257 If there is a URL specified it will be opened in a new tab in the already
1261 .It Cm spell_check_languages
1262 The languages to be used for spell checking, separated by commas. For example,
1265 If set to a valid PEM file
1266 all server certificates will be validated against it.
1267 The URL bar will be colored green (or blue when saved ) when the certificate is
1268 trusted and yellow when untrusted.
1272 is not set then the URL bar will color all HTTPS connections red.
1274 WebKit only supports a single PEM file.
1275 Many OS' or distributions have many PEM files.
1276 One can simply concatenate all separate files into one large one.
1278 .Cm for i in `ls`; do cat $i >> cert.pem; done
1279 and use the resulting cert.pem file as the input to
1281 It is advisable to periodically recreate the cert.pem file.
1282 .It Cm ssl_strict_certs
1283 If this value is set connections to untrusted sites will be aborted.
1284 This value is only used if
1287 .It Cm statusbar_elems
1288 Define the components of the status bar. The possible components are:
1289 .Bd -literal -offset indent
1291 P - page progress percent
1295 The default is "BP".
1296 These components show nothing if there is nothing worth showing, like
1298 .It Cm statusbar_font
1299 Set the status bar font.
1301 .Pa statusbar_font = monospace normal 9 .
1303 Set the tab style to either
1305 - the default gtk notebook tabs, or
1308 You can switch the tab style with the
1312 Set the compact tab bar font.
1314 .Pa tabbar_font = monospace normal 9 .
1316 This is the regular expression that is used to match what constitutes a valid
1320 Set to override the default
1322 user-agent string. May be specified several times for switching between
1324 .It Cm window_height
1325 Set the default height of the browser window.
1327 Set the default width of the browser window.
1328 .It Cm window_maximize
1329 Maximize the browser window at startup.
1331 Set the work directory where all
1333 scratch files are stored.
1336 .It Cm xterm_workaround
1339 will look additionally at CUT_BUFFER0 if PRIMARY clipboard is empty.
1340 Additionally when the PRIMARY clipboard is cleared it will copy CUT_BUFFER0
1341 into the PRIMARY clipboard.
1346 was inspired by vimprobable2 and the bloat in other
1353 .An Marco Peereboom Aq marco@peereboom.us ,
1354 .An Stevan Andjelkovic Aq stevan@student.chalmers.se ,
1355 .An Edd Barrett Aq vext01@gmail.com ,
1356 .An Todd T. Fries Aq todd@fries.net ,
1357 .An Raphael Graf Aq r@undefined.ch ,
1359 .An Michal Mazurek Aq akfaew@jasminek.net .