forked from alandmoore/wcgbrowser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwcgbrowser.yaml
230 lines (169 loc) · 8.95 KB
/
wcgbrowser.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
# This file uses yaml syntax
# Just like python, indentation is critical. Use a good text editor to hack on this.
# This is the "home page" for your kiosk. It will start here, and return here if reset
# Default: about:blank
start_url: "http://library.williamson-tn.org"
# The "whitelist" is a list of domains or hosts which will be matched against any requested url.
# If the hostname or domain name doesn't match an item on the list, the user gets the "Cannot go there" message
# see the readme file for more details on the whitelist's behavior
# The start_url host and bookmark hosts are automatically added to the whitelist.
# To disable whitelist filtering, just comment out whitelist, leave it empty, or specify use "False" as the value.
# To just whitelist the start_url host and bookmark url host(s), just put "True".
# Otherwise, specify a list of domains or hostnames to be added to the whitelist.
# Default: empty (disabled)
#whitelist: True
#whitelist: ["alandmoore.com", "my-content-host.example.com"]
# If your browser has to navigate to a password-protected site (e.g., htaccess), you can set a default
# username and password to use. The browser will silently send these whenever authentication is requested.
#default_user: user
#default_password: PaSsWoRd
# Proxy settings
# You can configure an HTTP proxy and port for the application to use; the format is <host>:<port>
# Alternately you can just do <host> to use the default port of 8080
# default: empty (no proxy)
#proxy_server: "192.168.1.1:3128"
# Timeout will either clear the history and reset the homepage, or close the program
# after this number of seconds of inactivity.
# behavior is set with "timeout_mode" (see below)
# Set to 0 to disable this feature
# Default: 0
timeout: 1800
# "timeout_mode" sets the behavior for the timeout feature
# Valid options are 'close', 'reset', or 'screensaver'
# 'close' will exit the program
# 'reset' will clear the history and go back to the start URL
# 'screensaver' will hide the navigation bar (if it exists), and take the browser
# to the screensaver_url. Any activity will take you back to the start_url from there.
# default is 'reset'
timeout_mode: 'reset'
# refresh_timer will refresh the browser window
# after this number of seconds.
# Set to 0 to disable this feature
# Default: 0
#refresh_timer: 10
# "screensaver_url" defines the URL the browser should go to in screensaver mode
# default is "about:blank"
#screensaver_url: 'http://lib.williamson-tn.org'
# "zoom factor" determines the ratio for text/image scaling (like hitting ctrl-+ or ctrl-- on most browsers).
# 1.0 is "unzoomed", 0.5 is half-size, 2.0 is double size, etc.
# Default: 1.0
#zoom_factor: 1.5
# "allow_popups" determines whether or not hyperlinks that try to open new browser windows/tabs will be honored or ignored.
# Default: False
#allow_popups: True
# "allow_plugins" determins if plugins like flash or java will be enabled. They must be installed seperately on the system, of course
# Default: False
#allow_plugins: True
# "ssl_mode" decides whether problems with ssl certificates will be ignored, or if an error will be shown
# Possible values are "ignore" and "strict"
# Default: "strict"
ssl_mode: "ignore"
# Set "fullscreen" to true to force the browser window fullscreen
# Default: False
fullscreen: False
# "window_size" sets the default size of the application window
# It can be a <width>x<height> value, like "800x600"
# or the word "max", in which case the window will maximize
# it is ignored if "fullscreen" is set (either in the config or commandline)
# default: None
#window_size: 'max'
# Set "navigation" to false to hide the top navigation bar. Note that this makes bookmarks basically useless, since they won't appear.
# Default: True
#navigation: True
# "navigation_layout" is a list which sets the order and presence of buttons on the navbar from left to right.
# Valid values include "back", "forward", "refresh", "stop", "zoom_in", "zoom_out", "bookmarks", "print", and "quit".
# "separator" will also add a separator line, and "spacer" will add an expanding spacer.
# Note that "print" will only show up if printing is enabled (allow_print), and "bookmarks" will only show up
# if bookmarks are defined.
# The default layout is ["back", "forward", "refresh", "stop", "zoom_in", "zoom_out", "separator", "bookmarks", "separator", "spacer", "quit"]
# Here's an alternative layout:
#navigation_layout: ["back", "forward", "refresh", "spacer", "bookmarks", "spacer", "quit"]
# "icon_theme" probably only works on Linux, but set it to an installed theme to set the icons for back/forward/reload/quit.
# The default is whatever your qt4 is set to use.
icon_theme: "oxygen"
# "stylesheet" will assign a QT stylesheet to the application. See examples for some style sheets.
# The default is empty, which will use the default system theme
#stylesheet: "examples/style.css"
# "quit_button_text" changes the text on the quit/reset button at the upper right
# default is "I'm Finished"
#quit_button_text: "Quit"
# "quit_button_mode" can be either 'close' or 'reset'
# 'close' will cause the button to exit the program
# 'reset' will simply clear the browser history and return to the main page.
# default behavior is 'reset'
#quit_button_mode: 'close'
# "page_unavailable_html" is the path to a *file* that contains html to be displayed whenever a page cannot be accessed,
# either because it's not available, or blocked due to security rules (whitelist, e.g.).
# The file should be on the local system, and only reference local resources (css, scripts, etc).
# It doesn't have to be a full page, or even HTML if you just want a simple text message.
# Leave it commented to use the default text built into the browser.
# Default: empty
#page_unavailable_html: "examples/custom404.html"
# "network_down_html" is the path to a *file* that contains html to be displayed whenever the start_url's host cannot be reached,
# which is very likely indicative of a network connectivity problem (rather than, say, a security restriction)
# The file should be on the local system, and only reference local resources (css, scripts, etc).
# It doesn't have to be a full page, or even HTML if you just want a simple text message.
# Leave it commented to use the default text built into the browser.
# Default: empty
#network_down_html: "examples/custom_network_down.html"
# Printing can be enabled by setting "allow_printing" to "True"
# When enabled, "print" will appear in the page's context menu.
# If "print" is included in the navigation layout, it will put a print button
# on the navigation bar too.
# Default: False
#allow_printing: True
# privacy_mode Configures whether or not "Private Browsing" mode is enabled on the webkit widget.
# Default: True
#privacy_mode: False
# Bookmarks are set in this structure. They will appear as buttons on the top navigation bar.
# Each bookmark entry takes this form (note the indentation):
#
# key:
# name: "&Button Label"
# url: "http://www.example.com"
# description: "A description of the website which will appear in the tooltip"
#
# Where "key" can be whatever you want -- most simply, a number. The bookmarks will be sorted by key before
# being displayed, so this allows you to control the order in which they appear.
#
# There is also an older, simpler syntax that just uses the key as the name. The downside
# is that you have no control over the order of the buttons.
#
# "&Button Label":
# url: "http://www.example.com"
# description: "A description of the website which will appear in the tooltip"
#
# The ampersand is optional, but if present the character following it will be the keyboard accelerator
# (e.g., in the example alt-B would activate the bookmark)
# Default: empty
bookmarks:
1:
name: "Catalog &Home"
url: "http://library.williamson-tn.org"
description: "Williamson County Public Library INNOPAC search"
2:
name: "&KidsOnline Catalog"
url: "http://library.williamson-tn.org:90"
description: "KidsOnline catalog"
3:
name: "Computer &Guest"
url: "https://library.williamson-tn.org/selfreg/webcomp"
description: "Computer Guest Pass Application"
4:
name: "Commission Forum"
url: "http://www.williamson-tn.org/commission"
description: "County Commission Public Forum"
# External Content
# If allow_external_content is set to True, clicking a link to an un-renderable MIME-type (PDF, for example)
# will try to open the content in a specified external application. If it's false, it will ignore the request.
# Default: False
#allow_external_content: True
# If you're allowing external content, then you need to specify what to do with a given MIME type.
# Otherwise, the user will get an error indicating the browser doesn't know what to do with it.
# Content handlers for external files can be specified here
# The format is
# "content-type": "program to open with"
# The filename of the downloaded data will be passed as an argument
content_handlers:
"application/pdf": "acroread"
"application/vnd.oasis.opendocument.text": "libreoffice"