mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-18 18:23:25 +03:00
fix options document formatting
This commit is contained in:
parent
8c3d79f6fb
commit
a661fdf83b
@ -1,169 +1,91 @@
|
|||||||
--------------------------------------------------------------------------------
|
Common NetSurf user options
|
||||||
Common NetSurf user options 4nd December 2014
|
---------------------------
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
This document outlines the common configuration options supported by the
|
This document outlines the common configuration options supported by
|
||||||
NetSurf core.
|
the NetSurf core.
|
||||||
|
|
||||||
Overview
|
Overview
|
||||||
========
|
========
|
||||||
|
|
||||||
The users configurations are generally stored in a "Choices" file
|
The users configurations are generally stored in a "Choices" file and
|
||||||
and are loaded at browser startup. Most user interfaces provide a
|
are loaded at browser startup. Most user interfaces provide a way
|
||||||
way to configure these parameters in a manner consistant with the
|
to configure these parameters in a manner consistant with the
|
||||||
toolkit in use.
|
toolkit in use.
|
||||||
|
|
||||||
The user choices are stored as a simple key:value list.
|
The user choices are stored as a simple key:value list.
|
||||||
|
|
||||||
Each entry has a type, one of: boolean, integer, unsigned integer,
|
Each entry has a type, one of: boolean, integer, unsigned integer,
|
||||||
hexadecimal colour value or string.
|
hexadecimal colour value or string.
|
||||||
|
|
||||||
General Options
|
General Options
|
||||||
===============
|
===============
|
||||||
|
|
||||||
+----------------------+--------+-----------+----------------------------------+
|
Option Key | Type | Default | Description
|
||||||
| Option Key | Type | Default | Description |
|
-------------------- | ------ | --------- | --------------------------------
|
||||||
+----------------------+--------+-----------+----------------------------------+
|
http_proxy | bool | false | An HTTP proxy should be used.
|
||||||
| http_proxy | bool | false | An HTTP proxy should be used. |
|
http_proxy | bool | false | An HTTP proxy should be used.
|
||||||
| | | | |
|
http_proxy_host | string | NULL | Hostname of proxy.
|
||||||
| http_proxy | bool | false | An HTTP proxy should be used. |
|
http_proxy_port | int | 8080 | Proxy port.
|
||||||
| | | | |
|
http_proxy_auth | int | 0 | Proxy authentication method.
|
||||||
| http_proxy_host | string | NULL | Hostname of proxy. |
|
http_proxy_auth_user | string | NULL | Proxy authentication user name
|
||||||
| | | | |
|
http_proxy_auth_pass | string | NULL | Proxy authentication password
|
||||||
| http_proxy_port | int | 8080 | Proxy port. |
|
http_proxy_noproxy | string | localhost | Proxy omission list
|
||||||
| | | | |
|
font_size | int | 128 | Default font size / 0.1pt.
|
||||||
| http_proxy_auth | int | 0 | Proxy authentication method. |
|
font_min_size | int | 85 | Minimum font size.
|
||||||
| | | | |
|
font_sans | string | NULL | Default sans serif font
|
||||||
| http_proxy_auth_user | string | NULL | Proxy authentication user name |
|
font_serif | string | NULL | Default serif font
|
||||||
| | | | |
|
font_mono | string | NULL | Default monospace font
|
||||||
| http_proxy_auth_pass | string | NULL | Proxy authentication password |
|
font_cursive | string | NULL | Default cursive font
|
||||||
| | | | |
|
font_fantasy | string | NULL | Default fantasy font
|
||||||
| http_proxy_noproxy | string | localhost | Proxy omission list |
|
accept_language | string | NULL | Accept-Language header.
|
||||||
| | | | |
|
accept_charset | string | NULL | Accept-Charset header.
|
||||||
| font_size | int | 128 | Default font size / 0.1pt. |
|
memory_cache_size | int | 12MiB | Preferred maximum size of memory cache in bytes.
|
||||||
| | | | |
|
disc_cache_size | uint | 1GiB | Preferred expiry size of disc cache in bytes.
|
||||||
| font_min_size | int | 85 | Minimum font size. |
|
disc_cache_age | int | 28 | Preferred expiry age of disc cache in days.
|
||||||
| | | | |
|
block_advertisements | bool | false | Whether to block advertisements
|
||||||
| font_sans | string | NULL | Default sans serif font |
|
do_not_track | bool | false | Disable website tracking [1]
|
||||||
| | | | |
|
minimum_gif_delay | int | 10 | Minimum GIF animation delay
|
||||||
| font_serif | string | NULL | Default serif font |
|
send_referer | bool | true | Whether to send the referer HTTP header.
|
||||||
| | | | |
|
foreground_images | bool | true | Whether to fetch foreground images
|
||||||
| font_mono | string | NULL | Default monospace font
|
background_images | bool | true | Whether to fetch background images
|
||||||
| | | | |
|
animate_images | bool | true | Whether to animate images
|
||||||
| font_cursive | string | NULL | Default cursive font
|
enable_javascript | bool | false | Whether to execute javascript
|
||||||
| | | | |
|
script_timeout | int | 10 | Maximum time to wait for a script to run in seconds
|
||||||
| font_fantasy | string | NULL | Default fantasy font
|
expire_url | int | 28 | How many days to retain URL data for.
|
||||||
| | | | |
|
font_default | int | 0 | Default font family
|
||||||
| accept_language | string | NULL | Accept-Language header.
|
ca_bundle | string | NULL | ca-bundle location
|
||||||
| | | | |
|
ca_path | string | NULL | ca-path location
|
||||||
| accept_charset | string | NULL | Accept-Charset header.
|
cookie_file | string | NULL | Cookie file location
|
||||||
| | | | |
|
cookie_jar | string | NULL | Cookie jar location
|
||||||
| memory_cache_size | int | 12MiB | Preferred maximum size of memory |
|
homepage_url | string | NULL | Home page location
|
||||||
| | | | cache in bytes. |
|
search_url_bar | bool | false | search web from url bar
|
||||||
| | | | |
|
search_provider | int | 0 | default web search provider
|
||||||
| disc_cache_size | uint | 1GiB | Preferred expiry size of disc |
|
url_suggestion | bool | true | URL completion in url bar
|
||||||
| | | | cache in bytes. |
|
window_x | int | 0 | default x position of new windows
|
||||||
| | | | |
|
window_y | int | 0 | default y position of new windows
|
||||||
| disc_cache_age | int | 28 | Preferred expiry age of disc |
|
window_width | int | 0 | default width of new windows
|
||||||
| | | | cache in days. |
|
window_height | int | 0 | default height of new windows
|
||||||
| | | | |
|
window_screen_width | int | 0 | width of screen when above options were saved
|
||||||
| block_advertisements | bool | false | Whether to block advertisements
|
window_screen_height | int | 0 | height of screen when above options were saved
|
||||||
| | | | |
|
toolbar_status_size | int | 6667 | default size of status bar vs. h scroll bar
|
||||||
| do_not_track | bool | false | Disable website tracking [1]
|
scale | int | 100 | default window scale
|
||||||
| | | | |
|
incremental_reflow | bool | true | Whether to reflow web pages while objects are fetching
|
||||||
| minimum_gif_delay | int | 10 | Minimum GIF animation delay
|
min_reflow_period | uint | 25 | Minimum time (in cs) between HTML reflows while objects are fetching
|
||||||
| | | | |
|
core_select_menu | bool | false | Use core selection menu
|
||||||
| send_referer | bool | true | Whether to send the referer HTTP |
|
|
||||||
| | | | header. |
|
|
||||||
| | | | |
|
|
||||||
| foreground_images | bool | true | Whether to fetch foreground images
|
|
||||||
| | | | |
|
|
||||||
| background_images | bool | true | Whether to fetch background images
|
|
||||||
| | | | |
|
|
||||||
| animate_images | bool | true | Whether to animate images
|
|
||||||
| | | | |
|
|
||||||
| enable_javascript | bool | false | Whether to execute javascript
|
|
||||||
| | | | |
|
|
||||||
| script_timeout | int | 10 | Maximum time to wait for a script|
|
|
||||||
| | | | to run in seconds |
|
|
||||||
| | | | |
|
|
||||||
| expire_url | int | 28 | How many days to retain URL data |
|
|
||||||
| | | | for. |
|
|
||||||
| | | | |
|
|
||||||
| font_default | int | 0 | Default font family
|
|
||||||
| | | | |
|
|
||||||
| ca_bundle | string | NULL | ca-bundle location
|
|
||||||
| | | | |
|
|
||||||
| ca_path | string | NULL | ca-path location
|
|
||||||
| | | | |
|
|
||||||
| cookie_file | string | NULL | Cookie file location
|
|
||||||
| | | | |
|
|
||||||
| cookie_jar | string | NULL | Cookie jar location
|
|
||||||
| | | | |
|
|
||||||
| homepage_url | string | NULL | Home page location
|
|
||||||
| | | | |
|
|
||||||
| search_url_bar | bool | false | search web from url bar
|
|
||||||
| | | | |
|
|
||||||
| search_provider | int | 0 | default web search provider
|
|
||||||
| | | | |
|
|
||||||
| url_suggestion | bool | true | URL completion in url bar
|
|
||||||
| | | | |
|
|
||||||
| window_x | int | 0 | default x position of new windows
|
|
||||||
| | | | |
|
|
||||||
| window_y | int | 0 | default y position of new windows
|
|
||||||
| | | | |
|
|
||||||
| window_width | int | 0 | default width of new windows
|
|
||||||
| | | | |
|
|
||||||
| window_height | int | 0 | default height of new windows
|
|
||||||
| | | | |
|
|
||||||
| window_screen_width | int | 0 | width of screen when above |
|
|
||||||
| | | | options were saved |
|
|
||||||
| | | | |
|
|
||||||
| window_screen_height | int | 0 | height of screen when above |
|
|
||||||
| | | | options were saved |
|
|
||||||
| | | | |
|
|
||||||
| toolbar_status_size | int | 6667 | default size of status bar vs. |
|
|
||||||
| | | | h scroll bar |
|
|
||||||
| | | | |
|
|
||||||
| scale | int | 100 | default window scale
|
|
||||||
| | | | |
|
|
||||||
| incremental_reflow | bool | true | Whether to reflow web pages while|
|
|
||||||
| | | | objects are fetching |
|
|
||||||
| | | | |
|
|
||||||
| min_reflow_period | uint | 25 | Minimum time (in cs) between HTML|
|
|
||||||
| | | | reflows while objects are fetching
|
|
||||||
| | | | |
|
|
||||||
| core_select_menu | bool | false | Use core selection menu |
|
|
||||||
| | | | |
|
|
||||||
+----------------------+--------+-----------+----------------------------------+
|
|
||||||
|
|
||||||
[1] http://www.w3.org/Submission/2011/SUBM-web-tracking-protection-20110224/#dnt-uas
|
[1] http://www.w3.org/Submission/2011/SUBM-web-tracking-protection-20110224/#dnt-uas
|
||||||
|
|
||||||
Fetcher options
|
Fetcher options
|
||||||
===============
|
===============
|
||||||
|
|
||||||
+--------------------------+------+------+-------------------------------------+
|
Option Key | Type | Default | Description
|
||||||
| Option Key | Type | Dflt | Description |
|
------------------------ | -----| ------- | -----------------------------------
|
||||||
+--------------------------+------+------+-------------------------------------+
|
max_fetchers | int | 24 | Maximum simultaneous active fetchers
|
||||||
| max_fetchers | int | 24 | Maximum simultaneous active fetchers|
|
max_fetchers_per_host | int | 5 | Maximum simultaneous active fetchers per host. (<=option_max_fetchers else it makes no sense) [2]
|
||||||
| | | | |
|
max_cached_fetch_handles | int | 6 | Maximum number of inactive fetchers cached. The total number of handles netsurf will therefore have open is this plus option_max_fetchers.
|
||||||
| max_fetchers_per_host | int | 5 | Maximum simultaneous active fetchers|
|
suppress_curl_debug | bool | true | Suppress debug output from cURL.
|
||||||
| | | | per host. (<=option_max_fetchers |
|
target_blank | bool | true | Whether to allow target="_blank"
|
||||||
| | | | else it makes no sense) [2] |
|
button_2_tab | bool | true | Whether second mouse button opens in new tab.
|
||||||
| | | | |
|
|
||||||
| max_cached_fetch_handles | int | 6 | Maximum number of inactive fetchers |
|
|
||||||
| | | | cached. The total number of handles|
|
|
||||||
| | | | netsurf will therefore have open is|
|
|
||||||
| | | | this plus option_max_fetchers. |
|
|
||||||
| | | | |
|
|
||||||
| suppress_curl_debug | bool | true | Suppress debug output from cURL. |
|
|
||||||
| | | | |
|
|
||||||
| target_blank | bool | true | Whether to allow target="_blank" |
|
|
||||||
| | | | |
|
|
||||||
| button_2_tab | bool | true | Whether second mouse button opens in|
|
|
||||||
| | | | new tab. |
|
|
||||||
| | | | |
|
|
||||||
+--------------------------+------+------+-------------------------------------+
|
|
||||||
|
|
||||||
[2] Note that rfc2616 section 8.1.4 says that there should be no more
|
[2] Note that rfc2616 section 8.1.4 says that there should be no more
|
||||||
than two keepalive connections per host. None of the main browsers
|
than two keepalive connections per host. None of the main browsers
|
||||||
@ -174,32 +96,18 @@ Fetcher options
|
|||||||
PDF / Print options
|
PDF / Print options
|
||||||
===================
|
===================
|
||||||
|
|
||||||
+------------------------+------+-------+--------------------------------------+
|
Option Key | Type | Deflt | Description
|
||||||
| Option Key | Type | Deflt | Description |
|
---------------------- | ---- | ----- | ------------------------------------
|
||||||
+------------------------+------+-------+--------------------------------------+
|
margin_top | int | 10 | top margin of exported page
|
||||||
| margin_top | int | 10 | top margin of exported page |
|
margin_bottom | int | 10 | bottom margin of exported page
|
||||||
| | | | |
|
margin_left | int | 10 | left margin of exported page
|
||||||
| margin_bottom | int | 10 | bottom margin of exported page |
|
margin_right | int | 10 | right margin of exported page
|
||||||
| | | | |
|
export_scale | int | 70 | scale of exported content
|
||||||
| margin_left | int | 10 | left margin of exported page |
|
suppress_images | bool | false | suppressing images in printed content
|
||||||
| | | | |
|
remove_backgrounds | bool | false | turning off all backgrounds for printed content
|
||||||
| margin_right | int | 10 | right margin of exported page |
|
enable_loosening | bool | true | turning on content loosening for printed content
|
||||||
| | | | |
|
enable_PDF_compression | bool | true | compression of PDF documents
|
||||||
| export_scale | int | 70 | scale of exported content |
|
enable_PDF_password | bool | false | setting a password and encoding PDF documents
|
||||||
| | | | |
|
|
||||||
| suppress_images | bool | false | suppressing images in printed content|
|
|
||||||
| | | | |
|
|
||||||
| remove_backgrounds | bool | false | turning off all backgrounds for |
|
|
||||||
| | | | printed content |
|
|
||||||
| | | | |
|
|
||||||
| enable_loosening | bool | true | turning on content loosening for |
|
|
||||||
| | | | printed content |
|
|
||||||
| | | | |
|
|
||||||
| enable_PDF_compression | bool | true | compression of PDF documents |
|
|
||||||
| | | | |
|
|
||||||
| enable_PDF_password | bool | false | setting a password and encoding PDF |
|
|
||||||
| | | | documents |
|
|
||||||
+------------------------+------+-------+--------------------------------------+
|
|
||||||
|
|
||||||
System colours
|
System colours
|
||||||
==============
|
==============
|
||||||
@ -207,35 +115,33 @@ System colours
|
|||||||
These are the css system colours which the browser also uses to style
|
These are the css system colours which the browser also uses to style
|
||||||
generated output.
|
generated output.
|
||||||
|
|
||||||
+--------------------------------+--------+------------+
|
Option Key | Type | Default
|
||||||
| Option Key | Type | Default |
|
------------------------------ | ------ | ----------
|
||||||
+--------------------------------+--------+------------+
|
sys_colour_ActiveBorder | colour | 0x00d3d3d3
|
||||||
| sys_colour_ActiveBorder | colour | 0x00d3d3d3 |
|
sys_colour_ActiveCaption | colour | 0x00f1f1f1
|
||||||
| sys_colour_ActiveCaption | colour | 0x00f1f1f1 |
|
sys_colour_AppWorkspace | colour | 0x00f1f1f1
|
||||||
| sys_colour_AppWorkspace | colour | 0x00f1f1f1 |
|
sys_colour_Background | colour | 0x006e6e6e
|
||||||
| sys_colour_Background | colour | 0x006e6e6e |
|
sys_colour_ButtonFace | colour | 0x00f9f9f9
|
||||||
| sys_colour_ButtonFace | colour | 0x00f9f9f9 |
|
sys_colour_ButtonHighlight | colour | 0x00ffffff
|
||||||
| sys_colour_ButtonHighlight | colour | 0x00ffffff |
|
sys_colour_ButtonShadow | colour | 0x00aeaeae
|
||||||
| sys_colour_ButtonShadow | colour | 0x00aeaeae |
|
sys_colour_ButtonText | colour | 0x004c4c4c
|
||||||
| sys_colour_ButtonText | colour | 0x004c4c4c |
|
sys_colour_CaptionText | colour | 0x004c4c4c
|
||||||
| sys_colour_CaptionText | colour | 0x004c4c4c |
|
sys_colour_GrayText | colour | 0x00505050
|
||||||
| sys_colour_GrayText | colour | 0x00505050 |
|
sys_colour_Highlight | colour | 0x00c00800
|
||||||
| sys_colour_Highlight | colour | 0x00c00800 |
|
sys_colour_HighlightText | colour | 0x00ffffff
|
||||||
| sys_colour_HighlightText | colour | 0x00ffffff |
|
sys_colour_InactiveBorder | colour | 0x00f1f1f1
|
||||||
| sys_colour_InactiveBorder | colour | 0x00f1f1f1 |
|
sys_colour_InactiveCaption | colour | 0x00e6e6e6
|
||||||
| sys_colour_InactiveCaption | colour | 0x00e6e6e6 |
|
sys_colour_InactiveCaptionText | colour | 0x00a6a6a6
|
||||||
| sys_colour_InactiveCaptionText | colour | 0x00a6a6a6 |
|
sys_colour_InfoBackground | colour | 0x008fdfef
|
||||||
| sys_colour_InfoBackground | colour | 0x008fdfef |
|
sys_colour_InfoText | colour | 0x00000000
|
||||||
| sys_colour_InfoText | colour | 0x00000000 |
|
sys_colour_Menu | colour | 0x00f1f1f1
|
||||||
| sys_colour_Menu | colour | 0x00f1f1f1 |
|
sys_colour_MenuText | colour | 0x004e4e4e
|
||||||
| sys_colour_MenuText | colour | 0x004e4e4e |
|
sys_colour_Scrollbar | colour | 0x00cccccc
|
||||||
| sys_colour_Scrollbar | colour | 0x00cccccc |
|
sys_colour_ThreeDDarkShadow | colour | 0x00aeaeae
|
||||||
| sys_colour_ThreeDDarkShadow | colour | 0x00aeaeae |
|
sys_colour_ThreeDFace | colour | 0x00f9f9f9
|
||||||
| sys_colour_ThreeDFace | colour | 0x00f9f9f9 |
|
sys_colour_ThreeDHighlight | colour | 0x00ffffff
|
||||||
| sys_colour_ThreeDHighlight | colour | 0x00ffffff |
|
sys_colour_ThreeDLightShadow | colour | 0x00ffffff
|
||||||
| sys_colour_ThreeDLightShadow | colour | 0x00ffffff |
|
sys_colour_ThreeDShadow | colour | 0x00d5d5d5
|
||||||
| sys_colour_ThreeDShadow | colour | 0x00d5d5d5 |
|
sys_colour_Window | colour | 0x00f1f1f1
|
||||||
| sys_colour_Window | colour | 0x00f1f1f1 |
|
sys_colour_WindowFrame | colour | 0x004e4e4e
|
||||||
| sys_colour_WindowFrame | colour | 0x004e4e4e |
|
sys_colour_WindowText | colour | 0x00000000
|
||||||
| sys_colour_WindowText | colour | 0x00000000 |
|
|
||||||
+--------------------------------+--------+------------+
|
|
||||||
|
Loading…
Reference in New Issue
Block a user