logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

surf - simple webkit-based browser

Bugs

       Please report them!

                                                    surf-2.1                                             SURF(1)

Description

       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.

Environment

http_proxy
              If this variable is set and not empty upon startup, surf will use it as the http proxy.

Indicators Of Operation

       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

       cC    caret browsing

       gG    geolocation

       dD    disk cache

       iI    images

       sS    scripts

       mM    styles

       xX    custom certificates

       tT    strict TLS

Indicators Of Web Page

       The second part of the indicators specifies modes of the web page itself.

   Firstcharacter:encryption-      unencrypted

       T      encrypted (TLS)

       U      attempted encryption but failed

   Secondcharacter:proxying-      no proxy

       P      using proxy

Name

       surf - simple webkit-based browser

Options

-acookiepolicies
              Define the order of cookiepolicies.  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.

       -ccookiefile
              Specify the cookiefile to use.

       -Cstylefile
              Specify the user stylefile.  This does disable the site-specific styles.

       -d     Disable the disk cache.

       -D     Enable the disk cache.

       -exid 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).

       -rscriptfile
              Specify the user scriptfile.

       -s     Disable Javascript.

       -S     Enable Javascript.

       -t     Disable strict TLS check.

       -T     Enable strict TLS check.

       -uuseragent
              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.

       -zzoomlevel
              Specify the zoomlevel which surf should use.

See Also

dmenu(1),xprop(1),tabbed(1),xdotool(1)

Signals

       Surf will reload the current page on SIGHUP.

Synopsis

surf    [-bBdDfFgGiIkKmMnNpPsStTvwxX]   [-a cookiepolicies]   [-c cookiefile]   [-C stylefile]   [-e xid]
       [-r scriptfile] [-u useragent] [-z zoomlevel] [URI]

Usage

Escape Stops loading current page or stops download.

       Ctrl-h Walks back the history.

       Ctrl-l Walks forward the history.

       Ctrl-k Scrolls page upwards.

       Ctrl-j Scrolls page downwards.

       Ctrl-b Scroll up one whole page view.

       Ctrl-Space
              Scroll down one whole page view.

       Ctrl-i Scroll horizontally to the right.

       Ctrl-u Scroll horizontally to the left.

       Ctrl-Shift-korCtrl-+
              Zooms page in.

       Ctrl-Shift-jorCtrl--
              Zooms page out.

       Ctrl-Shift-q
              Resets Zoom.

       Ctrl-fandCtrl-/
              Opens the search-bar.

       Ctrl-n Go to next search result.

       Ctrl-Shift-n
              Go to previous search result.

       Ctrl-g Opens the URL-bar (requires dmenu installed).

       Ctrl-p Loads URI from primary selection.

       Ctrl-Shift-p
              Calls Printpage Dialog.

       Ctrl-r Reloads the website.

       Ctrl-Shift-r
              Reloads the website without using the cache.

       Ctrl-y Copies current URI to primary selection.

       Ctrl-t Display the current TLS certificate in a popup window.

       Ctrl-Shift-a
              Toggle through the the cookiepolicies.  This will not reload the page.

       Ctrl-Shift-b
              Toggle scrollbars. This will reload the page.

       Ctrl-Shift-c
              Toggle caret browsing. This will reload the page.

       Ctrl-Shift-d
              Toggle dark mode.

       Ctrl-Shift-i
              Toggle auto-loading of images. This will reload the page.

       Ctrl-Shift-m
              Toggle if the stylefile file should be loaded. This will reload the page.

       Ctrl-Shift-o
              Open the Web Inspector (Developer Tools) window for the current page.

       Ctrl-Shift-s
              Toggle script execution. This will reload the page.

       Ctrl-Shift-t
              Toggle strict TLS check. This will reload the page.

       F11    Toggle fullscreen mode.

See Also