surf - simple webkit-based browser
surf [-bBdDfFgGiIkKmMnNpPsStTvwxX]
[-a cookiepolicies] [-c cookiefile] [-C stylefile]
[-e xid] [-r scriptfile] [-u useragent]
[-z zoomlevel] [URI]
surf is a simple Web browser based on WebKit/GTK+. It is able to
display websites and follow links. It supports the XEmbed protocol which
makes it possible to embed it in another application. Furthermore, one can
point surf to another URI by setting its XProperties.
- -a cookiepolicies
- Define the order of cookie policies. The default is "@Aa"
but could be redefined in the config.h, with "A" meaning
to accept all cookies, "a" to deny all cookies and
"@", which tells surf to accept no third party cookies.
- -b
- Disable Scrollbars.
- -B
- Enable Scrollbars.
- -c cookiefile
- Specify the cookiefile to use.
- -C stylefile
- Specify the user stylefile. This does disable the site-specific
styles.
- -d
- Disable the disk cache.
- -D
- Enable the disk cache.
- -e xid
- Reparents to window specified by xid.
- -f
- Start surf in windowed mode (not fullscreen).
- -F
- Start surf in fullscreen mode.
- -g
- Disable giving the geolocation to websites.
- -G
- Enable giving the geolocation to websites.
- -i
- Disable Images.
- -I
- Enable Images.
- -k
- Disable kiosk mode (disable key strokes and right click).
- -K
- Enable kiosk mode (disable key strokes and right click).
- -m
- Disable application of user style sheets.
- -M
- Enable application of user style sheets.
- -n
- Disable the Web Inspector (Developer Tools).
- -N
- Enable the Web Inspector (Developer Tools).
- -r scriptfile
- Specify the user scriptfile.
- -s
- Disable Javascript.
- -S
- Enable Javascript.
- -t
- Disable strict TLS check.
- -T
- Enable strict TLS check.
- -u useragent
- Specify the useragent which surf should use.
- -v
- Prints version information to standard output, then exits.
- -w
- Prints xid to standard output. This can be used to script the browser in
for example xdotool(1).
- -x
- Disable custom certificates.
- -X
- Enable custom certificates.
- -z zoomlevel
- Specify the zoomlevel which surf should use.
Surf is showing indicators of operation in front of the site
title. For all indicators, unless otherwise specified, a lower case letter
means disabled and an upper case letter means enabled.
- A
- all cookies accepted
- a
- no cookies accepted
- @
- all except third-party cookies accepted
- c C
- caret browsing
- g G
- geolocation
- d D
- disk cache
- i I
- images
- s S
- scripts
- m M
- styles
- f F
- frame flattening
- x X
- custom certificates
- t T
- strict TLS
The second part of the indicators specifies modes of the web page
itself.
- -
- unencrypted
- T
- encrypted (TLS)
- U
- attempted encryption but failed
- http_proxy
- If this variable is set and not empty upon startup, surf will use it as
the http proxy.
Surf will reload the current page on SIGHUP.