# Surf (web browser)

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Surf_(web_browser)
> Markdown URL: https://mediated.wiki/source/Surf_(web_browser).md
> Source: https://en.wikipedia.org/wiki/Surf_(web_browser)
> Source revision: 1328027539
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{short description|Minimalist web browser based on WebKit/GTK}}
{{lowercase title}}
{{Use dmy dates|date=October 2019}}
{{Infobox web browser
| name                    = surf
| logo                    = Surf (web browser) logo.svg{{!}}class=skin-invert
| logo alt                = Word "surf" written in hand-made "angular" font
| screenshot              = Surf screenshot.png
| screenshot alt          = Screenshot of surf showing Wikipedia Main Page
| caption                 = surf does not include graphical control elements
| author                  = Christoph Lohmann
| developer               = Christoph Lohmann, Enno Boland, Troels Henriksen, et al.
| released                = {{Start date and age|2009|9|10|df=yes}}
| latest release version  = {{wikidata|property|preferred|reference|edit|Q18156733|P348|P548=Q2804309}}
| latest release date     = {{start date and age|{{wikidata|qualifier|Q18156733|P348|P548=Q2804309|P577}}}}
<!--
| latest preview version  = {{wikidata|property|preferred|reference|edit|Q18156733|P348|P548=Q51930650}}
| latest preview date     = {{start date and age|{{wikidata|qualifier|Q18156733|P348|P548=Q51930650|P577}}}}
-->
| programming language    = [C](/source/C_(programming_language))
| operating system        = [Unix-like](/source/Unix-like)
| engine                  = [WebKitGTK](/source/WebKitGTK)
| genre                   = [Minimalist](/source/Minimalism_(computing)) [web browser](/source/web_browser)
| license                 = [MIT](/source/MIT_License)
| website                 = {{URL|surf.suckless.org}}
}}

'''surf''' is a [minimalist](/source/minimalism_(computing)) [web browser](/source/web_browser) developed by [suckless.org](/source/suckless.org). The [user interface](/source/graphical_user_interface) does not include any [graphical control element](/source/graphical_control_element)s; it is controlled via [keyboard shortcuts](/source/keyboard_shortcuts) or external tools, which may manipulate its behavior by setting its [window's properties](/source/X_Window_System_core_protocol).

== Features ==
surf is intentionally limited in its set of features. The only graphical elements the browser has are the page view itself and, optionally, the scrollbars. The main functionality of the browser is implemented in third-party [WebKitGTK](/source/WebKitGTK) library, and the rest of the program only provides a window and a set of [XProperties](/source/X_Window_System_core_protocol) to control its behavior. While surf supports [cookies](/source/HTTP_cookie), it does not include some other common features of web browsers such as [tabbed browsing](/source/tab_(GUI)), [bookmark](/source/bookmark_(World_Wide_Web))s or [ad filtering](/source/ad_filtering), though all can be implemented with patches, scripts, or external programs, with instructions available in surf's homepage. Instead of an [address bar](/source/address_bar), the <code>_SURF_URI</code> XProperty has to be set to user-requested [uniform resource locator](/source/uniform_resource_locator) (''URL'') for the browser to follow it. By default, surf's configuration includes a [keyboard shortcut](/source/keyboard_shortcut) for calling the [dmenu](/source/dmenu) program to prompt the user for a URL.<ref name="rootcz-suckless-series" /><ref name="lwn-xxxterm" /><ref name="xakep-suckless" /><ref name="tr-see-surf" />

Most configuration of surf is performed by editing its configuration [header file](/source/header_file) in its [source code](/source/source_code), and then (re)[compiling](/source/compiler) it. Some settings can be changed without recompiling, via [command-line argument](/source/command-line_argument)s or hotkeys.<ref name="rootcz-suckless-series" /><ref name="xakep-suckless" />

== See also ==

*[Uzbl](/source/Uzbl) (discontinued)
*[xombrero](/source/xombrero) (discontinued)
*[qutebrowser](/source/qutebrowser)

== References ==

<references>
<ref name="lwn-xxxterm">{{citation |url=https://lwn.net/Articles/472006/ |title=Xxxterm: Surfing like a Vim pro |at=Comparison |first=Koen |last=Vervloesem |work=[LWN.net](/source/LWN.net) |date=14 December 2011 |access-date=13 July 2014}}</ref>
<ref name="rootcz-suckless-series">{{citation |url=http://www.root.cz/clanky/surf-minimalisticky-prohlizec-podle-pravidel-suckless/ |title=Surf: minimalistický prohlížeč podle pravidel Suckless |trans-title=Surf: minimalist browser from Suckless project |language=cs |first=Martin |last=Kopta |work=[Root.cz](/source/Root.cz) |date=16 June 2014 |access-date=13 July 2014}}</ref>
<ref name="tr-see-surf">{{citation |url=http://www.techrepublic.com/blog/linux-and-open-source/if-you-thought-uzbl-was-a-minimal-webkit-browser-you-should-see-surf/ |title=If you thought Uzbl was a minimal WebKit browser, you should see surf |first=Chad |last=Perrin |work=[TechRepublic](/source/TechRepublic) |date=6 June 2011 |access-date=13 July 2014 |archive-date=14 June 2014 |archive-url=https://web.archive.org/web/20140614162400/http://www.techrepublic.com/blog/linux-and-open-source/if-you-thought-uzbl-was-a-minimal-webkit-browser-you-should-see-surf/ |url-status=dead }}</ref>
<ref name="xakep-suckless">{{citation |title=Всё гениальное просто: переходим на софт проекта suckless.org |trans-title=Everything great is simple: transitioning to software from suckless.org |language=ru |first=Eugeniy |last=Zobnin |work=Xakep |issue=162 |volume=7 |pages=106–109 |date=July 2012}}</ref>
</references>

== External links ==

* {{official website|http://surf.suckless.org/}}

{{lightweight web browsers}}
{{web browsers}}

Category:2010 software
Category:Free software programmed in C
Category:Free web browsers
Category:POSIX web browsers
Category:Software based on WebKit
Category:Web browsers that use GTK
Category:Software using the MIT license

---
Adapted from the Wikipedia article [Surf (web browser)](https://en.wikipedia.org/wiki/Surf_(web_browser)) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Surf_(web_browser)?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
