Commit graph

134 commits

Author SHA1 Message Date
Christoph Lohmann
c2da2bae5d Major styles update.
In config.h there is now some styles array to apply site-specific styles.
This can be toggled using the -mM flags. If a stylefile is manually specified,
then this will overwrite everything.
2015-01-17 07:19:48 +01:00
Markus Teich
ea9d60c5c0 fix some indentation in config.def.h
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2014-02-28 18:16:22 +01:00
Christoph Lohmann
7ad886fb0b Change the accept no third party in the doc to the right meaning. 2014-01-30 20:57:24 +01:00
Christoph Lohmann
780cca964c Add a way to define the cookie policy.
This adds the -a flag to define a string of the toggle string for the cookie
policy modes. There is now a new »cookiepolicies« string in config.h and the
Mod+Shift+a now can toggle the policy but will not cause a reload, because
this would only add a burden when toggling through accept and not accept.

Thanks Quentin Rameau <quinq.ml@gmail.com> for the suggestions!
2014-01-30 20:36:06 +01:00
Christoph Lohmann
432f45a852 Add zoom level support. 2013-10-19 18:55:53 +02:00
Christoph Lohmann
237e10058a Add fullscreen mode as flag and config option. 2013-08-25 19:50:40 +02:00
Anselm R Garbe
7001df98d1 applied Nick's 96dpi patch, thanks 2013-07-20 08:52:10 +02:00
Christoph Lohmann
067c313e6c Allowing geo location policy decisions. 2013-04-28 21:26:56 +02:00
Christoph Lohmann
083ea8ecde Add an option to disable the indicators. 2013-04-14 14:26:44 +02:00
Nick White
a383964c95 Ensure curl follows redirects for downloads
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-03-31 11:57:34 +02:00
Alexander Sedov
e0e4a844f7 A typo in SETPROP macro: should be `printf %b'', not `printf''.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-03-30 06:49:57 +01:00
Alexander Sedov
f6dc8b2541 Fixed SETPROP() macro behaviour in config.def.h to handle escapes correctly.
xprop prints information in format PROPERTY(STRING) = "escaped string",
which causes problem with repeated Ctrl-F: any non-ascii turns into
\ooo\ooo, this later turns into \\ooo\\ooo, and so on. To de-escape
string, printf(1) is used, getting information from xargs -0; without -0
xargs will try to handle escapes by itself and also do shenanigans
with quotes, which is totally undesired.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-03-21 18:10:35 +01:00
Christoph Lohmann
d02f73d990 Adding a default font size option.
Thanks Alexander Sedov <alex0player@gmail.com>!
2013-03-14 06:35:42 +01:00
Christoph Lohmann
badb84387e Adding kiosk mode.
Thanks to Christian Hesse <mail@eworm.de>!
2013-03-11 21:26:22 +01:00
Carlos J. Torres
fe3bd631d4 disable/toggle scrollbars
* add flag to main
	* add flag to manual
	* add signal handler to block default scrollbar policy
	* add toggle of scrollbars (hacky - but no reload) with a twitch
	* add key map to manual
	* add commandline flag to children surfers
	* update TODO
	* sort stuff alphabetically for the style inquisition

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-02-25 13:42:19 +01:00
Christoph Lohmann
bd5bbb7fc3 Add a toggle command for the stylefile.
The patch adds some better formatting for the manpage too.

Thanks to Nick <suckless-dev@njw.me.uk> for the toggle patch!
2013-02-16 16:18:05 +01:00
Carlos J. Torres
ba634ea8e3 fix DOWNLOAD macro to use cookiefile variable
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-02-13 06:49:17 +01:00
Jens Nyberg
3c1ed5d56a Removed progress indicator
This removes the progress indicator and replaces it with
letters in the window title.

T/U: Trusted, Untrusted
P/-: Proxy, No proxy

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-02-12 21:10:43 +01:00
Christoph Lohmann
d6a3e28be2 Fixing cookie handling for https/http by using curl. 2013-02-02 15:42:09 +01:00
Christoph Lohmann
0415175e10 Making more than one Modkey to work in keys. 2013-01-26 16:00:52 +01:00
Christoph Lohmann
e784d925df Adding web inspector support to surf.
Thanks Gregor Best <gbe@ring0.de>!
2013-01-26 15:53:33 +01:00
Christoph Lohmann
a013f0857e Changing the default DOWNLOAD to use st. 2012-12-04 21:48:42 +01:00
Christoph Lohmann
0dfdb75804 Implementing fullscreen mode. Thanks Krol, Willem van de! 2012-12-03 21:19:16 +01:00
Christoph Lohmann
760f8f36de Resolving some conflicts in the shortcuts. 2012-12-02 22:48:41 +01:00
Christoph Lohmann
e96f191088 Making zoom available when used in tabbed. 2012-12-02 22:41:18 +01:00
Christoph Lohmann
5501d75d2c Fix some styling in the config.def.h, fix the DOWNLOAD macro and unify the
variable naming a bit.
2012-11-20 16:02:57 +01:00
Christoph Lohmann
a7ea753f93 Add a referer argument to the DOWNLOAD macro. Some sites need this. Thanks
Hiltjo Posthuma!
2012-11-20 11:53:29 +01:00
Christoph Lohmann
a4e1d552ca Useragent strings do not count anymore. This is adding some text so every
website (especially Google) is fooled to believe us to be compatible. The
right way seems to be to add Surf at the end and let the big guys handle their
useragent header war.
2012-11-16 22:31:36 +01:00
Christoph Lohmann
e7b36f693f Adding a surf-open.sh script for easier tabbed(1) integration. 2012-11-16 16:12:09 +01:00
Christoph Lohmann
d6bbef74fe Moving some preprocessor config options to the standard suckless style. 2012-11-16 10:53:30 +01:00
Christoph Lohmann
ba452c2e13 Adding back the Escape to stop loading the current page. Thanks Daniel Bainton
for the notice!
2012-11-16 10:42:30 +01:00
Christoph Lohmann
6d9d3ca4e1 Removing the insert mode. It will only confuse users. The stop() function is
kept like the eval() function because it could be used in config.h
2012-11-16 10:13:23 +01:00
Christoph Lohmann
c12b6499fe Enable the insert mode. Thanks to stanio@cs.tu-berlin.de! 2012-11-15 15:26:48 +01:00
Christoph Lohmann
a283fa4bc9 Importing the generic toggle patch of stanio@cs.tu-berlin.de. Thanks! 2012-11-15 14:52:22 +01:00
Christoph Lohmann
6aaaeb7267 Changing the config.def.h to fit the new buildpath() behaviour. 2012-10-31 21:16:12 +01:00
Christoph Lohmann
0b885f18e3 Add different progress colors when using proxy. 2012-10-31 20:46:38 +01:00
Christoph Lohmann
25ba840e4d Hiding the loading indicator when it is not used. Based on a patch from
http://xteddy.org/surf.html#toc5. Thanks!
2012-10-28 14:16:22 +01:00
Christoph Lohmann
3d3b105de7 Mod + '/' for search. 2012-10-28 14:03:00 +01:00
Troels Henriksen
bb01475018 Change horizontal scrolling to ^u and ^i, remove ^g scrolling. 2012-06-11 17:16:52 +02:00
Troels Henriksen
3083ef4031 Keybindings for scrolling left and right; code by stanio. 2012-05-31 11:46:24 +02:00
Troels Henriksen
7c7a3b58cf Add a variable in config.def.h for configuring spatial browsing. 2012-01-17 13:58:04 +01:00
Troels Henriksen
590a9bb19d Cleanup previous patch. 2011-11-05 12:06:08 +01:00
Troels Henriksen
df96fe4171 Use the surf user agent when downloading with wget. 2011-11-05 11:43:46 +01:00
Troels Henriksen
bc73b48743 Add SSL verification patch by Nick White. 2011-11-04 13:23:57 +01:00
pancake
62f54a3745 rename NOBACKGROUND to HIDE_BACKGROUND and use TRUE/FALSE instead of 0/1 2011-03-31 12:52:35 +02:00
Enno Boland (tox)
db72e066d1 using ctrl-f to find. 2010-06-25 09:42:58 +02:00
Enno Boland (tox)
54df460866 reverting sessiontime 2010-06-03 22:50:04 +02:00
Enno Boland (tox)
ca1c7f434b Adding Nibbles patch 2010-05-28 13:20:17 +02:00
Enno Boland (tox)
7330d0e261 Applying Nibbles download patch. Thanks! 2010-05-26 15:33:01 +02:00
Enno Boland (tox)
d46697044e changing user agent string as suggested by Marvin Vek 2010-05-25 10:34:43 +02:00
Enno Boland (tox)
36129338cf changing xprops 2010-05-17 11:45:28 +02:00
Enno Boland (tox)
0a6eafe077 dl is not needed anymore 2010-05-17 11:01:37 +02:00
Enno Boland (tox)
6376a30379 removing context-menu, downloading. 2010-05-17 10:58:08 +02:00
pancake
424936e96c Fix NOBACKGROUND meaning 2010-05-09 22:51:26 +02:00
Enno Boland (tox)
8acc31bbde changing default value of NOBACKGROUND 2010-05-09 22:46:22 +02:00
pancake
11039e5e2b Do not set cookie session time if set to 0
Add NOBACKGROUND config.def.h option
 - requires body {background-color} in style.css
 - fixes white background when loading pages
2010-05-08 21:43:53 +02:00
Enno Boland (tox)
0fb97666ec dl has to be a directory, not a file. 2010-01-04 14:39:40 +01:00
Enno Boland (tox)
b57eca1a2b SETPROP() macro shows now the current value in dwm. 2009-11-08 23:45:11 +01:00
Enno Boland (tox)
c00ee3eb78 changing SETPROP()-macro 2009-10-30 13:38:14 +01:00
Enno Boland (tox)
c30a95c635 quoting fix reported by Evan Gates. 2009-10-28 22:22:20 +01:00
Enno Boland (tox)
a9d733bd9f fixing downloads based on Evan Gates' patch. 2009-10-27 08:11:44 +01:00
Enno Boland (tox)
87563c7e9d fixing config.def.h 2009-10-21 09:25:09 +02:00
Enno Boland (tox)
52a9c8ca52 removing comments. 2009-10-20 23:54:37 +02:00
Enno Boland (tox)
e0a8f381b9 forgot to add config.def.h 2009-10-20 23:49:37 +02:00
Enno Boland (tox)
75cc43047f changing some labels in submenu. 2009-10-20 14:09:37 +02:00
Enno Boland (tox)
e9ee0940b7 Sessioncookies made persistant. 2009-10-17 12:41:40 +02:00
Enno Boland (tox)
7ffdcd756c small typo 2009-10-16 16:34:05 +02:00
Enno Boland (tox)
2eafff0e8b using char instead of gchar. 2009-10-16 16:33:18 +02:00
Enno Boland (tox)
b298d889de implementing user defined context menu 2009-10-16 15:35:11 +02:00
Enno Boland (tox)
e3690dffed renaming newproc to newwindow; make it usable within keys; begin implementing contextmenu 2009-10-16 14:19:25 +02:00
Enno Boland (tox)
533c8e5b35 better useragent string (for google-* and stuff) 2009-10-14 19:05:01 +02:00
Enno Boland (tox)
d97b8adfde changing useragent. 2009-10-14 16:28:00 +02:00
Enno Boland (tox)
0d28cf7458 making config-files configurable in config.h 2009-10-13 21:52:43 +02:00
Enno Boland (tox)
25b9ae3ce4 applied patch from arg. thanks :) 2009-09-17 01:09:00 +02:00
Enno Boland (tox)
2d83c719a2 removing unneeded background color. 2009-09-10 23:32:39 +02:00
Enno Boland (tox)
82b712fdf7 closing bars when unfocusing them. 2009-09-10 09:44:21 +02:00
Enno Boland (tox)
03afc9d985 making all keys lowercase using shiftmask to determinate. 2009-09-09 23:15:39 +02:00
Enno Boland (tox)
d67de3a9a0 added scrolling. 2009-09-09 21:58:13 +02:00
Enno Boland (tox)
e1078c3fb3 adding pancakes zoom fix. 2009-09-09 14:02:11 +02:00
Enno Boland (tox)
6c57c348ad preparing sourcecode feature coming with webkit-1.1.14. 2009-09-09 14:00:31 +02:00
Enno Boland (tox)
b2bbf9b35b rearranging config.def.h 2009-09-08 00:00:14 +02:00
Enno Boland (tox)
4cbfddf159 using simple strings for colors in config.h 2009-09-07 15:06:32 +02:00
Enno Boland (tox)
151d29c5c3 changing keybindings 2009-09-07 14:28:43 +02:00
Enno Boland (tox)
a1b70380db moving config.h to config.def.h. 2009-09-07 11:43:31 +02:00
Renamed from config.h (Browse further)