1 .\" Copyright (c) 2010, 2011, 2012 Marco Peereboom <marco@peereboom.us>
2 .\" Copyright (c) 2011 Jason McIntyre <jmc@openbsd.org>
3 .\" Copyright (c) 2012 Josh Rickmar <jrick@devio.us>
5 .\" Permission to use, copy, modify, and distribute this software for any
6 .\" purpose with or without fee is hereby granted, provided that the above
7 .\" copyright notice and this permission notice appear in all copies.
9 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 .Dd $Mdocdate: August 23 2012 $
22 .Nd lightweight web browser
28 .Op Fl s Ar session_name
33 is a minimalistic web browser that tries to stay out of the way so that
34 valuable screen real estate can be used for much more important stuff.
35 It has sane defaults and does not require one to learn a language to do any
37 It was written by hackers for hackers
38 and it strives to be small, compact, and fast.
41 is very simple in its use.
42 Most actions are initiated via key or mouse bindings.
43 Key bindings are based on those of the
46 giving web browsing a similar feel to navigating a text document.
49 section below documents the various defaults and possible customizations.
51 The options are as follows:
54 Specify an alternative configuration file.
56 Open a new tab in a running
58 for each specified URL.
63 Execute arbitrary command (see the
65 section below) in a running
67 instance. This option requires
69 to be enabled. Example run: xombrero -e "tabnew openbsd.org"; xombrero -e
70 tabclose; xombrero -e wq.
73 .It Fl s Ar session_name
74 Open session that was saved with ":session save" command.
76 Disable visualization of tabs.
80 Display version and exit.
83 The following notation is used throughout this page:
85 .Bl -tag -width Ds -offset indent -compact
91 Meta 1 (sometimes marked Alt)
97 Meta 4 (sometimes marked Windows)
104 To browse to a specific address,
105 either use the mouse to click on the address bar
108 to shift the keyboard focus to the address bar.
109 The address is then entered manually.
111 The mouse can be used to navigate the page in the traditional manner,
112 or the keyboard can be used instead.
117 will scroll up and down the page.
120 either click on it or use the
124 assign numbers to each link on the page;
125 entering that number on the keyboard will prompt
130 provides many actions accessed via key or mouse bindings.
131 Most can be reprogrammed using a
133 entry in the configuration file.
134 Each keyboard shortcut requires exactly one entry in the configuration file.
135 A shortcut can have multiple entries in the configuration file.
136 The format of the keybinding entry is as follows:
138 .D1 keybinding = (:)action,(!)keystroke(s)
140 For example, "keybinding = tabnew,C-t" where
147 Actions may be any xombrero command that can be run from the command
149 There is one additional action,
151 which will unbind any previous actions to that keybinding.
153 If the action begins with a colon, the action will be entered into the
154 command prompt instead of being executed.
155 For example, "keybinding = :session open ,M1-s" will open the command
156 prompt with ":open session " entered when using the M1-s keybinding.
158 Keybindings which open the command prompt may also include the string
159 <uri>, which will be replaced by the current tab's URI.
160 For example, "keybinding = :open <uri>,F10" will open the command
161 prompt with <uri> replaced with the current URI.
163 GTK has some default keybindings for manipulating text inside input
164 fields, such as the URI or search entry widget, for example
166 deletes a word. To override these defaults prefix your key with an
167 exclamation mark (!), like this: "keybinding = tabclose,!C-w".
170 key word is special and is meant to reset the key binding list to the GTK+
172 This keyword should be the first
174 entry in the configuration file.
176 Shift should be used sparingly since it gets in the way of non-USA keyboards.
177 See the accompanying configuration file for examples.
179 The various bindings are documented below.
180 The relevant keybinding action is given afterwards, in parentheses.
182 These commands are used to focus or unfocus input on the default input of a web
185 .Bl -tag -width Ds -offset indent -compact
187 Go to command mode; unfocus current entry on web page.
190 Go to insert mode; focus on default entry on web page.
194 These commands are used to search for text strings within a web page.
196 .Bl -tag -width Ds -offset indent -compact
201 Start a backwards search
204 Next item matching search
207 Previous item matching search
211 These commands are used to shift the focus of
213 from one area to another.
215 .Bl -tag -width Ds -offset indent -compact
220 Focus on search entry
224 These commands allow the user to map specific actions to specific keys.
226 .Bl -tag -width Ds -offset indent -compact
230 Alias for "proxy toggle"
232 Alias for "toplevel toggle"
235 These commands allow the user to open a prompt.
236 These can be useful when the
240 .Bl -tag -width Ds -offset indent -compact
244 Alias for ":open <uri>"
248 Alias for ":tabnew <uri>"
250 .Ss Navigation Commands
251 These commands allow the user to navigate web pages and,
255 .Bl -tag -width "Space, C-f, PageDownXXX" -offset indent -compact
259 .It Cm Backspace, M-Left
262 .It Cm S-BackSpace, M-Right
269 Previous line on page
277 .It Cm Space, C-f, PageDown
279 .Pq Cm scrollpagedown
291 .Pq Cm scrollfarright
311 Toggle Java Script enabled for FQDN
317 Toggle cookie enabled for FQDN
320 Toggle plugins enabled for FQDN
325 supports tabbed browsing.
326 That is, web pages may be opened in separate tabs,
327 allowing the user to quickly move from one page to another,
329 These commands then are used to create, destroy, and move between tabs.
331 .Bl -tag -width "C-plus, C-equalXXX" -offset indent -compact
333 Open new tab with the clicked link
335 Create new tab with focus in URL entry
338 Create new tab with focus in URL entry as the last tab in the browser
346 .It Cm C-Left, C-PageUp
347 Go to the previous tab
349 .It Cm C-Right, C-PageDown
355 .Pq Cm tabnext [1..9]
365 .It Cm C-plus, C-equal
369 Set zoom level to 100%
372 .Ss Yanking and pasting
373 These commands copy and paste text to and from the clipboard.
375 .Bl -tag -width Ds -offset indent -compact
377 Paste the contents of the clipboard into the address bar
380 Paste the contents of the clipboard into a new tab
383 Yank the current URL into the clipboard
386 .Ss Hyperlink Following
387 This allows the user to follow hyperlinks
388 without using a mouse.
389 Enter the corresponding number to follow the link.
390 Alternatively one can type the name of the link and when there are no more
393 will follow the link.
395 .Bl -tag -width Ds -offset indent -compact
397 Highlight all links and prefix them with a number.
400 Highlight all links and prefix them with a number but open in a new tab.
401 .Pq Cm hinting_newtab
404 Commands to exit the browser.
406 .Bl -tag -width Ds -offset indent -compact
411 .Ss Low-Contrast Color Scheme
412 These commands toggle the page style between the default CSS and a
413 low-contrast color scheme with light grey text on a dark grey background.
416 setting is changed, that stylesheet will be used instead of the
417 low-contrast color scheme.
419 .Bl -tag -width Ds -offset indent -compact
421 Toggle the current tab's style.
424 Toggle the global page style mode.
425 Will also affect new tabs.
426 .Pq Cm userstyle_global
428 .Ss Insert-mode commands
429 The following commands are only available when editing an input-field
431 .Bl -tag -width Ds -offset indent -compact
433 Edit the contents of the currently active input-element in an external editor.
437 Command mode works in a similar fashion to the
440 it is entered by typing a colon and exited by typing Esc.
441 The commands and their descriptions are listed below.
442 .Bl -tag -width Ds -offset indent
443 .It Cm about , version
444 Show the "About" page.
445 .It Cm buffers , ls , tabs
446 Displays the currently open tabs and lets the user switch tab by typing
447 the tab number or using the mouse.
449 Display CA certificates.
450 .It Cm cert , cert show
451 Download and display certificates of domain on tab.
453 Save certificate into a local store.
454 The next time the site is visited it is compared against the store.
455 If the certificate matches,
456 the address bar will be blue;
457 if it doesn't the bar will be red.
461 command is used to manipulate the cookie whitelist.
462 Used by itself it expands to
463 .Cm cookie show all .
465 Show cookie jar contents.
467 Remove all cookies from the cookie jar.
468 .It Cm cookie save, cookie save fqdn
469 Save the current fully qualified domain name (FQDN)
470 to the persistent whitelist.
472 the www.peereboom.us domain would result in saving www.peereboom.us.
473 .It Cm cookie save domain
474 Save the top level domain name to the persistent whitelist.
476 the www.peereboom.us domain would result in saving .peereboom.us.
478 This action enables cookies if it is currently disabled for this entry.
479 .It Cm cookie show all
480 Show all persistent and session entries in the cookie whitelist.
481 .It Cm cookie show persistent
482 Show all persistent entries in the cookie whitelist.
483 .It Cm cookie show session
484 Show all session entries in the cookie whitelist.
485 .It Cm cookie toggle domain
486 Toggle cookie support for the current top level domain.
487 .It Cm cookie toggle, cookie toggle fqdn
488 Toggle cookie support for the current FQDN.
490 Show download manager.
491 .It Cm encoding <encoding>
494 is set the tab's encoding will be set to
503 will display the current tab encoding.
505 Opens the source for the current tab in the editor specified by the
508 and then checks for changes to the file opened. If it is changed, the
509 page will be updated.
511 If a text-element is currently active (<input> or <textarea>), it's
512 contents will be opened in the same fashion as for the command
518 Add the current page to favorites.
520 Shows favorites list and links to remove entries.
521 .It Cm fullscreen , f
522 Toggle hiding tabs and url entry toolbar.
523 .It Cm h , hist , history
532 command is used to manitulate the items in the HTTPS force list.
533 Used by itself it expands to
535 .It Cm https save, save fqdn
536 Saves the FQDN to the persistant force HTTPS list.
538 the www.peereboom.us domain would result in saving www.peereboom.us.
539 .It Cm https save domain
540 Saves the top level domain name to the persistent whitelist.
542 the www.peereboom.us domain would result in saving .peereboom.us.
543 .It Cm https show all
544 Show all persistent ans session entries in the HTTPS force list.
545 .It Cm https show persistent
546 Shows all persistent entries in the HTTPS force list.
547 .It Cm https show session
548 Shows all session entries in the HTTPS force list.
549 .It Cm https toggle, https toggle fqdn
550 Toggle this FQDN in the HTTPS force list.
551 .It Cm https toggle domain
552 Toggle the top level domain in the HTTPS force list.
556 command is used to manipulate the Java Script whitelist.
557 Used by itself it expands to
559 .It Cm js save, save fqdn
560 Saves the FQDN to the persistent whitelist.
562 the www.peereboom.us domain would result in saving www.peereboom.us.
563 .It Cm js save domain
564 Saves the top level domain name to the persistent whitelist.
566 the www.peereboom.us domain would result in saving .peereboom.us.
568 This action enables Java Script if it is currently disabled for this entry.
570 Shows all persistent and session entries in the JS whitelist.
571 .It Cm js show persistent
572 Shows all persistent entries in the JS whitelist.
573 .It Cm js show session
574 Shows all session entries in the JS whitelist.
575 .It Cm js toggle, js toggle fqdn
576 Toggle Java Script execution for the current FQDN.
577 .It Cm js toggle domain
578 Toggle Java Script execution for the current top level domain.
580 If auto_load_images is disabled, load all images for current site.
581 .It Cm open , op , o URL
586 command is used to manipulate the plugin whitelist.
587 Used by itself it expands to
588 .Cm plugin show all .
589 .It Cm plugin save, save fqdn
590 Saves the FQDN to the persistent whitelist.
592 the www.peereboom.us domain would result in saving www.peereboom.us.
593 .It Cm plugin save domain
594 Saves the top level domain name to the persistent whitelist.
596 the www.peereboom.us domain would result in saving .peereboom.us.
598 This action enables plugins if they are currently disabled for this entry.
599 .It Cm plugin show all
600 Shows all persistent and session entries in the plugin whitelist.
601 .It Cm plugin show persistent
602 Shows all persistent entries in the plugin whitelist.
603 .It Cm plugin show session
604 Shows all session entries in the plugin whitelist.
605 .It Cm plugin toggle, plugin toggle fqdn
606 Toggle plugin execution for the current FQDN.
607 .It Cm plugin toggle domain
608 Toggle plugin execution for the current top level domain.
614 command is used to manipulate the currently set proxy.
615 Used by itself it expands to
622 Enables or disables the proxy for
626 must be set before it can be toggled.
627 .It Cm qa , qall , quitall
631 Close current tab and quit
633 if it is the last tab.
637 and reload all current tabs.
638 .It Cm run_script [path_to_script]
639 Runs the script path_to_script with the current uri as the argument.
640 If path_to_script is not provided, the value of default_script is used
642 .It Cm script [filename]
643 Run an external JavaScript script file in the current tab context.
644 .It Cm session , Cm session show
645 Display the current session name.
646 By default the session name is main_session.
647 To create a new session use the
650 A session is defined as the lifetime of the browser application.
651 .It Cm session delete <session_name>
652 Delete session session_name from persistent storage.
653 If session_name is the current session then the session will revert to
655 .It Cm session open <session_name>
656 Open session_name and close all currently open tabs.
657 Going forward this session is named session_name.
658 .It Cm session save <session_name>
659 Save current tabs to session_name session.
660 This will close the current session and going forward this session is named
663 The set command is used to inspect, clear or change runtime options.
664 There are 3 methods to use
666 When used by itself as
668 the command displays all options as currently set.
671 .Cm :set option=value .
673 .Cm :set http_proxy=http://127.0.0.1:8080 .
678 .Cm :set http_proxy= .
680 Note, not all options can be set at runtime.
682 Show blocked cookie statistics.
683 These statistics vary based on settings and are not persistent.
684 .It Cm statustoggle , statust
687 Stop loading the current web page.
692 .It Cm tabnew , tabedit [URL]
693 Create new tab and optionally open provided URL.
697 Close all tabs except the currently focused one.
699 Go to the previous tab.
702 .It Cm toplevel , toplevel toggle
703 Toggle the top level domain name cookie and JS session whitelist.
704 This is to enable/disable short lived full site functionality without
705 permanently adding the top level domain to the persistent whitelist.
706 .It Cm urlhide , urlh
707 Hide url entry and tool bar.
708 .It Cm urlshow , urls
709 Show url entry and tool bar.
710 .It Cm userstyle <stylesheet>
711 Toggle the current tab between using a custom stylesheet and the
713 If there is no stylesheet argument to this command, the stylesheet
716 setting will be used instead.
719 setting is set by default to a low-contrast color scheme.
720 If a stylesheet is specified, the current tab will be toggled with
721 this stylesheet instead.
725 setting is left unchanged, this command without any arguments will
726 toggle between the default page's CSS and the low-contrast color
729 Additional stylesheets may be used in addition to the low-contrast
730 color scheme by specifying additonal keybindings. For example,
732 .D1 keybinding = userstyle ~/style.css,v
733 .D1 keybinding = userstyle_global ~/style.css,V
735 will map toggling between ~/style.css to the v and V keys while
736 keeping the low-contrast feature mapped to the s and S keys.
737 .It Cm userstyle_global <stylesheet>
740 but the change affects all open tabs, and newly created tabs will use
743 Save open tabs to current session.
744 The tabs will be restored next time the session is opened.
745 See the session command for additional details.
747 Save open tabs and quit.
748 The tabs will be restored next time
750 the session is opened.
751 See the session command for additional details.
754 In addition to shortcuts and commands
756 provides buffer commands. Buffer commands are short, multi character
757 vi-like commands, often requiring an argument. Partial buffer commands
759 displayed in the buffer command statusbar element (see
760 .Cm statusbar_elems ) .
761 Pressing Esc or switching to another tab cancels a partially entered
762 buffer command. In the following list
764 denotes the argument a buffer command accepts. Buffer commands are
765 defined as extended regular experssions.
766 Note that if a character is used as a shortcut it will not be interpreted
767 as the beginning of a buffer command. This is the case with
770 .Bl -tag -width "['][a-zA-Z0-9]XXX" -offset indent -compact
772 go to the top of the page
774 go to the bottom of the page
780 go to 50% of the page
786 is missing, 1 is assumed. Going a
787 level up means going to a URI obtained from the current one by removing
788 the last slash ('/') character and everything that follows it
790 go to the root level, i.e. going up as many levels as possible.
792 open the home page in the current tab
794 set a mark denoted by
796 at the current page position. These marks behave like those in vi or
798 .It Cm ['][a-zA-Z0-9']
799 go to the position where mark
801 was set. The special mark "'" points to the previous page position, after a
802 "gg", "gG", "zz", "%" or "'" buffer command.
804 set the current uri as quickmark
807 open the uri marked as quickmark
811 open the uri marked as quickmark
840 set zoom level to 100%
847 Quickmarks are like bookmarks, except they are refered to by a single
848 character (a letter or a digit), instead of a longer name. See the
853 buffer commands for usage. Quickmarks are stored in
854 .Pa ~/.xombrero/quickmarks
855 and are saved automatically after each
859 The about screens are internally generated web pages by
861 for user interaction.
862 These are entered in the address bar and the format is
864 where screen is the desired screen to display.
865 For example about:favorites.
866 Any about screen can be used as the home page as specified by
868 in the configuration file.
870 .Bl -tag -width "downloadsXXX" -offset indent -compact
872 show the about screen
876 show the cookie whitelist screen
878 show the cookiejar screen
880 show the downloads screen
882 show the favorites screen
884 show the help web page
886 show the history screen
888 show the Java Script whitelist screen
890 show the settings screen
892 show the statistics screen
895 This section describes advanced usage settings.
896 Most users should use
900 and skip over this section.
903 has a number of whitelists to control blocking cookies and Java Script
904 execution for FQDNs or domains.
905 When properly enabled these whitelists require either the FQDN or top level
906 domain to exist in the whitelists in order to allow cookies to be stored or
907 Java Script to execute.
908 Both Java Script and cookies have two whitelists associated with them.
909 The whitelists are called session and persistent.
910 Items in the session whitelists are only allowed for the lifetime of the
913 Items in the persistent whitelists are stored on disk and are restored
916 Setting up the whitelists is a little tricky due to intricacies of WebKit.
917 In fact the semantics are different for cookies and Java Script.
919 Cookie whitelist requires the following configuration to be set:
921 .Bl -tag -width "enable_cookie_whitelistXXX" -offset indent -compact
922 .It Cm cookies_enabled
923 This is a WebKit setting and must be set to
926 in order to be able to use a
928 .It Cm enable_cookie_whitelist
929 This needs to be set to
931 to enable the cookie whitelist functionality.
933 These entries in the configuration file are the actual domains names in the
937 Java Script whitelist requires the following configuration to be set:
939 .Bl -tag -width "enable_js_whitelistXXX" -offset indent -compact
940 .It Cm enable_scripts
941 This is a WebKit setting and must be set to
944 in order to be able to use a
945 Java Script whitelist.
946 .It Cm enable_js_whitelist
947 This needs to be set to
949 to enable the Java Script whitelist functionality.
951 These entries in the configuration file are the actual domains names in the
952 Java Script whitelist.
955 Plugin whitelist requires the following configuration to be set:
957 .Bl -tag -width "enable_plugin_whitelistXXX" -offset indent -compact
958 .It Cm enable_plugins
959 This is a WebKit setting and must be set to
962 in order to be able to use a
964 .It Cm enable_plugin_whitelist
965 This needs to be set to
967 to enable the plugin whitelist functionality.
969 These entries in the configuration file are the actual domains names in the
975 section for additional configuration file entries and details
976 that alter runtime behavior.
978 .Bl -tag -width "/etc/xombrero.confXXX" -compact
979 .It Pa ~/.xombrero.conf
981 user specific settings.
988 tries to open the user specific file,
989 .Pa ~/.xombrero.conf .
990 If that file is unavailable,
991 it then uses built-in defaults.
992 Any settings saved at runtime will be saved to the file
993 .Pa ~/.xombrero/runtime
994 and will be loaded as well.
996 The format of the file is \*(Ltkeyword\*(Gt = \*(Ltsetting\*(Gt.
999 .Dl http_proxy = http://127.0.0.1:8080
1001 Enabling or disabling an option is done by using 1 or 0 respectively.
1003 The file supports the following keywords:
1005 .Bl -tag -width "enable_cookie_whitelistXXX" -offset indent -compact
1007 Defines an alias for a given URL, so that the URL is loaded when the alias is
1008 entered in the address bar.
1009 If the aliased URL includes a %s format specifier, then any argument given after
1010 the alias on the address bar is substituted.
1011 For example, if g,http://www.google.com/search?q=%s is defined as an alias,
1012 then the URL http://www.google.com/search?q=foo is loaded when navigating to
1014 .It Cm allow_insecure_content
1015 If set, all content referenced by a page will be loaded.
1016 If unset, encrypted pages will refuse to load content that is linked
1017 from an insecure location.
1018 .It Cm allow_insecure_scripts
1019 If set, all scripts referenced by a page will be loaded and run using
1020 the current javascript policy.
1021 If unset, encrypted pages will refuse to run scripts that are linked
1022 from an insecure location.
1023 .It Cm allow_volatile_cookies
1024 If set cookies are stored in the session cache but will be discarded once
1027 Unfortunately enabling this does allow for some limited tracking on the web.
1029 When set a new tab is appended after the current tab instead of being appended
1031 .It Cm auto_load_images
1032 If disabled, images will not be loaded automatically.
1033 .It Cm autofocus_onload
1034 When set a tab that is loaded will attempt to autofocus the default input
1036 This is only done for tabs that are currently visible.
1040 browser has 3 default operating modes:
1048 mode the browser allows all cookies, plugins and Java Script as any other
1050 This means that all cookies are saved to persistent storage and that all
1051 Java Script and plugins run.
1053 On the other hand, using the
1055 mode enables whitelists.
1056 This requires the user to add all the required
1062 If a domain does not appear in the whitelists
1064 disallows cookies, Java Script and plugin execution.
1065 If insecure web content or scripts are referenced by a secure website,
1066 they will be blocked from loading or running.
1070 mode the browse works just like
1072 mode however the toolbar only has the backward, forward and home button.
1074 This setting must be the first entry in
1075 .Pa ~/.xombrero.conf
1076 because it sets advanced settings that can be overridden later in the file.
1077 See the default config file for more details.
1079 This setting is used to define an alias for a command.
1080 The syntax of this setting is
1081 .Pa cmd_alias = alias,cmd .
1082 For example, if you wanted to set an alias for the
1087 .Pa cmd_alias = tn,tabnew
1089 .Pa ~/.xombrero.conf .
1090 This setting may not begin with a number.
1092 Set the command prompt font.
1094 .Pa cmd_font = monospace normal 9 .
1095 .It Cm color_visited_uris
1096 When enabled (the default)
1098 will color visited links. This is done while the web page loads using
1099 JavaScript, rather than WebKit's (broken, see bug #51747) built-in
1100 facility for coloring visited links. The JavaScript approach is
1101 (probably) slower and is not consistent across tabs (unless the tabs are
1102 reloaded), but has the advantage of not leaking history data to web
1103 pages (see http://wtikay.com/docs/details.html).
1104 .It Cm cookie_policy
1105 This field delineates the cookie policy.
1106 Possible values are: no3rdparty, reject 3rd party cookies.
1107 accept, accept all cookies.
1108 reject, reject all cookies.
1110 This is a cookie whitelist item.
1111 Use multiple times to add multiple entries.
1112 Valid entries are for example *.moo.com and the equivalent .moo.com.
1113 A fully qualified host is also valid and is for example www.moo.com or
1115 Fully qualified hosts do not modify whitelist settings for any
1117 .It Cm cookies_enabled
1119 .It Cm ctrl_click_focus
1120 Give focus in newly created tab instead of opening it in the background.
1122 This setting provides the ability to run custom executables for
1124 The syntax for this setting is
1125 .Pa custom_uri\ =\ protocol,command .
1126 The URI is passed as a single argument to
1128 to be parsed and executed.
1130 For example, to add the ability to use custom
1132 URIs, add the setting
1133 .Pa custom_uri = mailto,command
1136 is a program that will parse the
1138 URI and open your mail client.
1139 .It Cm default_script
1140 Path to the script used as the default value for the run_script
1142 .It Cm default_zoom_level
1143 Set the default browsing zoom level.
1145 Sets the HTTP Do Not Track header to tell sites that you wish to be
1146 opted-out of 3rd-party tracking for the use of behavioral advertising.
1147 Not all sites currently support this header, and this is only a
1148 suggestion of a user preference.
1149 Sites may still perform 3rd-party tracking even when this feature is
1152 Locations where files are downloaded to.
1153 This directory must exist and
1155 validates that during startup.
1156 .It Cm download_mode
1157 Controls how downloads are handled.
1158 Possible values are:
1159 .Bd -literal -offset indent
1160 start - automatically start download.
1161 ask - ask user for confirmation.
1162 add - add to downloadmanager, but
1165 The default is "start".
1166 .It Cm download_notifications
1167 When enabled a message is shown when downloads are finished.
1169 .It Cm enable_autoscroll
1170 When enabled clicking MB3 will spawn the autoscroll ball, scrolling can
1171 then proceed by dragging the mouse away from the ball.
1172 .It Cm enable_cookie_whitelist
1173 When enabled all cookies must be in the whitelist or they are rejected.
1174 Additionally whitelisted cookies also enable HTML5 local storage for the
1176 .It Cm enable_favicon_entry
1177 When enabled (the default)
1179 displays the favicon of the web page at the URI entry. This setting
1185 .It Cm enable_favicon_tabs
1186 When enabled (disabled by default)
1188 displays favicons at each tab. This setting only affects
1191 .It Cm enable_js_autorun
1192 Enables support for autorunning JavaScript after page loads. When
1195 will be searched for
1198 .Pa host.domain.js .
1203 will be tried instead. The content of the both default and
1204 host/domain files are read and executed on each page load.
1207 As an example, if you add the line
1208 .Pa alert("Hello, world");
1211 a pop-up displaying "Hello, world" will be shown on every page reload.
1212 While not useful, any javascript can be run through this mechanism,
1213 making it useful for global or site-specific modifications.
1214 .It Cm enable_js_whitelist
1215 When enabled all domains must be in the js whitelist in order to run Java
1220 .It Cm enable_plugin_whitelist
1221 When enabled all domains must be in the plugin whitelist in order to run
1226 .It Cm enable_plugins
1227 Enable external plugins such as Flash and Java.
1228 .It Cm enable_strict_transport
1229 Enable support for the Strict-Transport-Security HTTP-header.
1230 When enabled, sites that set this flag will only be visited via HTTPS.
1232 .It Cm enable_scripts
1234 .It Cm enable_socket
1235 When enabled the first instance of
1237 will create a socket in the
1240 Using the -n url option on subsequent
1242 invocations will cause the specified URL to be loaded in a new tab.
1243 Only a user with identical UID and GID can use this option.
1244 .It Cm enable_localstorage
1245 Enable html5 Local Storage.
1246 .It Cm enable_spell_checking
1247 Enables spell checking. Preferred languages can be set using
1248 .Cm spell_check_languages
1251 Set the default encoding.
1253 .Pa encoding = ISO-8859-1 .
1254 .It Cm external_editor
1255 Set which editor to use for external editing.
1256 the string <file> will be replaced by the current filename.
1258 .Pa external_editor = gvim -f <file>
1261 relies on the editor
1263 into the background.
1265 Enables a backward, forward, and stop button to the toolbar.
1268 is set it'll enable an entry box for searches.
1270 This setting is used to define the domains of sites that should be
1271 only accessed over the HTTPS scheme.
1272 Any requests to these domains over HTTP will be rewritten to use HTTPS
1277 .It Cm gnutls_priority_string
1278 If set, this string sets the G_TLS_GNUTLS_PRIORITY environmental
1279 variable to define the GnuTLS priority string that is used when
1280 initializing the GnuTLS session.
1281 This may be used to change the supported TLS/SSL versions and the
1282 ciphers that are used when making HTTPS connections.
1284 Full details on how to modify this setting may be found in the GnuTLS
1285 documentation, Section 8.9: Priority Strings.
1286 For example, to disable the 128-bit RC4 cipher, change this setting to
1287 .Pa NORMAL:!ARCFOUR-128 .
1289 If your glib-networking package is older than version 2.33.10, or if
1290 the G_TLS_GNUTLS_PRIORITY environmental variable is already set, this
1291 setting has no effect.
1295 will try to guess if the string you entered, in the URI entry widget or
1296 the command widget, is term you want to search for using search_string
1298 If the string does not contain a dot nor a slash, is not a
1299 path to a local file and does not resolves to an IP then it is assumed
1300 to be a search term.
1302 To simplify configuring
1304 allows you pick between two GUI modes:
1310 mode the GUI looks similar to that of most mainstream browsers. While in
1312 mode the GUI looks more vi-like. One can get a GUI between the two by
1313 tweaking the low-level GUI settings found under the advanced GUI setting
1314 section in the configuration file.
1315 .It Cm history_autosave
1318 will save all command and search history.
1321 the saved command and search history will be restored.
1323 Homepage in URL format.
1325 Proxy server in URL format.
1329 if it is specified as an environment variable.
1330 It must be noted that on older webkit versions one MUST use an IP address and
1332 This works as expected with webkit 1.4.2.
1334 If one desires to use a socks proxy then an intermediary tool must be used.
1335 It has been reported that tsocks and polipo work with
1338 If set, the HTTP Accept header will be modified for each text/html request.
1339 If this setting is set multiple times, the Accept header will be changed
1340 in a round-robin order for every text/html request on a tab.
1341 Because this setting rotates through Accept headers on each text/html
1342 request, a single page may rotate through more than one Accept header
1343 if multiple text/html requests are made.
1345 Please be aware that not all websites report browser headers correctly.
1346 Most notably, EFF's panopticlick service also reports the HTTP
1347 Accept-Encoding headers on the same line as the Accept headers.
1348 If you are trying to find the headers of another browser to model that
1349 browser's fingerprint, it is recommended to not use panopticlick for
1352 Note that this setting only rewrites the Accept header for text/html
1353 requests. Other requests will use WebKit's default Accept header.
1354 .It Cm http_proxy_starts_enabled
1355 If set to 0, the http_proxy will be disabled at startup. The user can later
1356 enable the proxy with the
1358 command or keybinding.
1360 Permits icon sizes to be changed if
1363 Size 1 is small; 2 is normal; 3 through 6 are progressively larger.
1364 .It Cm include_config
1365 This must be a path to another configuration file.
1366 Configuration files are usually read from top to bottom, however, if
1369 will begin reading the included file at this location and continue
1370 reading the rest of the configuation after the included file has
1371 finished being read.
1373 Any simple settings set before the include may
1374 be overridden by settings in the included file, and any simple
1375 settings set in the included file may be overridden later by settings
1376 after the include or at runtime using the
1379 However, database settings (for example,
1380 .Cm cookie_wl , js_wl , pl_wl ,
1383 are only ever added to the database, and so the order of an included
1384 configuration file is not pertinent to these database settings.
1386 This feature is likely best used as the last item in
1387 .Pa ~/.xombrero.conf .
1389 This is a Java Script whitelist item.
1392 for semantics and more details.
1393 .It Cm max_connections
1394 The maximum number of connections that
1397 .It Cm max_host_connections
1398 The maximum number of connections that
1400 can open at once to a given host.
1402 Sets an action for a specific or default MIME type.
1403 For example, to download and view a pdf using kpdf set
1404 .Pa mime_type = application/pdf,kpdf .
1405 To set a default value use *, for example,
1406 .Pa mime_type = video/*,mplayer .
1407 Note that the action is only passed the URL and not all applications are
1408 capable of dealing with a URL and therefore one might have to create a wrapper
1409 script to download the content first. Alternatively one can add the
1411 in front of the MIME type to indicate "download first".
1413 .Pa mime_type = @application/pdf,xpdf .
1416 is use the file will be downloaded to the
1418 before the MIME handler is called.
1420 The special binary name "donothing" may be used to ignore a MIME type
1421 without displaying any warnings from being unable to execute the
1424 Set the font used to display error messages.
1426 .Pa oops_font = monospace normal 9 .
1428 This is a plugin whitelist item.
1431 for semantics and more details.
1432 .It Cm preload_strict_transport
1433 If enabled, a preloaded list of sites which set the HTTP Strict
1434 Transport Security header will be used to automatically set the
1436 setting for these sites.
1437 This is used to prevent SSL stripping attacks when first visiting
1438 these sites, before they have been added to the strict-transport file.
1439 This list is comprised of domains chosen by the
1441 authors, as well as domains included in Chromium's preloaded HSTS
1444 .It Cm read_only_cookies
1445 Mark cookies file read-only and discard all cookies once the session is
1447 .It Cm refresh_interval
1448 Refresh interval while in the download manager.
1451 Control how 'Referer' is handled in http-requests.
1452 .Bd -literal -offset indent
1453 always - always send referer
1454 never - never send referer
1455 same-domain - only send referer if it's
1456 for the same public suffix - this means that
1457 it's ok for subdomains to refer to each other
1458 same-fqdn - only send referer if it's FQDN match
1460 Any other value that is also a valid URL will use this
1461 custom value as referer. (E.g. you could set it to http://no-referer.com)
1462 The default value is "always"
1464 Directory that contains various
1466 resources such as icons.
1467 This is OS-specific and should be handled by the porter.
1468 .It Cm save_global_history
1469 If set the global history will be saved to
1470 .Pa ~/.xombrero/history
1472 and restored at startup.
1475 section above for how the global history is accessed.
1476 Global history is not saved to disk by default.
1477 .It Cm save_rejected_cookies
1478 Saves rejected cookies in cookie format in {work_dir}/rejected.txt.
1479 All cookies are saved and unlike a cookie jar they are never replaced.
1480 Make sure there is enough disk space to enable this feature.
1481 .It Cm search_string
1482 Default search engine string.
1486 .It Cm session_autosave
1487 Enable session auto-saving when changing state (e.g. adding or removing a tab).
1488 The session name is what is currently in use and is described in the
1493 .It Cm session_timeout
1494 This value is the time that is added in seconds to a session cookie.
1496 Enable or disable showing tabs.
1498 Enable or disable showing the url and toolbar.
1499 .It Cm show_scrollbars
1500 Enable or disable the showing of the horizontal and vertical scrollbars.
1501 Disabling this setting requires GTK3.
1502 .It Cm show_statusbar
1503 Enable or disable showing the status bar.
1504 .It Cm single_instance
1509 will be permitted to run.
1510 If there is a URL specified it will be opened in a new tab in the already
1514 .It Cm spell_check_languages
1515 The languages to be used for spell checking, separated by commas. For example,
1518 If set to a valid PEM file
1519 all server certificates will be validated against it.
1520 The URL bar will be colored green (or blue when saved) when the certificate is
1521 trusted and yellow when untrusted.
1525 is not set, the URL bar will be colored red if the certificate has not
1526 been saved, or blue if it has been saved.
1528 WebKit only supports a single PEM file.
1529 Many OS' or distributions have many PEM files.
1530 One can simply concatenate all separate files into one large one.
1532 .Cm for i in `ls`; do cat $i >> cert.pem; done
1533 and use the resulting cert.pem file as the input to
1535 It is advisable to periodically recreate the cert.pem file.
1536 .It Cm ssl_strict_certs
1537 If this value is set connections to untrusted sites will be aborted.
1538 This value is only used if
1541 .It Cm statusbar_elems
1542 Define the components of the status bar. The possible components are:
1543 .Bd -literal -offset indent
1545 P - page progress percent
1546 p - proxy enabled/disabled
1549 T - current tab number
1551 The default is "BP".
1552 These components show nothing if there is nothing worth showing, like
1554 .It Cm statusbar_font
1555 Set the status bar font.
1557 .Pa statusbar_font = monospace normal 9 .
1558 .It Cm statusbar_style
1559 Set the status bar style to either
1561 - display the current url, or
1563 - display the page title. The default is
1566 Set the tab style to either
1568 - the default gtk notebook tabs, or
1571 You can switch the tab style with the
1575 Set the compact tab bar font.
1577 .Pa tabbar_font = monospace normal 9 .
1579 Disable tabs, and open new windows instead.
1580 Note that this feature does not disable the display of tabs.
1583 setting also if you wish to disable the display of tabs.
1586 This is the regular expression that is used to match what constitutes a valid
1590 Set to override the default
1592 user-agent string. May be specified several times for switching between
1595 Set the stylesheet to be used as a default for the
1598 .Cm userstyle_global
1599 commands when no extra parameters are given.
1600 The default is a low-contrast stylesheet.
1601 .It Cm userstyle_global
1602 When enabled new tabs will automatically be displayed using the custom
1603 stylesheet specified by the
1606 .It Cm warn_cert_changes
1607 When enabled all SSL certificates from HTTPS websites will be
1609 .Cm ~/.xombrero/certs_cache/
1611 On each page load, if the remote certificate differs from the cached
1612 local version, a warning page with options of what to do next will be displayed
1613 instead of the requested page.
1614 This feature may be used in addition to the coloring of the URL bar and
1615 can be used to help prevent against man-in-the-middle attacks, even if
1616 the new remote certificate is signed by a trusted certificate
1620 .It Cm window_height
1621 Set the default height of the browser window.
1623 Set the default width of the browser window.
1624 .It Cm window_maximize
1625 Maximize the browser window at startup.
1627 Set the work directory where all
1629 scratch files are stored.
1635 was inspired by vimprobable2 and the bloat in other
1642 .An Marco Peereboom Aq marco@peereboom.us ,
1643 .An Stevan Andjelkovic Aq stevan@student.chalmers.se ,
1644 .An Edd Barrett Aq vext01@gmail.com ,
1645 .An Todd T. Fries Aq todd@fries.net ,
1646 .An Raphael Graf Aq r@undefined.ch ,
1647 .An Michal Mazurek Aq akfaew@jasminek.net ,
1649 .An Josh Rickmar Aq jrick@devio.us .